text stringlengths 3 1.05M |
|---|
Cucumber-Spring and Selenium
|
/**
* Product - Product infomation
*/
public class Product {
private String code;
private int price;
private String name;
private String description;
private Coupon[] coupons;
private int amount = 1;
/**
* Instantiates a new Product.
*
* @param _code the code
* ... |
// ==========================================================================
// SeqAn - The Library for Sequence Analysis
// ==========================================================================
// Copyright (c) 2006-2010, Knut Reinert, FU Berlin
// All rights reserved.
//
// Redistribution and us... |
div.tab_content table {
margin-bottom: 1em;
}
table.more_toc_options_table th, table.more_toc_options_table td {
padding: 0;
margin: 0;
}
table.more_toc_options_table th {
width: auto;
padding-right: 4px;
padding-top: 2px;
}
div.tab_content ul li {
margin-left: 2em;
list-style-type: disc;
}
div.tab_content ol l... |
App.Controllers.Helpers = can.Control.extend({
init: function() {
console.log('helpers');
},
'app.focus': function() {
},
'save.pane': function() {
}
}); |
python main.py --logs_dir=logs/log_100000 --optimizer=RMSProp --learning_rate=5e-5 --optimizer_param=0.9 --model=1 --iterations=1e5 --mode=visualize
|
package com.contrastsecurity.rO0;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.Vector;
public class RO0Config {
/** Flag indicating if reporting is enalbed or disabled. Enabled by default. **/
private boolean reportin... |
typedef int node_t;
typedef int edge_t;
class CGraph
{
public:
class CEdge
{
public:
node_t first;
node_t second;
float weight;
};
class CNode
{
public:
CNode()
{
seen = false;
path_from = ~0;
path_weight= 99999999999;
}
std::vector<edge_t> edges;
bool seen;
node_t path_from;
flo... |
<?xml version="1.0" encoding="UTF-8"?>
<!--********************************************************************
* Copyright (c) 2013-2015 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0 which
... |
```
npm install pure-typography-i
```
Than you can link the compiled css from the `dist`folder.
## Develop
```
$ git clone https://github.com/zsim0n/pure-typography.git
$ cd pure-typography
$ npm install
$ npm start
```
npm build scripts and live server included.
```
package.json
{
...
"autoprefixer": "postc... |
/**@file tsk_options.c
* @brief Options.
*
* @author Mamadou Diop <diopmamadou(at)doubango[dot]org>
*
*/
#include "tsk_options.h"
#include "tsk_memory.h"
#include "tsk_string.h"
#include "tsk_common.h"
#include <string.h>
/**@defgroup tsk_options_group Options.
*/
/** Predicate function used to find an optio... |
An Assertion that checks that the processor response code is one of a given set of valid HTTP status codes
[](https://travis-ci.org/testify/ValidHTTPStatusCodesAssertion)
|
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.
'use strict';
import * as CodeMirror
from 'codemirror';
// Bundle common modes
import 'codemirror/mode/python/python';
import 'codemirror/mode/javascript/javascript';
import 'codemirror/mode/css/css';
import 'code... |
from django.conf.urls import include, url
from django.contrib import admin
urlpatterns = [
url(r'^api/', include('api.urls', namespace='api')),
url(r'^accounts/', include('accounts.urls', namespace='accounts')),
url(r'^admin/', include(admin.site.urls)),
]
|
<?xml version="1.0" encoding="utf-8"?>
<ScadaSchemeEditorConfig>
<Param name="WebDir" value="/opt/scada/ScadaWeb/" descr="Web application directory" />
<Param name="Browser" value="Default" descr="Browser for scheme editing" />
</ScadaSchemeEditorConfig> |
SYNONYM
#### According to
Integrated Taxonomic Information System
#### Published in
null
#### Original name
null
### Remarks
null |
* {
box-sizing: border-box; }
html, body, #profile_map, #dashboard_map {
height: 100%;
margin: 0;
padding: 0; }
h1, h2, h3, h4, h5, h6 {
font-weight: 300;
font-family: "Lato", sans-serif; }
h1 {
font-size: 30px; }
h2.title-heading {
margin: 0 0 10px 0;
background-color: rgba(0, 0, 0, 0.6);
paddi... |
[](https://nodei.co/npm/swag/)
Swag is a growing collection of helpers for [Handlebars.js](https://github.com/wycats/handlebars.js/). Give your handlebars.js templates some swag son!
## Usage
<!-- Browser -->
<script src="../path_to/handle... |
"""
some API for Jalpc & personal usage
"""
from flask import Blueprint
api_1_0 = Blueprint('api_1_0', __name__)
from . import views, jalpc, hacker_news, authentication, errors
|
package com.ra4king.circuitsim.gui.peers.gates;
import java.util.ArrayList;
import java.util.List;
import com.ra4king.circuitsim.gui.ComponentPeer;
import com.ra4king.circuitsim.gui.Connection.PortConnection;
import com.ra4king.circuitsim.gui.GuiUtils;
import com.ra4king.circuitsim.gui.Properties;
import com.ra4king.... |
<?php
use Doctrine\Common\Annotations\AnnotationRegistry;
use Composer\Autoload\ClassLoader;
/**
* @var ClassLoader $loader
*/
$loader = require __DIR__.'/../vendor/autoload.php';
AnnotationRegistry::registerLoader(array($loader, 'loadClass'));
set_include_path(__DIR__.'/../vendor'.PATH_SEPARATOR.get_include_path... |
class Garment::Bra
# Styles
#
# barbaric_cups (Two half cups, joined with a thin leather strip)
# materials: fur, leather, studded-leather, iron-chainmail, iron-plate, steel-plate
#
# bikini
# materials: chainmail
#
def self.forge! data
garment = Garment.new data.merge(code:"bra", slot:"upper... |
Dependencies
------------
VexCL depends on [Boost](http://www.boost.org). In particular, you may need to
link to Boost.chrono, Boost.date_time, Boost.filesystem, Boost.system.
|
<?xml version="1.0" encoding="UTF-8"?>
<!--
*** GENERATED FROM project.xml - DO NOT EDIT ***
*** EDIT ../build.xml INSTEAD ***
For the purpose of easier reading the script
is divided into following sections:
- initialization
- compilation
- jar
- execution
- debugging
- javadoc
- test c... |
virtual void onFrontConnected() {};
virtual void onFrontDisconnected(int reqid) {};
virtual void onRspAuthenticate(const dict &data, const dict &error, int reqid, bool last) {};
virtual void onRspUserLogin(const dict &data, const dict &error, int reqid, bool last) {};
virtual void onRspUserPasswordUpdate(const dict... |
#include <config.h>
#include "ct_pawn.h"
#include "ct_utilities.h"
#include "ct_square.h"
#include "ct_piece.h"
#include "ct_position.h"
#include "ct_move_command.h"
#include "ct_move.h"
#include <stdlib.h> /* abs */
typedef struct CtPawnStruct
{
CtMoveCommand move_command;
CtPieceColor piece_colo... |
<!-- HTML header for doxygen 1.8.13-->
<!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"/>
<meta http-equiv="X-UA-Compatible" cont... |
require 'test_helper'
require 'rubycritic/source_control_systems/base'
require_relative 'interfaces/basic'
class DoubleTest < Minitest::Test
include BasicInterface
def setup
@system = RubyCritic::SourceControlSystem::Double.new
end
end
|
<?xml version="1.0" encoding="utf-8"?>
<AssetDeclaration xmlns="uri:ea.com:eala:asset">
<LogicCommand
Type="SPECIAL_POWER"
id="Command_SpecialPowerGuardShield">
<SpecialPower>SpecialPower_GuardShield</SpecialPower>
</LogicCommand>
<LogicCommand
Type="SPECIAL_POWER"
id="Command_SpecialPower_Fo... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateCoaCashFlowTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('coa_cash_flow', function ($table) {
$t... |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/background_fetch/background_fetch_delegate_impl.h"
#include "base/run_loop.h"
#include "base/time/time.h"
#include "chrome/brows... |
package me.tylerbwong.pokebase.model.components;
/**
* @author Tyler Wong
*/
public class TeamTest {
}
|
<?xml version="1.0" ?><!DOCTYPE TS><TS language="fr_CA" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Empyrean</source>
<translation>Au sujet de Empyrean</translation>
</message>
<message>
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>coquelicot: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.... |
<?php
namespace ForkCMS\Modules\MediaLibrary\Domain\MediaGroup\Exception;
class MediaGroupNotFound extends \Exception
{
public static function forEmptyId(): self
{
return new self('The id you have given is null');
}
public static function forId(string $id): self
{
return new self(... |
// Copyright 2014 The Bazel Authors. All rights reserved.
//
// 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 appl... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
package com.example.android.sunshine.app.data;
import android.net.Uri;
import android.test.AndroidTestCase;
/*
Students: This is NOT a complete test for the WeatherContract --- just for the functions
that we expect you to write.
*/
public class TestWeatherContract extends AndroidTestCase {
// intention... |
module Mutations
module MergeRequests
class Base < BaseMutation
include Gitlab::Graphql::Authorize::AuthorizeResource
include Mutations::ResolvesProject
argument :project_path, GraphQL::ID_TYPE,
required: true,
description: "The project the merge request to mutate ... |
<?php declare(strict_types=1);
namespace dw\template;
/**
* Defers parsing until the last moment. This is implemented by Script and Stylesheet actions.
* This allows us to wait and gather output.
*/
interface IIsLazyLoaded {
}
?> |
package org.springframework.metadata.commons;
import java.io.File;
import org.apache.commons.attributes.compiler.AttributeCompiler;
import org.apache.tools.ant.Project;
import org.apache.tools.ant.taskdefs.Javac;
import org.apache.tools.ant.types.FileSet;
import org.apache.tools.ant.types.Path;
import ... |
/*
Remember to compile try:
1) gcc hi.c -o hi -lX11
2) gcc hi.c -I /usr/include/X11 -L /usr/X11/lib -lX11
3) gcc hi.c -I /where/ever -L /who/knows/where -l X11
*/
/* include the X library headers */
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xos.h>
/* include some silly stuff */
#include <stdi... |
import { setField } from './index';
import { validateEmail } from './email';
import trim from 'trim';
const regExp = /^[a-zA-Z0-9_]{1,15}$/;
function validateUsername(str, validateFormat) {
if (!validateFormat) return trim(str).length > 0;
const result = regExp.exec(trim(str.toLowerCase()));
return result && r... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
<?php
require '../autoloader.php';
$router = new Yampee_Routing_Router();
$router->addRoute(new Yampee_Routing_Route(
'list', '/{page}/{id}/{slug}', 'actionName',
array(), array('page' => '\d+', 'id' => '\d+', 'slug' => '.+')
));
$currentRoute = $router->find('/1/1258/article-slug');
$currentAction = $currentRout... |
class AddRoleToUser < ActiveRecord::Migration[5.0]
def change
add_column :user, :role, :integer
end
end
|
<?xml version="1.0"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.outbrain.swinfra</groupId>
... |
<!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>PermissionIdResource | ringcentral-ts API Reference</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="s... |
<?php declare(strict_types=1);
$header = <<<'EOF'
This file is part of phpunit/php-file-iterator.
(c) Sebastian Bergmann <sebastian@phpunit.de>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
EOF;
$finder = PhpCsFixer\Finder::create()
->fil... |
package io.reactivex.subscribers;
import static org.junit.Assert.*;
import static org.mockito.Mockito.*;
import java.lang.reflect.*;
import java.util.concurrent.atomic.*;
import java.util.function.Consumer;
import org.junit.*;
import io.reactivex.exceptions.*;
public class SubscribersTest {
@Test
public ... |
import React from 'react';
import PropTypes from 'prop-types';
import SvgIcon from 'src/components/SvgIcon';
import styles from './styles.scss';
const Rating = (props) => {
const value = parseFloat(props.value);
const maximum = ~~props.maximum;
const fullStarsCount = Math.floor(value);
const halfStar = !!(valu... |
.. _auto_patch:
Automatically find and patch file functions and modules
=======================================================
The ``fake_filesystem_unittest`` module automatically finds all real file
functions and modules, and stubs them out with the fake file system functions and modules.
The pyfakefs source code c... |
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use ... |
<?php
declare(strict_types = 1);
namespace Innmind\AMQP\Model\Connection;
use Innmind\TimeContinuum\ElapsedPeriod;
final class TuneOk
{
private MaxChannels $maxChannels;
private MaxFrameSize $maxFrameSize;
private ElapsedPeriod $heartbeat;
public function __construct(
MaxChannels $maxChannel... |
// Copyright (c) 2011 Bob Berkebile (pixelplacment)
// Please direct any bugs/comments/suggestions to http://pixelplacement.com
//
// 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 r... |
package com.dounine.clouddisk360.pool;
import org.apache.http.HttpClientConnection;
import org.apache.http.HttpHost;
import org.apache.http.client.protocol.HttpClientContext;
import org.apache.http.config.Registry;
import org.apache.http.config.RegistryBuilder;
import org.apache.http.conn.ConnectTimeoutException;
impo... |
package org.jboss.weld.probe.tests.integration.deployment.beans;
import java.io.Serializable;
import javax.enterprise.context.SessionScoped;
import javax.enterprise.event.Event;
import javax.inject.Inject;
import org.jboss.weld.probe.tests.integration.deployment.annotations.Collector;
import org.jboss.weld.probe.te... |
<?php
use yii\db\Migration;
class m160118_193925_add_ticket_protocol_field extends Migration
{
public function up()
{
$this->addColumn('ticket', 'protocol', $this->text());
}
public function down()
{
echo "m160118_193925_add_ticket_protocol_fieldcannot be reverted.\n";
ret... |
module.exports = {
...require('gts/.prettierrc.json'),
};
|
<!-- **************************************************************************
#
# Copyright (C) 2004-2009 Oracle Corporation
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is availa... |
"""identify somatic variants in cancer samples
https://qcmg.org/bioinformatics/tiki-index.php?page=qSNP#EXAMPLES
"""
from __future__ import print_function
import os
import shutil
from re import sub
from bcbio import utils
from bcbio.distributed.transaction import file_transaction, tx_tmpdir
from bcbio.pipeline impor... |
// Package options contains flags and options for initializing an apiserver
package options
import (
"net"
"time"
utilnet "k8s.io/apimachinery/pkg/util/net"
genericoptions "k8s.io/apiserver/pkg/server/options"
"k8s.io/apiserver/pkg/storage/storagebackend"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/ap... |
// Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "shared_image_representation_skia_vk_ozone.h"
#include <utility>
#include "components/viz/common/gpu/vulkan_context_provider.h"
#include "compo... |
namespace lslboost
{
#if BOOST_WORKAROUND(BOOST_MSVC, == 1310)
namespace range_detail_vc7_1
{
template< typename C, typename Sig = void(C) >
struct range_iterator
{
typedef BOOST_RANGE_DEDUCED_TYPENAME
mpl::eval_if_c< is_const<C>::value,
... |
[](https://travis-ci.org/mainzed/labelingsystem-server)
The Labeling System offers experts the possibility to create concepts with context-bound validity, to concretize, to group in containers (vocabularies) and to share them with the... |
using namespace std;
// Déclarations des méthodes
void Initialiser ( void );
void Redimensionner ( int w, int h );
void RafraichirProjection( void );
void Liberer ( void );
void Dessiner ( void );
int main( int argc, char *argv[] )
{
// Traiter les arguments d'entrée
if( ar... |
(function ($) {
/**
* $.fn.autocomplete()
* Provides suggestions while you type into the field.
* NOTE: works only with JSON format!
*
* Options use like:
* $('#autocomplete').autocomplete({
* source: 'http://api.bing.com/osjson.aspx?JsonType=callback&JsonCallback=?',
* open: function(index, data) {
... |
MIT License
Copyright (c) 2017-2019 Markus Walther
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, modify, merge, publis... |
import React, { useEffect } from 'react';
import {
Breadcrumb,
BreadcrumbItem,
BreadcrumbLink,
Text,
} from '@chakra-ui/react';
import { MdPlayArrow, MdOutlineSchedule } from 'react-icons/md';
import { RiArrowGoBackFill } from 'react-icons/ri';
import { getMetaValue } from '../../utils';
import useSelection ... |
package com.cisco.axl.api._8;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for LLine complex type.
*
* <p>The following schema fragment specifies the ... |
'-------------------------------------------------------------------------------------------'
' Inicio del codigo
'-------------------------------------------------------------------------------------------'
' Importando librerias
'--------------------------------------------------------------------------------------... |
@implementation Mod_list
- (instancetype)initWithDic:(NSDictionary *)dic{
self = [super initWithDic:dic];
if (self) {
NSMutableArray *arrTemp = self.entity_list;
self.entity_list = [NSMutableArray array];
for (NSDictionary *dicT in arrTemp) {
if (dicT.allKeys.count > 1) {
... |
package ru.stqa.utk.sandbox;
import org.testng.Assert;
import org.testng.annotations.Test;
/**
* Created by Tonya on 26.07.2017.
*/
public class SquareTest {
@Test
public void testArea() {
Square s = new Square(5);
Assert.assertEquals(s.area(),25.0);
}
} |
concurrency=$1
os=$2
edition=$3
maintainer=$4
ENTERPRISE=""
type="build"
if [ "$edition" == community ]; then
ENTERPRISE="-DUSE_ENTERPRISE=Off"
type="${type}_community"
elif [ "$edition" == enterprise ]; then
type="${type}_enterprise"
ENTERPRISE="-DUSE_ENTERPRISE=On"
else
echo "$0: unknown edition... |
package io.reflectoring.solid.lsp.paymentexample.forcefit.instruments;
import io.reflectoring.solid.lsp.paymentexample.common.instruments.PaymentInstrument;
import io.reflectoring.solid.lsp.paymentexample.common.exceptions.FraudDetectedException;
import io.reflectoring.solid.lsp.paymentexample.common.exceptions.Paymen... |
#ifndef ViewportAnchor_h
#define ViewportAnchor_h
#include "core/platform/graphics/FloatSize.h"
#include "core/platform/graphics/IntPoint.h"
#include "core/platform/graphics/IntRect.h"
#include "core/platform/graphics/LayoutRect.h"
#include "wtf/RefCounted.h"
namespace WebCore {
class EventHandler;
class IntSize;
c... |
FROM balenalib/odroid-c1-debian:bookworm-run
ENV Logging__Console__FormatterName=Json
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates \
curl \
\
# .NET Core dependencies
libc6 \
libgcc1 \
libgssapi-krb5-2 \
libicu67 \
... |
using DD4T.ContentModel.Contracts.Providers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DD4T.Providers.SDLTridion2011sp1
{
[Obsolete("use the ComponentPresentationProvider instead")]
public class TridionComponentProvider : ICom... |
package com.linkedin.entity.client;
import com.datahub.authentication.Authentication;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableSet;
import com.linkedin.aspect.GetTimeseriesAspectValuesResponse;
import com.linkedin.common.AuditStamp;
import com.linkedin.common.urn.Urn;
i... |
<?xml version="1.0" encoding="ISO-8859-1"?>
<document>
<properties>
<title>Singularity Utilities</title>
<author email="tom.rose@i-konect.com">Tom Rose</author>
</properties>
<body>
<section name="Welcome to Singularity Utilities">
<p>
</p>
</section>
</body>
</do... |
from setuptools import setup, find_packages
scripts = [
'annotations/gencode_annotate_utrs_5p_3p.pl',
'mirna/miR_splitter.py',
'clipseq/barcode_collapse.py',
'clipseq/barcode_collapse_pe.py',
'clipseq/fix_scores.py',
'clipseq/run_kasey.py',
'clipseq/kmer_extractor.py',
'clipseq/perform... |
package com.opengamma.financial.fudgemsg;
import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import org.fudgemsg.FudgeField;
import org.fudgemsg.FudgeMsg;
import org.fudgemsg.Muta... |
Library for simple use OData with POData library
================================================
What is this? <a name="what"></a>
-------------
Implementation of DataService and QueryProvider classes, what helps to make easy start with [OData](http://www.odata.org/).
### Who is using it?
- It's instrument for PHP... |
package client.appstate.users
import client.appstate.Users
import diode.data.Pot
import shared.{SelectedPage, TotalPages}
case class UserComponentZoomedModel (
users: Pot[Users],
totalPages: TotalPages,
selectedPage: SelectedPage
) |
from __future__ import division, print_function
from argparse import Namespace
import myhdl
from myhdl import (Signal, ResetSignal, intbv, modbv, delay, instance,
always, always_comb, StopSimulation)
from myhdl.conversion import verify
from rhea.system import Clock, FIFOBus, Global, Signals
from r... |
using Kudu.Core.Settings;
using Xunit;
namespace Kudu.Core.Test.Settings
{
public class ScmHostingConfigurationsTests
{
[Theory]
[InlineData("a=b,foo=bar,c=d", 3, "foo", "bar")]
[InlineData("a=b,foo=bar,c=d", 3, "FoO", "bar")]
[InlineData("foo=bar,c=d", 2, "c", "d")]
[I... |
SYNONYM
#### According to
Interim Register of Marine and Nonmarine Genera
#### Published in
null
#### Original name
null
### Remarks
null |
require "test_helper"
require "elasticquery/filters/term"
class TestTermFilter < MiniTest::Test
def test_valid_filter_should_have_one_key
filter = Elasticquery::Filters::Term.new a: 1
assert filter.valid?
end
def test_invalid_filter_should_have_no_keys
filter = Elasticquery::Filters::Term.new
r... |
import os
from django.core.management.base import BaseCommand, CommandError
from revolution.games.models import GameRoom
from revolution.users.models import User
class Command(BaseCommand):
help = "prepare game and players"
def add_arguments(self, parser):
parser.add_argument('gameroom_id', nargs='+',... |
var gulp = require('gulp');
var args = require('yargs').argv;// enable passing argument in the command line
var config = require('./gulpconfig')();// the () runs it; ./ indicates it is a local file, not a package
var del = require('del');
var $ = require('gulp-load-plugins')({lazy: true});// load plugins as is needed
... |
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.18408
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace W... |
"use strict";
var _interopRequire = function (obj) { return obj && obj.__esModule ? obj["default"] : obj; };
var ElementAllocator = _interopRequire(require("famous/core/ElementAllocator"));
var _allocate = ElementAllocator.prototype.allocate;
ElementAllocator.prototype.allocate = function () {
var result = _alloc... |
package main
import "fmt"
func ExampleLoadConfig() {
config := LoadConfig("piper.yml")
fmt.Printf("Loaded Postgres Host: %v\n", config.Source.Host)
fmt.Printf("Loaded Postgres Port: %v\n", config.Source.Port)
fmt.Printf("Loaded Postgres Database: %v\n", config.Source.Database)
fmt.Printf("Loaded ... |
<component name="ProjectDictionaryState">
<dictionary name="mastermindzh">
<words>
<w>occurences</w>
</words>
</dictionary>
</component> |
import React, { Component } from 'react';
import { Card, CardBody, CardHeader, Pagination, PaginationItem, PaginationLink } from 'reactstrap';
class Paginations extends Component {
render() {
return (
<div className="animated fadeIn">
<Card>
<CardHeader>
<i className="fa fa-a... |
namespace Google.Cloud.Dialogflow.V2Beta1.Snippets
{
// [START dialogflow_v2beta1_generated_Environments_ListEnvironments_async_flattened]
using Google.Api.Gax;
using System;
using System.Linq;
using System.Threading.Tasks;
using gcdv = Google.Cloud.Dialogflow.V2Beta1;
public sealed partial... |
<!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_45) on Fri Jan 10 21:37:06 UTC 2014 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class org.apache.hadoop.h... |
<div {{ $attributes->merge(['class' => $makeModalClass(), 'id' => $id]) }}
@isset($staticBackdrop) data-backdrop="static" data-keyboard="false" @endisset>
<div class="{{ $makeModalDialogClass() }}">
<div class="modal-content">
{{--Modal header --}}
<div class="{{ $makeModalHeaderClass() }... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
from modeltranslation.translator import translator
from drum.links.models import Link
from modeltranslation.translator import TranslationOptions
class TranslatedLink(TranslationOptions):
fields = ()
translator.register(Link, TranslatedLink) |