text stringlengths 3 1.05M |
|---|
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="ERROR">
<Appenders>
<RandomAccessFile name="RandomAccessFile" fileName="target/AsyncLoggerTest.log"
immediateFlush="false" append="false">
<PatternLayout>
<Pattern>%d %p %c{1.} [%t] %X{aKey} %location %m %ex%n</Pattern>
</Pa... |
import React from 'react'
import { hashHistory } from 'react-router'
class List extends React.Component {
render() {
const arr = [1, 2, 3]
return (
<ul>
{arr.map((item, index) => {
return <li key={index} onClick={this.clickHandler.bind(this, item)}>js... |
package org.kohsuke.stapler.jelly.groovy;
import groovy.lang.GroovyObject;
/**
* Typed interface to provide auto-completion for IDEs when invoking taglibs.
*
* Subtype must have the {@link TagLibraryUri} annotation
*
* @author Kohsuke Kawaguchi
*/
public interface TypedTagLibrary extends GroovyObject {
}
|
<!doctype html>
<html lang="en">
<head>
<title>Code coverage report for mute.js</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="../prettify.css" />
<link rel="stylesheet" href="../base.css" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type='text/cs... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
QUnit.test('methods#rotateTo', function (assert) {
var done = assert.async();
var util = window.Util;
var image = util.createImage();
assert.expect(4);
return new Cropper(image, {
ready: function () {
var cropper = this.cropper;
assert.strictEqual(cropper.rotateTo(360).getImageData().rotate... |
FROM openshift/origin-base
RUN yum -y install kmod keepalived iproute psmisc nc net-tools && \
yum clean all
ADD conf/ /var/lib/openshift/ipfailover/keepalived/conf/
ADD lib/ /var/lib/openshift/ipfailover/keepalived/lib/
ADD bin/ /var/lib/openshift/ipfailover/keepalived/bin/
ADD monitor.sh /var/lib/openshift/ip... |
function takeScreenshot(onScreenshot) {
console.log('Taking screenshot.');
chrome.tabs.captureVisibleTab(null, {format: 'png'}, function(img) {
console.log('Got screenshot, returning...');
onScreenshot(img);
});
}
chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) {
if (changeInfo.statu... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
$lang['ftp_no_connection'] = 'Unable to locate a valid connection ID. Please make sure you are connected before performing any file routines.';
$lang['ftp_unable_to_connect'] = 'Unable to connect to your FTP server using the supplied hostname.';
... |
namespace Geometry
{
class ParticleSystem : public Geometry
{
public:
ParticleSystem();
~ParticleSystem();
void SetVelocities(Eigen::MatrixXf & pVelocities);
void SetMasses(Eigen::MatrixXf & pMasses);
void SetForces(Eigen::MatrixXf & pForces);
Eigen::MatrixXf & GetVelocities(void);
Eigen::MatrixXf & ... |
// Copyright: Hiroshi Ichikawa <http://gimite.net/en/>
// License: New BSD License
// Reference: http://dev.w3.org/html5/websockets/
// Reference: http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol
(function() {
if ('undefined' == typeof window || window.WebSocket) return;
var console = window.console... |
# Adding your module
Making your module work with the User Guide is simple.
First, copy this config and place in it `<module>/config/userguide.php`, replacing anything in `<>` with the appropriate values:
return array
(
// Leave this alone
'modules' => array(
/*
* The path to this module's userguide pa... |
<?xml version="1.0" encoding="iso-8859-1"?>
<!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" xml:lang="en" lang="en">
<head>
<title>Class: ActionView::TemplateHandlers::ErubisHandler</title>... |
import os
import shutil
from utils import files_in_dir
from utils import get_test_dirs
import filters
from pygments import highlight
from pygments import lexers
from pygments.formatters import NullFormatter
def generate_anything_from_source(pv, dirname, contentdir, callback):
"""
Traverse a given directo... |
FROM balenalib/jetson-nano-fedora:35-run
# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
RUN dnf install -y \
python3-pip \
python3-dbus \
&& dnf clean all
# install "virtualenv", since the vast majori... |
'use strict';
const models = require('./index');
/**
* Configure pairing input properties.
*
*/
class CreateProtectionContainerMappingInputProperties {
/**
* Create a CreateProtectionContainerMappingInputProperties.
* @member {string} [targetProtectionContainerId] The target unique
* protection contai... |
/* This file contains the declaration for the OTA Requestor interface.
* Any implementation of the OTA Requestor must implement this interface.
*/
#include <app-common/zap-generated/cluster-objects.h>
#include <app/util/af-enums.h>
#include <lib/core/ClusterEnums.h>
#pragma once
namespace chip {
namespace app {... |
'use strict';
/**
* Module dependencies
*/
var path = require('path'),
config = require(path.resolve('./config/config'));
/**
* Histories module init function.
*/
module.exports = function (app, db) {
};
|
module.exports = Yallist
Yallist.Node = Node
Yallist.create = Yallist
function Yallist (list) {
var self = this
if (!(self instanceof Yallist)) {
self = new Yallist()
}
self.tail = null
self.head = null
self.length = 0
if (list && typeof list.forEach === 'function') {
list.forEach(function (it... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
// ------------------------------------------------------------------------
/**
* CodeIgniter Memcached Caching Class
*
* @package CodeIgniter
* @subpackage Libraries
* @category Core
* @author ExpressionEngine Dev Team
* @link
*... |
package com.dianping.cat.consumer.state;
import java.util.ArrayList;
import java.util.List;
import org.unidal.lookup.annotation.Inject;
import org.unidal.lookup.configuration.AbstractResourceConfigurator;
import org.unidal.lookup.configuration.Component;
import com.dianping.cat.Constants;
import com.dianping.cat.ana... |
/*
*/
package com.udfv.udf200;
import java.io.*;
import java.util.*;
import org.w3c.dom.*;
import com.udfv.core.*;
import com.udfv.util.*;
import com.udfv.encoding.*;
import com.udfv.access.*;
import com.udfv.exception.*;
import com.udfv.ecma167.*;
/**
no documents.(AUTOMATICALY GENERATED)
<dl>
<dt>フィールド一覧</dt>
<d... |
<!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_65) on Tue Jun 23 19:39:40 MSK 2015 -->
<TITLE>
KNearest
</TITLE>
<META NAME="date" CONTENT="2015-06-23">
<LINK REL ="stylesheet" TYPE="text/css" H... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using JSIL.Ast;
using JSIL.Internal;
using Mono.Cecil;
namespace JSIL.Transforms {
public class IntroduceVariableReferences : JSAstVisitor {
public const bool Tracing = false;
public read... |
.oo-ui-icon-arrowNext {
background-image: /* @embed */ url(themes/mediawiki/images/icons/arrow-rtl.png);
}
.oo-ui-icon-arrowNext-invert {
background-image: /* @embed */ url(themes/mediawiki/images/icons/arrow-rtl-invert.png);
}
.oo-ui-icon-arrowLast {
background-image: /* @embed */ url(themes/mediawiki/images/icons... |
package e2e
import (
"fmt"
"strings"
"time"
"k8s.io/kubernetes/pkg/api"
client "k8s.io/kubernetes/pkg/client/unversioned"
"k8s.io/kubernetes/pkg/kubelet/api/v1alpha1/stats"
"k8s.io/kubernetes/pkg/util/sets"
"k8s.io/kubernetes/pkg/util/uuid"
"k8s.io/kubernetes/test/e2e/framework"
testutils "k8s.io/kubernet... |
require "spec_helper"
describe Mongoid::Changeable do
describe "#attribute_change" do
context "when the attribute has changed from the persisted value" do
context "when using the setter" do
let(:person) do
Person.new(title: "Grand Poobah").tap(&:move_changes)
end
befo... |
YUI.add('gallery-patch-350-swf-2529891', function(Y) {
var SWFPROTOTYPE = Y.SWF.prototype,
SWFINSTANCES = Y.SWF._instances,
SWFEVENTHANDLER = Y.SWF.eventHandler,
Event = Y.Event,
Escape = Y.Escape,
SWFDetect = Y.SWFDetect,
Lang = Y.Lang,
uA = Y.UA,
Node = Y.Node,
FLASH_CID = "clsid:... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Rssdp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Test.RssdpPortable
{
[TestClass]
public class CustomHttpHeaderTests
{
[TestMethod()]
public void CustomHttpHeader_CanCr... |
# 6.2.x API Reference
- [`Hapi.Server`](#hapiserver)
- [`new Server([host], [port], [options])`](#new-serverhost-port-options)
- [`createServer([host], [port], [options])`](#createserverhost-port-options)
- [Server options](#server-options)
- [`Server` properties](#server-properties)
- [`Server` me... |
<?php
// Heading
$_['heading_title'] = 'Products';
// Text
$_['text_success'] = 'Success: You have modified products!';
$_['text_list'] = 'Product List';
$_['text_add'] = 'Add Product';
$_['text_edit'] = 'Edit Product';
$_['text_plus'] = '+';
$_['... |
"""
Admin views for managing volumes.
"""
from django.core.urlresolvers import reverse # noqa
from django.utils.datastructures import SortedDict # noqa
from django.utils.translation import ugettext_lazy as _ # noqa
from horizon import exceptions
from horizon import forms
from horizon import tables
from openstack_... |
``cassandra.connection`` - Low Level Connection Info
====================================================
.. module:: cassandra.connection
.. autoexception:: ConnectionException ()
.. autoexception:: ConnectionShutdown ()
.. autoexception:: ConnectionBusy ()
.. autoexception:: ProtocolError ()
|
package org.apache.wicket.markup.html.image;
import org.apache.wicket.Component;
import org.apache.wicket.behavior.Behavior;
import org.apache.wicket.markup.ComponentTag;
import org.apache.wicket.model.IModel;
import org.apache.wicket.model.Model;
import org.apache.wicket.request.UrlUtils;
import org.apache.... |
<application>
<component name="ProjectJdkTable">
<jdk version="2">
<name value="1.8" />
<type value="JavaSDK" />
<version value="java version "1.8.0_74"" />
<homePath value="/Library/Java/JavaVirtualMachines/jdk1.8.0_74.jdk/Contents/Home" />
<roots>
<annotationsPath... |
namespace clangmm {
class Token {
friend class Tokens;
public:
enum Kind {
Punctuation,
Keyword,
Identifier,
Literal,
Comment
};
private:
Token(CXTranslationUnit &cx_tu, CXToken &cx_token, CXCursor &cx_cursor):
cx_tu(cx_tu), cx_token(cx_token), cx_cursor(cx_cur... |
package org.sakaiproject.jsf.renderer;
import java.io.IOException;
import java.util.Map;
import javax.faces.component.UIComponent;
import javax.faces.component.UIOutput;
import javax.faces.component.UIViewRoot;
import javax.faces.context.FacesContext;
import javax.faces.context.ResponseWriter;
import javax.faces.ren... |
package org.apache.cassandra.db.index.sasi;
import java.util.List;
import java.util.Set;
import java.util.concurrent.*;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.atomic.AtomicLong;
import org.apache.cassandra.config.DatabaseDescriptor;
import org.apache.cassandra.db.index.sasi.dis... |
namespace browser_sync {
// TODO(zea): Rename this and ExtensionSettingsDTC to ExtensionOrApp*, since
// both actually handle the APP datatypes as well.
class ExtensionDataTypeController : public UIDataTypeController {
public:
ExtensionDataTypeController(
syncer::ModelType type, // Either EXTENSIONS or APPS.... |
/**
* @license AngularJS v1.1.4
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {
'use strict';
/**
* @ngdoc overview
* @name ngMobile
* @description
*/
/*
* Touch events and other mobile helpers by Braden Shepherdson (braden.shepherdson@gmail.com)
*... |
package org.springframework.boot.context.configwarnings;
import org.springframework.context.annotation.Configuration;
@Configuration
public class InDefaultPackageWithoutScanConfiguration {
}
|
#!/usr/bin/env bash
set -e
if [[ "$OSTYPE" == "darwin"* ]]; then
realpath() { [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"; }
ROOT=$(dirname $(dirname $(realpath "$0")))
else
ROOT=$(dirname $(dirname $(readlink -f $0)))
# --disable-setuid-sandbox: setuid sandboxes requires root and is used in containers so we... |
Generally the icons are created in .svg, because it is a nicer format. Then we can easily convert them to .png as required.
Using imagemagick; mogrify:
mogrify -background none -format png *.svg
|
<a href='https://github.com/angular/angular.js/edit/v1.3.x/src/ng/sce.js?message=docs($sceProvider)%3A%20describe%20your%20change...#L372' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit"> </i>Improve this Doc</a>
<a href='https://github.com/angular/angular.js/tree/v1.3.2/src/ng/sce.js#L... |
<?php
namespace JMS\Serializer\Tests\Fixtures;
use JMS\Serializer\Annotation\XmlValue;
/** Dummy */
class InvalidUsageOfXmlValue
{
/** @XmlValue */
private $value = 'bar';
private $element = 'foo';
}
|
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v3.3.2
* @link http://www.ag-grid.com/
* @license MIT
*/
var events_1 = require("../events");
var utils_1 = require("../utils");
var ComponentUtil = (function () {
function ComponentUtil() {
... |
package com.squareup.wire;
import java.io.IOException;
import java.net.ProtocolException;
public enum FieldEncoding {
VARINT(0), FIXED64(1), LENGTH_DELIMITED(2), FIXED32(5);
private final int value;
FieldEncoding(int value) {
this.value = value;
}
static FieldEncoding get(int value) throws IOExcepti... |
# grunt-contrib-jshint [](http://travis-ci.org/gruntjs/grunt-contrib-jshint)
> Validate files with JSHint.
## Getting Started
This plugin requires Grunt `~0.4.0`
If you haven't used [Grunt](http://gruntjs.com/) before, be s... |
package org.apache.storm.maven.plugin.versioninfo;
import java.io.File;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import jav... |
package cmd
import (
"fmt"
"io"
"os"
"strconv"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/kubectl/cmd/templates"
cmdutil "k8s.io/kubernetes/pkg/kubectl/cmd/util"
"k8s.io/kubernetes/pkg/kubectl/resource"
"github.com/daviddengcn/go-colortext"
"github.com/spf13/cobra"
)
var (
longDescr = templates... |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
;(function (factory) {
var objectTypes = {
'boolean': false,
'function': true,
'object': true,
'number': false,
'string': false,
'unde... |
namespace Exceptions_Homework
{
using System;
public class ExamResult
{
private int grade;
private int minGrade;
private int maxGrade;
private string comments;
public ExamResult(int grade, int minGrade, int maxGrade, string comments)
{
if (ma... |
<?php
namespace Illuminate\Cache;
use Illuminate\Contracts\Cache\Store;
class ApcStore extends TaggableStore implements Store
{
use RetrievesMultipleKeys;
/**
* The APC wrapper instance.
*
* @var \Illuminate\Cache\ApcWrapper
*/
protected $apc;
/**
* A string that should be ... |
require "abstract_unit"
require "active_support/core_ext/array"
require "active_support/core_ext/enumerable"
Payment = Struct.new(:price)
ExpandedPayment = Struct.new(:dollars, :cents)
class SummablePayment < Payment
def +(p) self.class.new(price + p.price) end
end
class EnumerableTests < ActiveSupport::TestCase
... |
// Type definitions for MongoDB
// Project: https://github.com/mongodb/node-mongodb-native
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
// Documentation : http://mongodb.github.io/node-mongodb-native/
/// <reference path='../node/node... |
/**
* \addtogroup uip
* {@
*/
/**
* \defgroup uiparch Architecture specific uIP functions
* @{
*
* The functions in the architecture specific module implement the IP
* check sum and 32-bit additions.
*
* The IP checksum calculation is the most computationally expensive
* operation in the TCP/IP... |
package org.apache.hadoop.hdfs.server.datanode.metrics;
import com.google.common.annotations.VisibleForTesting;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Maps;
import org.apache.hadoop.classification.InterfaceAudience;
import org.apache.hadoop.classification.InterfaceStability;
i... |
package org.apache.nifi.authorization;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class TestUser {
@Test
public void testSimpleCreation() {
final String identifier = "1";
final String identity = "user1";
final String group1 = "group1";
final S... |
package io.dummymaker.generator.simple.time;
import io.dummymaker.annotation.complex.GenTime;
import io.dummymaker.generator.ITimeGenerator;
import java.time.LocalDateTime;
import java.time.YearMonth;
import org.jetbrains.annotations.NotNull;
/**
* Generates LocalDateTime from 1970 to 3000 (exclusive) year with seco... |
//*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICU... |
package com.siyeh.ig.fixes.controlflow;
import com.siyeh.ig.IGQuickFixesTestCase;
import com.siyeh.ig.controlflow.TrivialIfInspection;
public class TrivialIfFixTest extends IGQuickFixesTestCase {
@Override
protected void setUp() throws Exception {
super.setUp();
myFixture.enableInspections(new TrivialIf... |
cask 'pdfexpert' do
version :latest
sha256 :no_check
# readdle-test-binaries.s3.amazonaws.com was verified as official when first introduced to the cask
url 'https://readdle-test-binaries.s3.amazonaws.com/release/PDFExpert.dmg'
name 'PDF Expert'
homepage 'https://pdfexpert.com/'
app 'PDF Expert.app'
end... |
ACCEPTED
#### According to
Interim Register of Marine and Nonmarine Genera
#### Published in
null
#### Original name
null
### Remarks
null |
package test.nested;
import java.nio.charset.Charset;
import org.apache.commons.codec.binary.Base64;
import test.JarClass;
// this file greets in Base64
public class NestedJarClass extends JarClass {
public static final String GREETINGS = "Hello from MavenImporter imported nested class";
@Override
pub... |
using namespace UnitTest;
namespace {
TEST(ReportAssertThrowsAssertException)
{
bool caught = false;
try
{
ReportAssert("", "", 0);
}
catch(AssertException const&)
{
caught = true;
}
CHECK (true == caught);
}
TEST(ReportAssertSetsCorrectInfoInEx... |
"use strict";
/**
* @fileOverview The logging system for papyrus is based on [http://pimterry.github.io/loglevel/](loglevel) and slightly decorated
* @module utils/logger
* @requires dcl
* @requires loglevel
*/
var dcl = require( "dcl" );
var log = require( 'loglevel' );
/**
* A logger class that yo... |
var ImageDialog = {
preInit : function() {
var url;
tinyMCEPopup.requireLangPack();
if (url = tinyMCEPopup.getParam("external_image_list_url"))
document.write('<script language="javascript" type="text/javascript" src="' + tinyMCEPopup.editor.documentBaseURI.toAbsolute(url) + '"></script>');
},
init : fun... |
# include "private/gc_priv.h"
# ifdef PCR
/*
* Note that POSIX PCR requires an ANSI C compiler. Hence we are allowed
* to make the same assumption here.
* We wrap all of the allocator functions to avoid questions of
* compatibility between the prototyped and nonprototyped versions of the f
*/
# include "config/... |
package tiller
import (
ctx "golang.org/x/net/context"
"k8s.io/helm/pkg/proto/hapi/services"
"k8s.io/helm/pkg/version"
)
// GetVersion sends the server version.
func (s *ReleaseServer) GetVersion(c ctx.Context, req *services.GetVersionRequest) (*services.GetVersionResponse, error) {
v := version.GetVersionProt... |
package kubectl
import (
"fmt"
"io/ioutil"
"net/http"
"net/http/httptest"
"net/url"
"path/filepath"
"strings"
"testing"
)
func TestFileServing(t *testing.T) {
const (
fname = "test.txt"
data = "This is test data"
)
dir, err := ioutil.TempDir("", "data")
if err != nil {
t.Fatalf("error creating tm... |
function ignoreMe() {
} |
using System.Web;
namespace Orchard.DisplayManagement.Implementation {
/// <summary>
/// Coordinates the rendering of shapes.
/// This interface isn't used directly - instead you would call through a
/// DisplayHelper created by the IDisplayHelperFactory interface
/// </summary>
public... |
namespace HanRuEdu.LDAL
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
[MetadataType(typeof(EDU_WZXT_MHXT_YQLJ_metadata))]
public partial class EDU_WZXT_MHXT_YQLJ
{
public EDU_WZXT_MHXT_YQLJ()
{
TITLE = "";
... |
// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: braces fieldsfirst space lnc
package com.hkh.ott123.util;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.jsoup.nodes.Element;
impo... |
/**
* @module ol/format/GeoJSON
*/
import Feature from '../Feature.js';
import GeometryCollection from '../geom/GeometryCollection.js';
import GeometryType from '../geom/GeometryType.js';
import JSONFeature from './JSONFeature.js';
import LineString from '../geom/LineString.js';
import MultiLineString from '../geom/... |
package com.amazonaws.services.elastictranscoder.model;
import java.io.Serializable;
import com.amazonaws.AmazonWebServiceRequest;
/**
* <p>
* The <code>ReadJobRequest</code> structure.
* </p>
*/
public class ReadJobRequest extends AmazonWebServiceRequest implements
Serializable, Cloneable {
/**
... |
"""
Handle a cash-on-delivery payment.
"""
from django.utils.translation import ugettext as _
from payment.modules.base import BasePaymentProcessor, ProcessorResult
class PaymentProcessor(BasePaymentProcessor):
"""COD Payment Processor"""
def __init__(self, settings):
super(PaymentProcessor, self).__i... |
package org.kaaproject.kaa.server.admin.client.mvp.place;
import com.google.gwt.place.shared.Prefix;
import org.kaaproject.kaa.server.admin.client.util.Utils;
import org.kaaproject.kaa.server.admin.shared.schema.EventClassViewDto;
import java.util.List;
public class EventClassPlace extends AbstractSchemaPlaceEven... |
ejb-multi-server: EJB Communication Across Servers
======================================================
Author: Wolf-Dieter Fink
Level: Advanced
Technologies: EJB, EAR
Summary: The `ejb-multi-server` quickstart shows how to communicate between multiple applications deployed to different servers using an EJB to ... |
name: customcommands
category: usage
tags: guide
index: 1
title: WebdriverIO - Custom Commands
---
Custom Commands
===============
If you want to extend the client with your own set of commands there is a method
called `addCommand` available from the client object. The following example shows
how to add a new command... |
<?php
namespace Symfony\Component\Serializer\Encoder;
use Symfony\Component\Serializer\Exception\RuntimeException;
/**
* Encoder delegating the decoding to a chain of encoders.
*
* @author Jordi Boggiano <j.boggiano@seld.be>
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
* @author Lukas Kahwe Smith <smi... |
<!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_07) on Tue Sep 18 21:25:58 EST 2012 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class com.p... |
namespace chromeos {
class NetworkState;
// This class handles all notifications about network changes from
// NetworkLibrary and delegates portal detection for the active
// network to CaptivePortalService.
class NetworkPortalDetector {
public:
enum CaptivePortalStatus {
CAPTIVE_PORTAL_STATUS_UNKNOWN = 0,
... |
namespace gfx {
static bool g_debugBindingsInitialized;
DriverEGL g_driver_egl;
void DriverEGL::InitializeStaticBindings() {
fn.eglBindAPIFn =
reinterpret_cast<eglBindAPIProc>(GetGLProcAddress("eglBindAPI"));
fn.eglBindTexImageFn = reinterpret_cast<eglBindTexImageProc>(
GetGLProcAddress("eglBindTexIma... |
"use strict";
exports.answer = 42;
exports.start = function () {
console.log('Starting the universe....');
}
|
"""Provides an interface to communicate with the device via the adb command.
Assumes adb binary is currently on system path.
Note that this module is deprecated.
"""
# TODO(jbudorick): Delete this file once no clients use it.
# pylint: skip-file
import collections
import datetime
import inspect
import logging
impor... |
package admission
import (
"io/ioutil"
"os"
"reflect"
"testing"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/util/json"
"k8s.io/apiserver/pkg/apis/apiserver"
apiserverapiv1alpha1 "k8s.io/apiserver/pkg/apis/apiserver/v1alpha1"
)
func TestReadAdmissionConfiguration(t *testing.T) {
// create a ... |
/*jshint asi:true,expr:true,unused:false,newcap:false*/
/*global Fixture,Fact,Skip,Trait,Async,Data,Assert,Mocks,Test,Record,Stubs,Import,ImportJson,MockedImport*/
/*
* Copyright (C) 2013 salesforce.com, inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in c... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Beih. Nova Hedwigia 96: 88 (1989)
#### Original name
Loweporus corticicola Corner
### Remarks
null |
package org.zmlx.hg4idea.provider.commit;
import com.intellij.openapi.vcs.changes.CommitExecutor;
import com.intellij.openapi.vcs.changes.CommitSession;
import org.jetbrains.annotations.Nls;
import org.jetbrains.annotations.NotNull;
/**
* @author Kirill Likhodedov
*/
public class HgCommitAndPushExecutor implements... |
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2012 JBoss Inc
~
~ 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
~
... |
from tapiriik.settings import WEB_ROOT, ENDOMONDO_CLIENT_KEY, ENDOMONDO_CLIENT_SECRET, SECRET_KEY
from tapiriik.services.service_base import ServiceAuthenticationType, ServiceBase
from tapiriik.services.interchange import UploadedActivity, ActivityType, ActivityStatistic, ActivityStatisticUnit, Waypoint, WaypointType, ... |
namespace Petstore.Models
{
using Microsoft.Rest;
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Xml;
using System.Xml.Linq;
/// <summary>
/// A pet
/// </summary>
/// <remarks>
/// A group of properties... |
module Fission
class Error < StandardError
attr_reader :orginal
def initialize(msg, original=$!)
super(msg)
@original = original; end
end
end
|
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2010 Mark Wyszomierski -->
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@color/white" >
<ListView ... |
(function (enyo, scope) {
/**
* {@link enyo.Scrim} provides an overlay that will prevent taps from propagating
* to the controls that it covers. A scrim may be "floating" or "non-floating".
* A floating scrim will fill the entire viewport, while a non-floating scrim will
* be constrained by the dimensions of its... |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports Microsoft.CodeAnalysis
Imports Microsoft.VisualStudio.LanguageServices.Implementation.SolutionExplorer
Imports Microsoft.VisualStudio.LanguageServices... |
static const char* createVariables = R"(
integer = 10
number = 2.5
char = 'a'
text = "hello"
boolean = true
table = {
100, 'hello', true,
a = 'a', b = 'b', c = 'c',
one = 1, two = 2, three = 3,
}
nested = { ["table"] = table }
nested.nested = nested
)";
/////////////////////////////////////////////////... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Owin;
using Microsoft.Owin;
[assembly: OwinStartup(typeof(Office365Contact.Startup))]
namespace Office365Contact {
public partial class Startup {
public void Configuration(IAppBuilder app)
{
ConfigureAuth(app)... |
#include "OgitorsPrerequisites.h"
#include "BaseEditor.h"
#include "NodeEditor.h"
#include "OgitorsRoot.h"
#include "OgitorsSystem.h"
#include "BillboardSetEditor.h"
using namespace Ogitors;
PropertyOptionsVector CBillboardSetEditorFactory::mBillboardTypes;
PropertyOptionsVector CBillboardSetEditorFactory::mBillboa... |