text stringlengths 3 1.05M |
|---|
<html>
<head>
<title>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Toshiba-TG01-orange/ 02; Windows Phone 6.5)</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css">
<link href="https://fonts.googleapis.com/icon?family=Material+... |
package org.neo4j.cluster.protocol.election;
import java.io.Externalizable;
import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectOutput;
/**
* Election credentials stating that this instance cannot be elected. The vote still counts towards the total though.
*/
public final class NotElectabl... |
package smartag
//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 or agreed to in writing, software
//distr... |
<?php include "top.php" ?>
<link rel="stylesheet" type="text/css" href="<?=base_url()?>assets/cupertino/jquery-ui.min.css">
<link rel="stylesheet" type="text/css" href="<?=base_url()?>assets/css/fullcalendar.css">
<link rel="stylesheet" type="text/css" href="<?=base_url()?>assets/css/fullcalendar.print.css"... |
from django.db.models.signals import pre_save
from models import Event, Calendar
def optionnal_calendar(sender, **kwargs):
event = kwargs.pop('instance')
if not isinstance(event, Event):
return True
if not event.calendar:
try:
calendar = Calendar._default_manager.get(n... |
#include "../Include/Boost.h"
#include "Types.h"
#include <boost/filesystem.hpp>
#include <vector>
#include <iostream>
using namespace boost::filesystem;
using namespace std;
vector<string> ListDir(path p) {
vector<string> direct;
if (is_directory(p)) {
for (auto && x : directory_iterator(p)) {
if (is_direct... |
#ifndef vnsw_agent_factory_hpp
#define vnsw_agent_factory_hpp
#include <boost/function.hpp>
#include <base/factory.h>
#include <cmn/agent_cmn.h>
class Agent;
class AgentUveBase;
class KSync;
class DB;
class DBGraph;
class IFMapDependencyManager;
class InstanceManager;
class FlowTable;
class NexthopManager;
class A... |
package org.apache.skywalking.oap.server.core.analysis.meter;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.ToString;
import java.util.Map;
import org.apache.skywalking.oap.server.core.UnexpectedException;
import org.apache.skywalking.oap.server.core.analysis.IDManager;
import org.apache.skywa... |
TEST("The response has valid return code and content type.", function(Query) {
var example = { "email" : "vnicollet@runorg.com" };
var db = Query.mkdb();
var auth = Query.auth(db);
return Query.post(["db/",db,"/people/import"],[example],auth)
.assertStatus(202).assertIsJson();
});
TEST("Single impo... |
using FoxTool.Fox.Types.Values;
namespace FoxTool.Tpp.Classes
{
public class SimWindControlParam
{
// Static properties
public FoxFloat Coefficient { get; set; }
}
}
|
layout: post
title: "Delay constructor execution by using ServiceManager lazy services"
permalink: /2018/11/16/delay-constructor-execution-by-using-service-manager-lazy-services
categories: [php,zf]
tags: [zf,proxy,di]
---
A couple years ago I wrote a [post](/2016/06/12/using-service-manager-3-lazy-services-to-improve... |
import assert from 'assert'
import path from 'path'
const dbType = process.env.DB
const connection = process.env.NODE_ENV !== 'test' ?
pgUrl(process.env.PAGINATE ? 'test2' : 'test1') :
dbType === 'PG' ?
pgUrl(process.env.PAGINATE ? 'test2' : 'test1') :
dbType === 'MYSQL' ?
mysqlUrl(process.env.PAGIN... |
<link rel="import" href="../../bower_components/polymer/polymer.html">
<dom-module id= 'my-metronome'>
<template>
<style>
@-webkit-keyframes pulse {
0% {-webkit-transform: scale(0); opacity: 0;}
8% {-webkit-transform: scale(0); opacity: 1;}
15% {-webkit-transform: scale(0.1); ... |
<?php
declare(strict_types=1);
namespace Gregwar\CaptchaBundle\Generator;
use Gregwar\Captcha\CaptchaBuilder;
use Gregwar\Captcha\PhraseBuilder;
use Symfony\Component\Routing\RouterInterface;
/**
* Uses configuration parameters to call the services that generate captcha images.
*
* @author Gregwar <g.passault@gm... |
package org.springframework.boot.web.support;
import java.io.IOException;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpServletResp... |
package hockeystick;
import net.hockeyapp.android.CrashManager;
import net.hockeyapp.android.ExceptionHandler;
import org.appcelerator.kroll.KrollModule;
import org.appcelerator.kroll.annotations.Kroll;
import org.appcelerator.titanium.TiApplication;
import org.appcelerator.kroll.common.Log;
import org.appcelerat... |
/*
* translator_test.cpp
*
* Created on: 2010/10/03
* Author: shu
*/
#include <gtest/gtest.h>
#include <string>
#include <stdint.h>
#include "../src/translator.h"
#include "../src/sequence_type.h"
#include "../src/protein_type.h"
#include "../src/dna_sequence.h"
#include "../src/protein_sequence.h"
using n... |
package jk_5.nailed.api.chat.serialization;
import java.util.Arrays;
import java.util.HashSet;
import javax.annotation.Nonnull;
import com.google.gson.JsonDeserializationContext;
import com.google.gson.JsonObject;
import com.google.gson.JsonSerializationContext;
import jk_5.nailed.api.chat.BaseComponent;
import jk... |
#ifndef CVMICONFIG_H
#define CVMICONFIG_H
#define DEFAULT_RELEASE_SOURCE "http://rbuilder.cern.ch/installer/installer.cgi"
#include <QString>
#include <QFile>
class CVMIConfig
{
public:
CVMIConfig();
~CVMIConfig(){}
QString getImageDir();
QString getVMDir();
QString getHypervisorDir();
QString getShow... |
using ApiCheck.Result;
using ApiCheck.Result.Difference;
using ApiCheck.Utility;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace ApiCheck.Comparer
{
internal class AssemblyComparer : ComparerBase<Assembly>
{
public AssemblyComparer(Assembly referenceType, ... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__sizeof_int64_t_82a.cpp
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__sizeof.label.xml
Template File: sources-sink-82a.tmpl.cpp
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Initialize the s... |
package main
import (
"fmt"
"net/http"
"net/url"
"os"
"regexp"
"golang.org/x/oauth2"
"github.com/DataDog/datadog-go/statsd"
"github.com/aws/aws-sdk-go/aws/defaults"
"github.com/codegangsta/cli"
"github.com/codegangsta/negroni"
"github.com/ejholmes/slash"
"github.com/google/go-github/github"
"github.com/... |
Option Infer On
Imports System
Imports System.Collections.Generic
Imports System.Runtime.InteropServices
Namespace Examples
Friend Class Program
<STAThread>
Shared Sub Main(ByVal args() As String)
Dim application As SolidEdgeFramework.Application = Nothing
Dim partDocument... |
import React, {PureComponent} from 'react'
import DistributeRegionTable from './distribute-region-table'
import Alert from '../../components/alert'
class DistributeRegionEditor extends PureComponent {
constructor(props) {
super(props)
this.data = {
rule: this.props.value,
}
this.carrierList = ... |
package client
import (
"testing"
)
var (
server = "127.0.0.1:7070"
)
// Check connection failure.
func TestConnectionErr(t *testing.T) {
cl := NewClient(server)
if err := cl.Connect(); err == nil {
t.Fatal("Expected error!")
} else if _, ok := err.(*ConnectionErr); !ok {
t.Errorf("Expected %s err, got %s ... |
namespace impala {
/// Utility class to measure time. This is measured using the cpu tick counter which
/// is very low overhead but can be inaccurate if the thread is switched away. This
/// is useful for measuring cpu time at the row batch level (too much overhead at the
/// row granularity).
class StopWatch {
pu... |
<!DOCTYPE html>
<html>
<head>
<style>
#content {
width: 7500px;
height: 7500px;
background-color: blue;
}
</style>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="resources/scroll-behavior-test.js"></scr... |
package gaia3d.domain.role;
import java.time.LocalDateTime;
import javax.validation.constraints.NotBlank;
import org.springframework.format.annotation.DateTimeFormat;
import gaia3d.domain.common.Search;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
i... |
filename: /packages/material-ui/src/SwipeableDrawer/SwipeableDrawer.js
---
<!--- This documentation is automatically generated, do not try to edit it. -->
# SwipeableDrawer API
<p class="description">The API documentation of the SwipeableDrawer React component. Learn more about the properties and the CSS customizati... |
from __future__ import print_function, division, absolute_import
import numpy as np
from scipy.ndimage.interpolation import map_coordinates
try:
import cv2
except ImportError:
cv2 = None
print('OpenCV not available, will use scipy for remapping images')
def remapOpenCv(im, coords):
"""
Remap an i... |
require 'codenote/models'
module CodeNote
class Application < Sinatra::Default
enable :sessions
set :root, CodeNote.root
set :app_file, __FILE__
set :views, CodeNote.root_path_to('views')
def presentation
@presentaion ||= Presentation.current
end
def presenter?
session[:pres... |
/*
FILE: WSP.JS
DESCRIPTION: Basic App functions and config
AUTHOR(S): Jesse Weed
TO DO:
- Compare use of head.js with another similar library
*/
var WSP = window.WSP || {};
/* - - - - - - - - - - - - - - - - - >
CONFIGURATION & INITILIZATION
< - - - - - - - - - - - - - - - - - */
WSP.c... |
package com.ndevynck.contactmanager;
import java.util.List;
import com.ndevynck.eiwd306.classes.Person;
import android.app.Activity;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
public class AbilityAdapte... |
import Stylis from 'stylis/stylis.min';
import _insertRulePlugin from 'stylis-rule-sheet';
import React, { cloneElement, createContext, Component, createElement } from 'react';
import unitless from '@emotion/unitless';
import { isElement, isValidElementType, ForwardRef } from 'react-is';
import memoize from 'memoize-on... |
#ifndef StylePropertySet_h
#define StylePropertySet_h
#include "CSSPropertyNames.h"
#include "core/css/CSSParserMode.h"
#include "core/css/CSSPrimitiveValue.h"
#include "core/css/CSSProperty.h"
#include "core/css/CSSVariablesIterator.h"
#include "core/css/PropertySetCSSStyleDeclaration.h"
#include "wtf/ListHashSet.h... |
var libraries;
(function(libraries) {
(function(helpers) {
(function(spec) {
describe('mathHelpers', function () {
var mathHelpers;
var listHelpers;
beforeEach(function () {
listHelpers = new libraries.helpers.listHelpers();
... |
<div class="login-page">
<main>
<div class="login-block">
<img src="assets/img/logo.png" alt="">
<h1>Request password reset</h1>
<form action="#">
<div class="form-group">
<div class="input-group">
<span class="input-group-addon"><i class="ti-emai... |
package org.apache.activemq.artemis.core.server.plugin;
import java.util.Map;
import org.apache.activemq.artemis.api.core.ActiveMQException;
import org.apache.activemq.artemis.api.core.Message;
import org.apache.activemq.artemis.api.core.RoutingType;
import org.apache.activemq.artemis.api.core.SimpleString;
import ... |
{// 引入标签库 }
<tagLib name="html" />
<include file="Public:header" />
<div class="main">
<div class="main_title">{%INSTALL} <a href="{:u("Payment/index")}" class="back_list">{%BACK_LIST}</a></div>
<div class="blank5"></div>
<form name="edit" action="__APP__" method="post" enctype="multipart/form-data">
<table clas... |
<readable><title>2647229826_e0e0c65ef1</title><content>
A young girl in red is jumping over a bent over child for a children ' game .
Children are playing leapfrog in front of a fountain
Children playing leapfrog .
Children playing leapfrog beside fountain .
Six children near a water fountain .
</content></readable> |
package com.cognizant.devops.platformregressiontest.test.ui.traceabilitydashboard;
import java.io.File;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.testng.Assert;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.BeforeTest;
import org.testng... |
Mantis Bug Tracker (MantisBT)
=============================
[](https://travis-ci.org/mantisbt/mantisbt)
[](https://gitter.im/mantisbt/mantisbt?utm_source=badge&utm_medium=badge&... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>coq-in-coq: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.... |
layout: post
title: KDTK
date: 2016-03-10 16:22:38.000000000 +09:00
---
`25th Mar 2016`
<p><img src="assets/icons/KDTK.png" alt="image" width="130px"></p>
口袋题库是一款针对考研学生的移动端智能化学习软件。覆盖考研公共课及其部分统考专业课。每个科目提供大量优质的题库、重难点知识点讲解、历年真题模考以及微课程等学习内容。
KDTK(Pocket Exam) for postgraduate students is a mobile intelligent terminal le... |
Dbmng.HiddenWidget = Dbmng.AbstractWidget.extend({
createWidget: function(){
this.aField.value = this.getFieldValue();
this.aField.field_type='hidden';
return this.theme.getInput(this.aField);
},
getLabel: function(){
return null;
},
isVisible: function(){
return false;
}
});
|
<!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_60-ea) on Fri Nov 04 13:24:41 EDT 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.wildfly... |
<?php
/**
* Created by PhpStorm.
* User: ShadowMan
* Date: 2018/2/13
* Time: 22:52
*/
namespace DesignPatterns\Behavioral\Mediator;
/**
* Interface ChatRoomInterface
* @package DesignPatterns\Behavioral\Mediator
*/
interface ChatRoomInterface {
/**
* @param string $username
* @p... |
var isBrowser = require('is-in-browser').default;
module.exports = isBrowser?require("./browser.js"):require('./node.js') |
<div class="footer_div"><div id="footer_text">© 2016 Advanced Micro Devices, Inc. All Rights Reserved | <a href="http://developer.amd.com/">AMD Developer Central</a></div></div>
</body>
</html>
|
/**
* \file FILTER_FILE_NAME.hpp
* \date
* \author
*/
#ifndef FL__FILTER__YOUR_FILTER_NAME_HPP
#define FL__FILTER__YOUR_FILTER_NAME_HPP
#include <fl/util/traits.hpp>
#include <fl/filter/filter_interface.hpp>
#include <fl/distribution/gaussian.hpp>
namespace fl
{
// Filter Forward declaration
template </... |
const work25 = document.getElementById('work-25');
const shortBreak5 = document.getElementById('short-break-5');
const longBreak15 = document.getElementById('long-break-15');
const longBreak30 = document.getElementById('long-break-30');
work25.addEventListener('click', function () {
eventDispatcher.emit("work-timer:s... |
package org.reasm.m68k.assembly.internal;
import java.nio.charset.Charset;
import javax.annotation.CheckForNull;
import javax.annotation.Nonnull;
import org.reasm.m68k.InstructionSet;
abstract class M68KBasicAssemblyContext {
boolean optimizeUnsizedAbsoluteAddressingToPcRelative;
boolean optimizeZeroDispla... |
//
// NSObject+MIKVO.m
// MinyaDemo
//
// Created by 00 on 2016/9/28.
// Copyright © 2016年 Minya. All rights reserved.
//
#import "NSObject+MIKVO.h"
#import "NSObject+MIDealloc.h"
#import <objc/runtime.h>
static NSString * const kMIKVOInfoKey = @"MIKVOInfoKey";
#pragma mark - __MIAssociated Category for NSObject... |
using System;
using System.ComponentModel.DataAnnotations;
using Utilities.Validation.ExtensionMethods;
using Utilities.Validation.Rules;
using Xunit;
namespace UnitTests.Validation.Rules
{
public class Between
{
[Fact]
public void Test()
{
ClassA Temp = ne... |
<!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_92) on Thu Feb 23 11:39:41 CET 2017 -->
<title>NoSuchJobException (Xenon-release 1.2.0 API for Xenon developers)</title>
<meta name="date" cont... |
all:
ghc Main ../src/huffman/Tree.hs ../src/huffman/Cruncher.hs -outputdir _out
clean:
rm -rf _out/ Main
|
import time
class ChannelOrder:
RGB = [0, 1, 2]
RBG = [0, 2, 1]
GRB = [1, 0, 2]
GBR = [1, 2, 0]
BRG = [2, 0, 1]
BGR = [2, 1, 0]
class DriverBase(object):
"""Base driver class to build other drivers from"""
def __init__(self, num=0, width=0, height=0, c_order=ChannelOrder.RGB, gamma=... |
package org.apache.catalina.filters;
import java.io.IOException;
import javax.servlet.FilterChain;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
impor... |
using base::ASCIIToUTF16;
namespace chromeos {
namespace input_method {
namespace {
const char pinyin_ime_id[] = "zh-t-i0-pinyin";
const char zhuyin_ime_id[] = "zh-hant-t-i0-und";
class TestableInputMethodUtil : public InputMethodUtil {
public:
explicit TestableInputMethodUtil(
InputMethodDelegate* delega... |
/*
This file is part of the WebKit open source project.
This file has been generated by generate-bindings.pl. DO NOT MODIFY!
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... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
<?php
namespace Forthicime\AdminBundle\Entity;
use Doctrine\ORM\EntityRepository;
/**
* SynchronizationLineRepository
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class SynchronizationLineRepository extends EntityRepository
{
}
|
export { default } from './Dashboard';
|
import * as BrowserSDK from '../browser_sdk/browser_sdk.js';
import * as Common from '../common/common.js';
import * as CookieTable from '../cookie_table/cookie_table.js';
import * as Root from '../root/root.js';
import * as SDK from '../sdk/sdk.js';
import * as UI from '../ui/ui.js';
import {StorageItemsView} from ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>iris-heap-lang: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.... |
'use strict'
let assert = require('assert')
let Babysitter = require('../src/Babysitter')
let HourlyPay = require('../src/HourlyPay')
let formatTime = require('../src/formatTime')
describe('Babysitter', () => {
let times = require('./times.json')
let babysitter = new Babysitter(times);
it('Shou... |
<!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_272) on Thu Oct 21 09:13:59 PDT 2021 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class com.fasterxml... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
<?php defined('C5_EXECUTE') or die("Access Denied."); ?>
<div id="ccm-slideshowBlock-fsRow" class="ccm-slideshowBlock-fsRow" >
<div class="backgroundRow" style="padding-left: 100px">
<strong><?php echo t('File Set:')?></strong> <span class="ccm-file-set-pick-cb"><?php echo $form->select('fsID', $fsInfo['fileSets']... |
/*global jest, jasmine, describe, pit, expect*/
/*eslint camelcase: 0, no-unused-vars: 0*/
jest.autoMockOff();
// Increase default timeout (5000ms) for Travis
jasmine.getEnv().defaultTimeoutInterval = 30000;
var child_process = require('child_process');
var fs = require('fs');
var path = require('path');
var temp ... |
package org.springframework.ldap.core.support;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.NoSuchBeanDefinitionException;
import org.springframework.beans.factory.config.BeanPostProcessor;
import org.springframework.context.ApplicationContext;
import org.springfram... |
#include "frame/http.h"
#include "frame/httpfilter.h"
#include "frame/log.h"
#include "support/NSString.h"
#include "fastcgi.h"
#include "fcgirequest.h"
#include "circularbuffer.h"
#include "fastcgii18n.h"
#include "fcgiparser.h"
FcgiParser::FcgiParser(FcgiRequest *req, PRUint8 role)
: request(req), fcgiRole(role) ... |
{% extends "base.html" %}
{% load account_tags %}
{% load bootstrap %}
{% block head_title %}Login{% endblock %}
{% block content %}
<div class="row">
<div class="col-md-4">
<form method="POST" action="{% url "account_login" %}" autocapitalize="off" {% if form.is_multipart %} enctype="multipa... |
package com.xcompany.xproject.product.service;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.client.discovery.DiscoveryClient;
import org.springframework.core.env.Environment;
import org.springframework.web.bind.... |
package Google::Ads::GoogleAds::V12::Services::AssetSetService;
use strict;
use warnings;
use base qw(Google::Ads::GoogleAds::BaseService);
sub mutate {
my $self = shift;
my $request_body = shift;
my $http_method = 'POST';
my $request_path = 'v12/customers/{+customerId}/assetSets:mutate';
my $respo... |
/*
* File: motor_can.c
* Author: jonathan
*
* Created on September 3, 2014, 5:34 PM
*/
#include <xc.h>
#include "motor_can_state.h"
#include "can_dspic33e_motor.h"
#include "motor_can.h"
#ifdef CONF72
#include "motor_objdict_72.h"
#else
#include "motor_objdict_2.h"
#endif
#include "../../PMSMx/PMSMBoard.h"
#... |
if Sinatra::Application.development?
ActiveRecord::Base.logger = Logger.new(STDOUT)
end
# Automatically load every file in APP_ROOT/app/models/*.rb, e.g.,
# autoload "Person", 'app/models/person.rb'
#
# See http://www.rubyinside.com/ruby-techniques-revealed-autoload-1652.html
#
Dir[APP_ROOT.join('app', 'models', '... |
package io.t28.shade.test;
import io.t28.shade.annotation.Preferences;
import io.t28.shade.annotation.Property;
@Preferences
public interface ParameterMethod {
@Property("key_name")
String name(String defaultValue);
}
|
<?php
namespace Funstaff\TikaBundle\Wrapper;
use Funstaff\TikaBundle\Wrapper\TikaInterface;
use Symfony\Bridge\Monolog\Logger;
/**
* Tika
*
* @author Bertrand Zuchuat <bertrand.zuchuat@gmail.com>
*/
class Tika implements TikaInterface
{
protected $configuration;
protected $outputFormat;
protected $... |
<component name="ProjectDictionaryState">
<dictionary name="xialin">
<words>
<w>tagline</w>
</words>
</dictionary>
</component> |
#import <Foundation/Foundation.h>
#import <AWSCore/AWSCore.h>
@interface PETGetStreamResponse : AWSModel
@property (nonatomic, strong) NSString *streamId;
@property (nonatomic, strong) NSString *streamType;
@property (nonatomic, strong) NSString *streamName;
@property (nonatomic, strong) NSNumber *streamA... |
package api
import (
"encoding/json"
"fmt"
"net"
"github.com/astaxie/beego"
"github.com/toolkits/logger"
"github.com/coraldane/ops-common/model"
"github.com/coraldane/ops-meta/store"
)
type HeartbeatController struct {
beego.Controller
}
func (this *HeartbeatController) Post() {
jsonResult := make(map[str... |
<?php
namespace Mustache;
/**
* Provides a nice way to catch all exceptions
* thrown by Mustache
*
* @package Mustache
* @license MIT License <LICENSE>
* @link http://github.com/adlawson/mustache
*/
interface ExceptionInterface
{
}
|
cc.INT_VALUE = 0;
cc.FLOAT_VALUE = 1;
cc.POINTER_VALUE = 2;
cc.BOOL_VALUE = 3;
cc.UNSIGNEDCHAR_VALUE = 4;
cc.BuilderValue = cc.Class.extend({
_value: null,
_type: 0,
getIntValue: function () {
},
getFloatValue: function () {
},
getBoolValue: function () {
},
getByteValue: fun... |
package envoy_extensions_transport_sockets_tls_v3
import (
"bytes"
"errors"
"fmt"
"net"
"net/mail"
"net/url"
"regexp"
"sort"
"strings"
"time"
"unicode/utf8"
"google.golang.org/protobuf/types/known/anypb"
)
// ensure the imports are used
var (
_ = bytes.MinRead
_ = errors.New("")
_ = fmt.Print
_ = utf... |
package com.sdwfqin.sample.view.courtesycard;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import android.widget.LinearLa... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Aspicilia ochraceorubra Räsänen
### Remarks
null |
""" Settings for c300 """
from .base import *
try:
from .local import *
except ImportError, exc:
exc.args = tuple(
['%s (did you rename settings/local-dist.py?)' % exc.args[0]])
raise exc
|
layout: post
title: "Addendum to UI Testing with Stubbed Network Data"
author: Nick Pachulski
tags: ["Test Driven Development", "Testing", "iOS", "Swift"]
excerpt_separator: <!--end-of-excerpt-->
redirect_from: /2016/addendum-to-ui-testing-with-stubbed-network-data/
---
This post will only be helpful to you if you int... |
import 'core-js/stable';
import 'core-js/features/typed-array/uint16-array';
import React from 'react';
import ReactRailsUJS from 'react_ujs';
import {Root, setupI18n} from 'pageflow-scrolled/frontend';
ReactRailsUJS.getConstructor = function() {
// Normally this function receives the name of a component, but we
... |
"use strict";
var config, fs, getLastPackage, getPackage, getVersionnedPackage, logger, request, root, sCachePath;
root = "" + __dirname + "/..";
request = require("request");
fs = require("fs");
logger = require("" + root + "/lib/logger.js");
config = require("" + root + "/../config.json");
sCachePath = "" + ... |
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**campaign_id** | **int** | |
**survey_id** | **int** | ID опроса | [optional]
**name** | **string** | Название кампании | [optional]
**targeting** | [**\AnketologClient\Model\CampaignTargeting**](CampaignTargeting.md) | ... |
#include <Furrovine++/Exception.h>
namespace Furrovine {
class ArgumentException : Exception {
furrovineapi ArgumentException( );
furrovineapi ArgumentException( const String& message );
furrovineapi ArgumentException( String&& message );
};
} |
#define __CL_ENABLE_EXCEPTIONS
#if defined CL_CONTEXT_OFFLINE_DEVICES_AMD
#pragma OPENCL EXTENSION CL_CONTEXT_OFFLINE_DEVICES_AMD : enable
#endif
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include "CL/cl.hpp"
#include <string>
using namespace std;
const char* kernel_code = "__kernel void hello(__global ... |
layout: markdown_page
title: Checklist for becoming a GitLab API Expert
---
Create an issue with this checklist on the [support team issue tracker](https://gitlab.com/gitlab-com/support/issues/)
with the **Title:** *"GitLab API Boot Camp - your_name"*
Tackle stage 1 first and the last stage last, but the others can b... |
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "main.h"
#include "db.h"
#include "init.h"
#include "bitcoinrpc.h"
using name... |
/**
* Telegram Bot API for Node.js with ESNext
* @version 0.0.1
* @author Ali Mihandoost <i@ali.md> (http://ali.md/)
* @license MIT
*/
"use strict";
const more_1 = require('./more');
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = more_1.default;
|
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Ajax extends CI_Controller{
public function __construct()
{
parent::__construct();
$this->load->model('ajax_model');
$this->load->library('session');
}
public function username_taken()
{
$var = $this->ajax_model->chek_... |
require 'test_helper'
class CronTest < Whenever::TestCase
should "raise if less than 1 minute" do
assert_raises ArgumentError do
parse_time(Whenever.seconds(59, :seconds))
end
assert_raises ArgumentError do
parse_time(Whenever.seconds(0, :minutes))
end
end
# For sanity, do some test... |
import {
ChangeDetectionStrategy,
ChangeDetectorRef,
Component,
ElementRef,
EventEmitter,
Input,
OnDestroy,
OnInit,
Output,
ViewChild,
} from '@angular/core';
import {fromEvent, Subject} from 'rxjs';
import {takeUntil} from 'rxjs/operators';
import {RangeInputSource, RangeValues, SingleValue} from ... |