text stringlengths 3 1.05M |
|---|
package com.gdgkr.firebaseworkshop;
import com.google.firebase.auth.FirebaseUser;
/**
* Created by chansuk on 2016. 11. 3..
*/
public interface OnUserLoginListener {
void onLoginCompleted(FirebaseUser user);
void onLoginFailed();
void onLogoutCompleted(FirebaseUser user);
}
|
namespace BrianChristyWedding.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class SongRequest : DbMigration
{
public override void Up()
{
AddColumn("dbo.Rsvps", "SongRequest", c => c.String());
}
public override v... |
import('./three').then(three => {
console.log('three: ', three);
});
|
<?php
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) exit;
/**
* Processes a custom edit
*
* @since 2.3
* @param array $args The $_POST array being passeed
* @return array $output Response messages
*/
function edd_edit_customer( $args ) {
$customer_edit_role = apply_filters( 'edd_edit_customers_r... |
#region copyright
// Copyright 2015 Keith Woods
//
// 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 applicabl... |
#if true
using UnityEngine;
using System.Collections;
using UnityEditor;
using System;
using System.Reflection;
using System.Collections.Generic;
namespace Lockstep.Data
{
public sealed class EditorLSDatabase : IEditorDatabase
{
private void InitializeData()
{
Type databaseType = D... |
require 'test_helper'
module Wafflemix
class RolesHelperTest < ActionView::TestCase
end
end
|
package org.zaproxy.zap.control;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
import static org.hamcrest.Matchers.equalTo;
import static org.hamcrest.Matchers.is;
import static org.hamcrest.Matchers.notNullValue;
import static org.junit.Assert.*;
import java.io... |
import functools
import os
import pytest
import sqlalchemy.orm as sa_orm
from app import constants, models, processor, factories
from app.etl import transformers, loaders
from app.util.json import load_json_file
@pytest.fixture(scope='module')
def all_processor_configs(conf_path):
processors_conf_path = os.path.... |
package local
import (
"reflect"
"sync"
"testing"
"time"
"github.com/prometheus/common/model"
"github.com/prometheus/prometheus/storage/local/codable"
"github.com/prometheus/prometheus/storage/local/index"
"github.com/prometheus/prometheus/util/testutil"
)
var (
m1 = model.Metric{"label": "value1"}
m2 = m... |
import React from 'react';
import { Provider } from 'react-redux';
import renderer from 'react-test-renderer';
import configureMockStore from 'redux-mock-store';
import connectTodoListIndexes from '../connectTodoListIndexes';
import { TODO_ITEMS_REDUCER } from '../../reducers/todoItemsReducer';
function newMockStore(... |
package sx.lambda.voxel.tasks;
import sx.lambda.voxel.RadixClient;
import sx.lambda.voxel.api.RadixAPI;
import sx.lambda.voxel.api.events.EventGameTick;
public class EntityUpdater implements RepeatedTask {
private RadixClient game;
public EntityUpdater(RadixClient game) {
this.game = game;
}
... |
package oap.http.pnio;
public class TestHandler extends PnioRequestHandler<TestState> {
private final String name;
private final Type type;
public RuntimeException runtimeException;
public long sleepTime = -1;
public TestHandler( String name, Type type ) {
this.name = name;
this... |
layout: default
---
<div class="page-content">
<div class="mdl-grid">
{% for post in paginator.posts %}
<section class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp mdl-cell--12-col">
<header class="section__play-btn mdl-cell mdl-cell--3-col-desktop mdl-cell--2-col-tablet mdl-cell--... |
namespace Nancy.Routing
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Nancy.Helpers;
/// <summary>
/// Route that is returned when the path could be matched but, the method was OPTIONS and there was no user defined handler for OPTIONS.
/// </summary>
pu... |
package tw.com.chainsea.bruce;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
s... |
'------------------------------------------------------------------------------
' <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>
'-----------... |
// Copyright (c) 2015, Bitquant Research Laboratories (Asia) Limited
// Licensed under the Simplified BSD License
"use strict";
if (typeof define !== 'function') {
var define = require('amdefine')(module);
}
define([], function() {
function load_analyzer(term_sheet, notes, callback) {
require.config({
paths: ... |
#include "psa/initial_attestation.h"
#include "tfm_ns_interface.h"
#include "psa/client.h"
#include "psa/crypto_types.h"
#include "psa_manifest/sid.h"
psa_status_t
psa_initial_attest_get_token(const uint8_t *auth_challenge,
size_t challenge_size,
uint... |
package com.tle.web.sections.equella.component;
import static com.tle.web.sections.equella.render.EquellaDropdownExtension.AUTOCOMPLETE_RENDERER;
import com.tle.annotation.NonNullByDefault;
import com.tle.beans.item.cal.request.CourseInfo;
import com.tle.common.NameValue;
import com.tle.common.i18n.CurrentLocale;
i... |
const models = require('./model')
module.exports = process.__API__ = {
get: function(target, options = {}) {
const modelName = target.split('/').slice(-1)
const query = options.params || {}
const model = models[modelName]
return new Promise((resolve, reject) => {
queryModel(model, query).then(da... |
<%@title= @translate 'branches'%>
<% extend 'layout/datatable' %> |
package main
import (
"fmt"
proxyconfig "istio.io/api/proxy/v1/config"
)
type http struct {
*infra
logs *accessLogs
}
func (r *http) String() string {
return "http-reachability"
}
func (r *http) setup() error {
r.logs = makeAccessLogs()
return nil
}
func (r *http) teardown() {
}
func (r *http) run() error... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright 2014-2017 Charles University in Prague
- Copyright 2014-2017 Vojtech Horky
-
- 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... |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Sitecore.Data.Fields;
using Sitecore.Data.Items;
using Sitecore.Resources.Media;
using Sitecore.XA.Foundation.Mvc.Models;
using Sitecore.Xml... |
<form class="navbar-form navbar-left" role="search" action="#" method="get">
<input type="hidden" value="archlinux.org">
<div class="form-group">
<input type="text" class="form-control" placeholder="Package Search" name="q">
</div>
<button type="submit" class="btn btn-def... |
import * as React from 'react';
import { useOpenState } from './useOpenState';
import { WrapperVariant } from '../wrappers/WrapperVariantContext';
import { useUtils, MuiPickersAdapter } from './useUtils';
export interface PickerStateValueManager<TInputValue, TDateValue> {
areValuesEqual: (
utils: MuiPickersAdapt... |
package ${package}.actions;
import com.opensymphony.xwork2.ActionSupport;
import org.apache.struts2.StrutsTestCase;
public class DialogContentActionTest extends StrutsTestCase {
public void testDialogContentAction() throws Exception {
DialogContentAction dialogContent = new DialogContentAction();
... |
/* GStreamer audio helper functions for IEC 61937 payloading
* (c) 2011 Intel Corporation
* 2011 Collabora Multimedia
* 2011 Arun Raghavan <arun.raghavan@collabora.co.uk>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* Lice... |
Class for Commandline PHP applications
## LICENSE
Copyright (c) 2012-2013, Duane Jeffers <<github@duanejeffers.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 restriction, including... |
#include "ParticleConnector.h"
using namespace nspace;
ParticleConnector::ParticleConnector(Particle & p):DynamicConnector(p), _particle(p){
}
ParticleConnector::~ParticleConnector(void)
{
}
const Vector3D & ParticleConnector::getObjectCoordinatePosition() const
{
return Vector3D::Zero();
}
void Par... |
package com.merakianalytics.orianna.types.dto.champion;
import java.util.List;
import com.merakianalytics.orianna.types.dto.DataObject;
public class ChampionInfo extends DataObject {
private static final long serialVersionUID = -2055782095631677351L;
private List<Integer> freeChampionIds, freeChampionIdsForN... |
package me.lucko.luckperms.api.event.events;
import me.lucko.luckperms.api.Node;
import me.lucko.luckperms.api.PermissionHolder;
import me.lucko.luckperms.api.event.AbstractPermissionEvent;
/**
* Called when a temporary permission node expires
* @since 1.6
*/
public class PermissionNodeExpireEvent extends Abstra... |
package tema6.ejemplo1;
import java.awt.*;
public class MiVentana extends Frame
{
TextField tfEmail;
TextArea taMensaje;
Button botonEnviar;
Button botonSalir;
public MiVentana()
{
// Creación de componentes
Panel panelCentral = new Panel();
tfEmail = new TextField(20);
taMensaje = new TextArea(5,35);
... |
from __future__ import unicode_literals
from django.db import models, migrations
import ckeditor.fields
class Migration(migrations.Migration):
dependencies = [
]
operations = [
migrations.CreateModel(
name='Event',
fields=[
('id', models.AutoField(verbose... |
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-session" version="1.0">
<property name="general" type="empty">
<property name="FailsafeSessionName" type="string" value="Failsafe"/>
<property name="LockCommand" type="string" value=""/>
</property>
<property name="sessions" type="empty">
<p... |
package com.vmware.q3training.service.notification;
import org.junit.Test;
import org.junit.Assert;
public class NotificationServiceTest {
@Test
public void testSendEmailSuccess() throws Exception {
NotificationService notificationService = new NotificationService();
EmailReceipt emailReceipt = notificationSer... |
Troubleshooting Guide
===============================
# DataTorrent RTS Download
## Where can I download DataTorrent RTS software?
DataTorrent RTS software can be downloaded from [https://www.datatorrent.com/download/](https://www.datatorrent.com/download)
The following deployment options are available for downloa... |
#include "NFComm/NFPluginModule/NFIPlugin.h"
#include "NFComm/NFPluginModule/NFIPluginManager.h"
//////////////////////////////////////////////////////////////////////////
class NFLogPlugin : public NFIPlugin
{
public:
NFLogPlugin(NFIPluginManager* p)
{
pPluginManager = p;
}
vi... |
using System.Text.Json;
using Azure.Core;
namespace Azure.ResourceManager.Compute.Models
{
public partial class ResourceSkuCapabilities
{
internal static ResourceSkuCapabilities DeserializeResourceSkuCapabilities(JsonElement element)
{
string name = default;
string value... |
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
<item>
<shape android:shape="rectangle" >
<solid android:color="@color/shadow" />
<corners android:radius="4dp" />
</shape>
</item>
<item
android:... |
package com.brightgenerous.datasource.mybatis.guice.mapper;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.... |
<!--
Copyright 2014 Google Inc. 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 applicable law o... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Fl. taur. -caucas. 2:325. 1808
#### Original name
null
### Remarks
null |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ails: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... |
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.components.autofill_assistant;
import android.app.Activity;
/**
* Utility class for closing custom tabs. Implementations might differ depending on where... |
require File.dirname(__FILE__) + '/../spec_helper'
describe Redirection do
before(:each) do
@redirection = Redirection.new
end
it "should be valid" do
@redirection.should be_valid
end
end
|
<?xml version="1.0" encoding="utf-8"?>
<inset xmlns:android="http://schemas.android.com/apk/res/android"
android:inset="4dp">
<shape android:shape="rectangle">
<corners android:radius="2dp" />
<solid android:color="@android:color/transparent" />
<stroke
android:width="1dp"
... |
@extends('layouts.default')
@section('content')
<h1>Code {{ $code->codename}} is for {{ $code->countryname }}</h1>
@stop
|
#pragma once
#include <iostream>
#include <time.h>
#include <thread>
#include <Windows.h>
class AlgoritmosOrdenacao
{
public:
//AlgoritmosOrdenacao();
//virtual ~AlgoritmosOrdenacao();
std::string algoritmo;
//para timestamp
time_t startTime, endTime;
char inicio[20], fim[20];
//Time on Windows
LARGE_INTE... |
package com.opengamma.analytics.financial.interestrate.bond.provider;
import static org.testng.AssertJUnit.assertEquals;
import org.testng.annotations.Test;
import org.threeten.bp.Period;
import org.threeten.bp.ZonedDateTime;
import com.mcleodmoores.date.CalendarAdapter;
import com.mcleodmoores.date.WeekendWorkingD... |
<?php
namespace Stripe\Terminal;
/**
* @internal
* @covers \Stripe\Terminal\Reader
*/
final class ReaderTest extends \Stripe\TestCase
{
use \Stripe\TestHelper;
const TEST_RESOURCE_ID = 'rdr_123';
public function testIsListable()
{
$this->expectsRequest(
'get',
'/v1... |
<?php
/*
*---------------------------------------------------------------
* APPLICATION ENVIRONMENT
*---------------------------------------------------------------
*
* You can load different configurations depending on your
* current environment. Setting the environment also influences
* things like logging a... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AutoCompare.Tests
{
public partial class InheritanceTests
{
private class Parent
{
public long Id { get; set; }
public string Name { get; set; }... |
misPrecios
===========
Gasta menos en la comunidad de precios para jovenes independientes.
Instrucciones para su instalación
==========================================
Nuestra solución requiere de Apache Tomcat para correr, por lo que se debe instalar Apache Tomcat y una base de datos. En nuestro servidor de testin... |
This document records all changes made to the Starboard interface, up to the
current version, but not including the experimental version. This file will
be updated each time a new Starboard version is released. Each section in
this file describes the changes made to the Starboard interface since the
version previous ... |
<html>
<head>
<title>Richard Drummie's panel show appearances</title>
<script type="text/javascript" src="../common.js"></script>
<link rel="stylesheet" media="all" href="../style.css" type="text/css"/>
<script type="text/javascript" src="../people.js"></script>
<!--#include virtual="head.txt" -->
</head>
<body>
<!... |
import sbt._
import Keys._
import org.scalatra.sbt._
import org.scalatra.sbt.PluginKeys._
import com.mojolly.scalate.ScalatePlugin._
import com.earldouglas.xsbtwebplugin.PluginKeys._
import com.earldouglas.xsbtwebplugin.WebPlugin._
import ScalateKeys._
import scala.language.postfixOps
import org.sbtidea.SbtIdeaPlugin._... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
package org.apache.flink.streaming.runtime.tasks;
import org.apache.flink.api.common.ExecutionConfig;
import org.apache.flink.api.common.JobID;
import org.apache.flink.api.common.typeutils.base.IntSerializer;
import org.apache.flink.configuration.Configuration;
import org.apache.flink.core.fs.FSDataInputStream;
impo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Xml.Linq;
using System.Xml.Serialization;
using System.Xml;
using System.ComponentModel;
namespace CodeTorch.Core
{
[Serializable]
public class Sequence
{
Int64 _SeedValue = 1;
... |
package org.jbpm.runtime.manager.impl;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Properties;
import javax.persistence.EntityManagerFactory;
import org.drools.core.builder.conf.impl.Decision... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML><HEAD>
<TITLE>George Orwell's 1984</TITLE>
<LINK rel="chapter" href="#1" title="Chapter 1">
<LINK rel="chapter" href="#2" title="Chapter 2">
<LINK rel="chapter" href="#3" title="Chapter 3">
<LINK rel="chapter" href="#4" title="Chapter 4">
<LINK rel="chapter" href... |
// This file is automatically generated.
package adila.db;
/*
* Smartfren NC36B1G
*
* DEVICE: HS8610QC
* MODEL: Smartfren Andromax NC36B1G
*/
final class hs8610qc_smartfren20andromax20nc36b1g {
public static final String DATA = "Smartfren|NC36B1G|";
}
|
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/s... |
/**
* JPA domain objects.
*/
package io.cisa.taxiiserver.domain;
|
CREATE OR REPLACE FUNCTION insertForum
(IN in_username varchar(255),
IN in_forumSubj varchar(255),
IN in_forumBody text)
RETURNS boolean AS
$$
DECLARE
BEGIN
INSERT INTO forums VALUES (DEFAULT, in_username, in_forumSubj, in_forumBody, DEFAULT);
IF EXISTS (SELECT * FROM forums WHERE username = in_username and forumSu... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34014
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
#ifndef CXXLAPACK_INTERFACE_GSVJ0_H
#define CXXLAPACK_INTERFACE_GSVJ0_H 1
#include <cxxstd/complex.h>
namespace cxxlapack {
template <typename IndexType>
IndexType
gsvj0(char jobV,
IndexType m,
IndexType n,
float *A,
IndexType ldA,
... |
<?php
namespace Sylius\Bundle\CoreBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
use Symfony\Component\Config\Definition\Builder\NodeDefinition;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterfa... |
/**
* External dependencies
*/
import MockDate from 'mockdate';
/**
* Internal dependencies
*/
import formatDate from '../formatDate';
import { updateSettings, resetSettings } from '../settings';
describe('date/formatDate', () => {
beforeEach(() => {
MockDate.set('2020-07-15T22:47:26+00:00');
});
aft... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- This is the website title, CHANGE HERE -->
<title>Resume Template</title>
<!-- adding styles, notice the file path -->
<l... |
from wtforms.fields.core import *
# Compatibility imports
from wtforms.fields.core import Label, Field, _unset_value, SelectFieldBase, Flags
|
<!-- Previous/next page links - only displayed on page 2+ -->
<div class="extra-pagination inner">
{% if page.class == 'home-template' %}
{% include post_pagination.html %}
{% elsif page.class == 'page-template' %}
{% include post_pagination.html %}
{% elsif page.... |
namespace SignalR.HubStrong.Mapping
{
using Microsoft.AspNet.SignalR.Client;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
public static class ClientMappingExtensions
{
private delegate void InvokeM... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>demos: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... |
var SqueezeBox = {
presets: {
size: {x: 600, y: 450},
sizeLoading: {x: 200, y: 150},
marginInner: {x: 20, y: 20},
marginImage: {x: 50, y: 75},
handler: false,
target: null,
closable: true,
closeBtn: true,
zIndex: 65555,
o... |
#include "usb_host_config.h"
#include "usb_host.h"
#include "usb_host_hid.h"
#include "host_mouse.h"
/*******************************************************************************
* Definitions
******************************************************************************/
/*************************************... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.barPositioning = void 0;
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _objectWithoutPro... |
using System;
using System.Collections.Generic;
using AM;
using AM.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
// ReSharper disable ArrangeThisQualifier
// ReSharper disable ExpressionIsAlwaysNull
// ReSharper disable InvokeAsExtensionMethod
// ReSharper disable NonReadonlyMemberInGetHashCode
// ReSha... |
namespace arangodb {
namespace velocypack {
class Slice;
}
namespace aql {
struct Aggregator;
class ExecutionBlock;
class ExecutionPlan;
class QueryWarnings;
/// utility class to calculate window bounds for Row / Range based windows
/// could probably also be part of the executor
class WindowBounds final {
public:
... |
<!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_151) on Thu Feb 08 09:04:07 MST 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.wildf... |
int main(int argc, char * argv[])
{
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}
|
var RelationshipFormView = (function() {
function RelationshipFormView(options) {
var defaults = {
el: '<div id="relationship-add">',
template: _.template(TEMPLATES['relationship_form.ejs']),
relationship: false,
meetings: []
};
this.opt = _.extend(defaults, CONFIG, options);
t... |
package com.amazonaws.services.logs.model;
import java.io.Serializable;
import javax.annotation.Generated;
/**
*
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/StartQuery" target="_top">AWS API
* Documentation</a>
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public cla... |
package tw.com.entity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import software.amazon.awssdk.services.cloudformation.model.Stack;
import software.amazon.awssdk.services.cloudformation.model.StackStatus;
import tw.com.providers.CFNClient;
import java.util.HashSet;
import java.util.Optional;
import jav... |
import { Transaction } from '@sequelize/core';
import { expect } from 'chai';
import sinon from 'sinon';
import { beforeAll2, getTestDialect, sequelize } from '../support';
const dialectName = getTestDialect();
describe('Transaction', () => {
// IBMiQueryInterface#startTransaction does not pass "START TRANSACTION" ... |
If you haven't already create a `pinned-plugins.txt` file at the root of your
jenkins bootstrap repository.
1. Bootstrap Jenkins normally and capture a list of plugins.
2. Bootstrap Jenkins without plugins.
3. Run the refresh plugins script which will install the plugins and update your
gradle files.
4. Capture lis... |
import { loadPlugins, resetPlugins } from 'react-plugin';
import {
mockStorage,
mockCore,
mockRendererCore,
} from '../../../testHelpers/pluginMocks';
beforeEach(() => jest.isolateModules(() => require('..')));
afterEach(resetPlugins);
it('loads storage cache', () => {
const mockLoadCache = jest.fn(() => Pro... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
#ifndef _WRITE_PO_H
#define _WRITE_PO_H
#include "ostream.h"
#include "message.h"
#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
#endif
enum filepos_comment_type
{
filepos_comment_none,
filepos_comment_full,
filepos_comment_file
};
/* These functions are used to output a #, flags line. *... |
require 'spec_helper'
describe UserSessionsController do
describe 'POST #create' do
before do
@request.env["devise.mapping"] = Devise.mappings[:user]
end
describe 'when logging in with disabled user' do
before do
create :user, email: 'disabled@user.com', disabled: true
post :... |
/*
* Srikrishna Gopu (krishna@barefootnetworks.com)
* Antonin Bas (antonin@barefootnetworks.com)
*
*/
#ifndef BM_BM_SIM_PRE_H_
#define BM_BM_SIM_PRE_H_
#include <string>
#include <bitset>
namespace bm {
namespace McPre {
template <size_t set_size>
class Set {
public:
using reference = typename std::bitset... |
namespace NEventStore.Persistence.InMemory
{
using System;
using System.Collections.Generic;
using System.Linq;
using NEventStore.Persistence.AcceptanceTests.BDD;
using FluentAssertions;
#if MSTEST
using Microsoft.VisualStudio.TestTools.UnitTesting;
#endif
#if NUNIT
using NUnit.Framework;
#... |
namespace stim_pybind {
std::string detector_error_model_repr(const stim::DetectorErrorModel &self);
pybind11::class_<stim::DetectorErrorModel> pybind_detector_error_model(pybind11::module &m);
void pybind_detector_error_model_methods(pybind11::module &m, pybind11::class_<stim::DetectorErrorModel> &c);
} // namespac... |
/* 最受欢迎摄影师的样式 */
.tm-portfolio {
background: #f8f8f8;
padding-top: 80px;
}
.tm-portfolio .container {
width: 100%;
padding: 0;
margin: 0;
}
.tm-portfolio .col-md-3,
.tm-portfolio .col-sm-3 {
padding: 0;
margin: 0;
}
.tm-portfolio-title {
text-align: center;
text-transform: uppercase;
}
.portfolio-i... |
var XmcdReader = require('../lib/xmcd-reader');
var xmcdReader = new XmcdReader();
xmcdReader.parse('test/fixtures/example', function(error, xmcd) {
console.log('Disc:');
console.log('\tArtist: %s', xmcd.artist());
console.log('\tTitle: %s', xmcd.discTitle());
console.log('Tracks:');
xmcd.tracks().forEach(f... |
#region
using System;
using System.Globalization;
using System.Windows.Data;
#endregion
namespace SMT.ZoomControl
{
public class EqualityToBooleanConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
return Equ... |
<?php
namespace ByTIC\Payments\Tests\Models\Tokens;
use ByTIC\Payments\Models\Tokens\Tokens;
use ByTIC\Payments\Tests\AbstractTestCase;
/**
* Class TransactionsTraitTest
* @package ByTIC\Payments\Tests\Models\Transactions
*/
class TokensTraitTest extends AbstractTestCase
{
public function test_relations()
... |