answer stringlengths 15 1.25M |
|---|
import React, { Component } from 'react';
import VolunteerRow from '../VolunteerRow/VolunteerRow.js';
// css requires
require('./TableComponent.css');
export default class TableComponent extends Component {
meetsFilters(volunteer){
return this.meetsTextFilter(volunteer) && this.meetsOptionsFilters(volunteer... |
package jedi.db.exceptions;
public class <API key> extends RuntimeException {
private static final long serialVersionUID = 271849121410861140L;
public <API key>() {
super();
}
public <API key>(String message) {
super(message);
}
public <API key>(Throwable cause) {
super(cause);
}
... |
using System;
using System.Collections.Generic;
using Android.Content;
using Android.Views;
using AndroidX.Fragment.App;
using AndroidX.RecyclerView.Widget;
//using DialogFragment = Android.Support.V4.App.DialogFragment;
namespace LottieSamples.Droid
{
public class <API key> : DialogFragment
{
private R... |
package commons.util;
import java.lang.reflect.*;
import java.util.*;
public class <API key> {
static Set<String> methodSet(Class<?> type) {
Set<String> result = new TreeSet<String>();
for (Method m : type.getMethods())
result.add(m.getName());
return result;
}
static voi... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_76-release) on Fri Dec 23 12:26:59 KST 2016 -->
<title><API key></title>
<meta name="date" content="2016-12-23">
<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
<script typ... |
#include "../program_options.hpp"
#include "../common.hpp"
using namespace std;
using namespace crab::analyzer;
using namespace crab::cfg;
using namespace crab::cfg_impl;
using namespace crab::domain_impl;
int main (int argc, char** argv )
{
SET_TEST_OPTIONS(argc,argv)
variable_factory_t vfac;
z_term_domain_t dom... |
# Conway's Game of Life
This is an example Scala implementation of [Conway's Game of Life](http://en.wikipedia.org/wiki/Conway's_Game_of_Life). It was the subject of the first Functional Programming Dojo.
The final implementation is the file GameOfLife.scala and is a standalone Scala script that can be run from the com... |
package com.unsis.calificaciones.service;
import java.util.ArrayList;
import java.util.List;
import org.springframework.stereotype.Service;
import com.unsis.calificaciones.model.Materia;
import com.unsis.calificaciones.repository.MateriaRepository;
@Service
public class MateriaService {
private final MateriaReposit... |
# AUTOGENERATED FILE
FROM balenalib/artik533s-debian:jessie-build
# remove several traces of debian python
RUN apt-get purge -y python.*
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
# key 63C7CC90: public key "Simon McVittie <smcv@pseudorando... |
from django.db import models
class PageContent(models.Model):
id = models.AutoField(primary_key=True)
class Meta:
verbose_name='Page Content'
verbose_name_plural='Page Content'
def __unicode__(self):
return u'PageContent' |
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="../css/audio_samples.css">
<title>CHiVE: Examples of side-by-side comparison</title>
</head>
<body>
<center>
<div class="main_content">
<h1>CHiVE: Examples of side-by-side comparison</h1>
<div class="comment">
<a href="../... |
import org.apache.spark.SparkConf;
import org.apache.spark.SparkContext;
import org.apache.spark.api.java.JavaRDD;
import org.apache.spark.api.java.function.Function;
import org.apache.spark.mllib.classification.SVMModel;
import org.apache.spark.mllib.classification.SVMWithSGD;
import org.apache.spark.mllib.evaluation.... |
package grafeas
// Basis describes the base image portion (Note) of the DockerImage relationship. Linked occurrences are derived from this or an equivalent image via: FROM <Basis.resource_url> Or an equivalent reference, e.g. a tag of the resource_url.
type DockerImageBasis struct {
// The resource_url for the r... |
#include<stdio.h>
#include<string.h>
#define MAX_LONG 200
#define CADENA_PRUEBA "Hola a todos"
int longitud_string(char * s){
int i=0;
while(*(s++) != '\0')
i++;
return i;
}
int main(void){
char string1[] = CADENA_PRUEBA;
char string2[MAX_LONG];
printf("cadena: %s\n", string1);
print... |
package com.google.mbdebian.springboot.playground.microservices.tutorial;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.query.Param;
import org.springframework.data.rest.core.annotation.<API key>;
import org.springframework.data.rest.core.annotation.RestResourc... |
package com.s24.redjob.worker.events;
/**
* Queue event.
*/
public interface QueueEvent {
/**
* Queue.
*/
String getQueue();
} |
This folder contains launch files for running simulations and interfacing with real robots.
- common : launch files that are used by other launch files.
- real : launch files that are used for interfacing with real robots.
- sims : launch files for running simulated robots in gazebo. |
body{
padding-top:50px;
}
.principal{
padding:40px 15px;
text-align: center;
} |
package app.monitor.kafka;
import app.monitor.alert.AlertService;
import core.framework.log.Severity;
import core.framework.log.message.StatMessage;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.... |
# rkt Commands
Work in progress. Please contribute if you see an area that needs more detail.
## Downloading Images (ACIs)
[aci-images]: https://github.com/appc/spec/blob/master/spec/aci.md#app-container-image
[appc-discovery]: https://github.com/appc/spec/blob/master/spec/discovery.md#<API key>
rkt runs applications p... |
<script type="text/javascript">
HomeDisplayCategory();
</script> |
// ServerCommunication.h
// TravelBook
#import <Foundation/Foundation.h>
#import "Reachability.h"
#import "GTLRTravelbook.h"
#define SERVER_BASE_URL @"https://carnet-de-voyage.appspot.com"
#define SERVER_EMAIL @"items@carnet-de-voyage.appspot.com"
//#define SERVER_EMAIL @"items@fwkdemo2.appspotmail.com"
@class Item;
... |
require 'sidekiq/web'
Hummingbird::Application.routes.draw do
resources :library_entries, except: [:new, :edit]
resources :<API key>, except: [:new, :edit]
resources :franchises, only: [:index, :show]
resources :full_anime, only: [:show, :update, :destroy]
resources :full_manga, only: [:show, :update]
resou... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_77) on Mon May 23 19:36:50 EDT 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Uses of Class org.apache.lucene.queryparser.flexible.core.util.StringUtils (Lucene 6.0.1 API)</title>
<met... |
var Net = require('net');
var Config = require('../config');
var callbackArray = new Array();
module.exports = function (callback) {
var localserver = Net.createServer(function (c) { //'connection' listener
console.log('server connected');
c.on('end', function () {
console.log('server di... |
# AUTOGENERATED FILE
FROM balenalib/npe-x500-m3-debian:jessie-run
ENV NODE_VERSION 12.22.1
ENV YARN_VERSION 1.22.4
RUN buildDeps='curl libatomic1' \
&& set -x \
&& for key in \
<API key> \
; do \
gpg --batch --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --batch --keyserver keyserve... |
package de.bluebiz.bluelytics.api.query.plan.options;
/**
* A resource name operator option
*/
public class <API key> implements OperatorOption {
private final String name;
private final String space;
/**
* Instantiates a new Operator option resource name.
*
* @param space the space
* ... |
package org.ebayopensource.turmeric.monitoring.aggregation.error.writer;
import java.util.Date;
import java.util.Map;
import java.util.Map.Entry;
import me.prettyprint.cassandra.serializers.<API key>;
import me.prettyprint.hector.api.beans.HColumn;
import me.prettyprint.hector.api.factory.HFactory;
import me.prettyprin... |
package com.yahoo.config.application;
import com.yahoo.config.model.application.provider.Bundle;
import com.yahoo.io.IOUtils;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.jar.JarFile;
i... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_151) on Wed Jul 17 09:40:07 MST 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.wildfly.swarm.config.jgroups.stack.Transport (BOM: * : All 2.4.1.Final-SNAPSHOT API)</... |
// Magic Software, Inc.
// The Wild Magic Library (WML) source code is supplied under the terms of
// and may not be copied or disclosed except in accordance with the terms of
// that agreement.
#ifndef WMLEIGENH
#define WMLEIGENH
#include "WmlMatrix2.h"
#include "WmlMatrix3.h"
#include "WmlMatrix4.h"
#include "WmlGMat... |
var mcast_snooping_8h =
[
[ "mcast_group", "structmcast__group.html", "structmcast__group" ],
[ "mcast_group_bundle", "<API key>.html", "<API key>" ],
[ "<API key>", "<API key>.html", "<API key>" ],
[ "mcast_port_bundle", "<API key>.html", "<API key>" ],
[ "mcast_snooping", "<API key>.html", "<API k... |
// +build go1.9
package ssocreds
import (
"fmt"
"reflect"
"testing"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/credentials"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/service/sso"
"github.com/aws/aws-sdk-go/service/sso/ssoiface"
)
ty... |
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC "-
<html>
<head>
<title>AndHaveWord - ScalaTest 2.1.7 - org.scalatest.matchers.MatcherFactory2.AndHaveWord</title>
<meta name="description" content="AndHaveWord - ScalaTest 2.1.7 - org.scalatest.matchers.MatcherFactory2.AndHaveWord... |
namespace StockSharp.Algo.Storages.Csv
{
using System;
using Ecng.Common;
using StockSharp.Messages;
<summary>
CSV helper class.
</summary>
static class CsvHelper
{
<summary>
<see cref="DateTime"/> format.
</summary>
public const string DateFormat = "yyyyM... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_151) on Wed Dec 04 18:43:10 MST 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.wildfly.swarm.spi.api.SocketBindingGroup (BOM: * : All 2.5.1.Final-SNAPSHOT API)</titl... |
declare module Bridge {
export type TypeRef<T> = { prototype: { valueOf(): T } | T };
export function global<T>(): T;
export function emptyFn(): Function;
export function box<T>(v: T, type: { prototype: T }): { v: T, type: { prototype: T } };
export function unbox(obj: any, noclone?: boolean): any;
... |
# AUTOGENERATED FILE
FROM balenalib/artik710-debian:bullseye-build
ENV GO_VERSION 1.16.3
RUN mkdir -p /usr/local/go \
&& curl -SLO "https://storage.googleapis.com/golang/go$GO_VERSION.linux-arm64.tar.gz" \
&& echo "<SHA256-like> go$GO_VERSION.linux-arm64.tar.gz" | sha256sum -c - \
&& tar -xzf "go$GO_VERSIO... |
#ifndef PAD_NOTE_H
#define PAD_NOTE_H
#include "SynthNote.h"
#include "../globals.h"
#include "../Params/PADnoteParameters.h"
#include "../Params/Controller.h"
#include "Envelope.h"
#include "LFO.h"
#include "../Params/Controller.h"
/**The "pad" synthesizer*/
class PADnote:public SynthNote
{
public:
PADnote... |
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM e:/builds/moz2_slave/rel-2.0-xr-w32-bld/build/modules/libpr0n/public/imgIContainer.idl
*/
#ifndef <API key>
#define <API key>
#ifndef <API key>
#include "nsISupports.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_... |
using System;
using System.Collections.Generic;
using System.Linq;
using PlanetaryMotion.Storage.Context;
namespace PlanetaryMotion.Storage.Base
{
<summary>
</summary>
<typeparam name="T"></typeparam>
public abstract class StorageBase <T> where T: class
{
<summary>
Gets or sets the d... |
#pragma warning(disable:4996)
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <stdlib.h>
int main(int argc, char** argv)
{
char infile[256], outfile[256];
int mszx, mszy, outmszx, outmszy;
short *inputimg, *outputimg;
int i, j, intX, intY;
float ratiox, ratioy, floatX, floatY, delt... |
<?php
include("connexion.php");
$affect="update Candidature set dateC=Datetime(NOW()) where idProj=$_SESSION['idProj'] and idGrC=$_SESSION['legroupecliqué']";
$execaffect=mysqli_query($link,$affect);
$dateact=date("Y-m-d");
$heureact=date("H:i");
$delaiJFinal=date("Y-m-d", strtotime("+".1." day",strtotime($dateact)));
... |
/*Logo*/
.header {
background: #fff;
height: 60px;
line-height: 60px;
border-bottom: 1px solid #ececec;
}
.header .logo {
width: 109px;
height: 60px;
float: left;
display: inline-block;
margin-right: 60px;
}
.header .logo img {
width: 109px;
margin-top: 10px;
}
/*Logo End*/
.... |
package config
type Dependencies interface {
Configurator
Installs() []string
merge(other Dependencies)
}
func NewDependencies(deps ...string) Dependencies {
s := make(map[string]bool, len(deps))
for _, dep := range deps {
s[dep] = exists
}
return dependencies{
set: s,
}
... |
#pragma once
#include "Vector3.h"
namespace BasicRenderer
{
class PointLight
{
public:
class Vector3 position;
float intensity = 1.0f;
PointLight() {}
PointLight(float intensity_, const Vector3& pos) : intensity(intensity_), position(pos) {}
PointLight(const PointLigh... |
<?php
@include "config.php";
$pass = $row1[value];
if($_COOKIE["pass"]!==$pass){
sleep(1);
if(isset($_POST["pass"])){
setcookie("pass",md5($_POST["pass"]), time()+3600*24*14);
die('<meta http-equiv="refresh" content="1; url=/admin.php">');
}
?>
<html>
<head><title>Админ панель</title></head>
<body... |
<!DOCTYPE html>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>{gooraye:$tpl.wxname}</title>
<base href="." />
<meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no;" />
... |
package Paws::Pinpoint::SMSMessage;
use Moose;
has Body => (is => 'ro', isa => 'Str');
has MessageType => (is => 'ro', isa => 'Str');
has SenderId => (is => 'ro', isa => 'Str');
has Substitutions => (is => 'ro', isa => 'Paws::Pinpoint::MapOfListOf__string');
1;
main pod documentation begin
=head1 NAME
Paws::P... |
package com.alibaba.tamper.process.script;
/**
* modelBuilder
*
* <pre>
*
* 1.buildermodel
* 2.data
* 3.formatter
* </pre>
*
* @author jianghang 2011-5-20 03:43:14
*/
public interface ScriptContext {
} |
package eu.snigle.corsaire;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import android.view.KeyEvent;
public class <API key> extends BroadcastReceiver{
private static final String TAG = "MainRemoteControlR";
public <API key>()... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_151) on Thu Mar 08 14:17:42 MST 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.wildfly.swarm.config.management.access.FileHandler (BOM: * : All 2018.3.3 API)</title>... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_60-ea) on Tue Aug 16 17:15:34 EDT 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.wildfly.swarm.config.datasources.FlushStrategy (Public javadocs 2016.8.1 API)</title>... |
package web
import (
"crypto/tls"
"crypto/x509"
"net/http"
"net/url"
"github.com/gravitational/teleport/lib/httplib"
"github.com/gravitational/roundtrip"
"github.com/gravitational/trace"
)
func newInsecureClient() *http.Client {
return &http.Client{
Transport: &http.Transport{
... |
package com.ans.cloud.data.mybatis.interceptor;
import com.ans.cloud.data.model.Page;
import com.ans.cloud.data.model.QPageQuery;
import org.apache.ibatis.executor.resultset.ResultSetHandler;
import org.apache.ibatis.mapping.MappedStatement;
import org.apache.ibatis.plugin.Intercepts;
import org.apache.ibatis.plugin.In... |
package ca.uhn.fhir.jpa.config;
import java.util.Properties;
import org.hibernate.dialect.H2Dialect;
import org.hibernate.search.backend.lucene.cfg.<API key>;
import org.hibernate.search.engine.cfg.BackendSettings;
import org.hibernate.search.mapper.orm.cfg.<API key>;
import org.springframework.context.annotation.Bean;... |
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC "-
<html>
<head>
<title>AndHaveWord - ScalaTest 2.2.1 - org.scalatest.matchers.MatcherFactory3.AndHaveWord</title>
<meta name="description" content="AndHaveWord - ScalaTest 2.2.1 - org.scalatest.matchers.MatcherFactory3.AndHaveWord... |
#ifndef PROCESS_INFO_HPP
#define PROCESS_INFO_HPP
#include <linux/limits.h>
struct process_info {
int ppid;
int pid;
int tgid;
char name[PATH_MAX];
};
#endif |
identifier: index
layout: default
title: .NET-bibliotek for sending av sikker digital post for offentlig sektor
redirect_from:
{% for dok in site.v2_0 %}
{% if dok.identifier != 'index' %}
<h2 id="{{dok.identifier}}">{{dok.title}}</h2>
<div class="body">
<p>{{dok.content}}</p>
</... |
package org.dynmap.markers;
import java.util.Set;
/**
* This defines the public interface to a marker set object, for use with the MarkerAPI.
* This represents a logical set of markers, which are presented as a labelled layer on the web UI.
* Marker sets can be created as persistent or non-persistent, but only persi... |
FROM busybox
CMD while true; do echo foo; sleep 1; done |
package com.mingle.bouncyhintedittext;
import android.app.Application;
import android.test.ApplicationTestCase;
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
super(Application.class);
}
} |
<?php
namespace app\common\payment\wxpay;
class Log_
{
// log
function log_result($file,$word)
{
$fp = fopen($file,"a");
flock($fp, LOCK_EX) ;
fwrite($fp,"".strftime("%Y-%m-%d-%H%M%S",time())."\n".$word."\n\n");
flock($fp, LOCK_UN);
fclose($fp);
}
}
?> |
from epumgmt.api.actions import ACTIONS
from epumgmt.main import ControlArg
import optparse
a = []
ALL_EC_ARGS_LIST = a
# EM ARGUMENTS
# The following cmdline arguments may be queried via Parameters, using either
# the 'name' as the argument or simply the object like:
# params.get_arg_or_none(em_args.GRACE_PERIOD)
AC... |
package modelo.data;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import java.util.<API key>;
import java.util.function.Predicate;
import java.util.stream.Collectors;
import modelo.Fornecedor;
import modelo.data.interfaces.IFornecedorDAL;
/**
*
* @author edsonmarcks
*/
public clas... |
layout: relation
title: 'aux'
shortdef: 'auxiliary'
# The filename "aux" is not allowed on Windows, so we redirect instead
redirect_from: "bn/dep/aux.html"
This document is a placeholder for the language-specific documentation
for `aux`. |
<!DOCTYPE html>
<html style="height:100%;overflow:hidden">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
<meta name="viewport"
content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=de... |
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: <API key>("")]
[assembly: AssemblyCompany("")]
[assembly: A... |
'use strict';
// Authentication service for user variables
angular.module('users').factory('Authentication', ['$rootScope', '$location',
function($rootScope, $location) {
var _this = this;
var security = window.security;
var mapRoles = function(authorityCollection){
return author... |
// modification, are permitted provided that the following conditions are
// met:
// in the documentation and/or other materials provided with the
// distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// "AS IS" AND ANY EXP... |
ObjectHydrator
===========
This project allows you to pass custom POCO's to it, and have it return an instance of the class populated with randomly generated but real-world looking data. This random data can be overridden by convention.
Basic syntax looks like this:
Hydrator<Customer> _customerHydrator = new Hydrator<C... |
#pragma once
#include <vespa/storage/common/cluster_context.h>
#include <vespa/storageapi/messageapi/storagemessage.h>
#include <cstdint>
namespace document { class BucketIdFactory; }
namespace storage::framework { struct Clock; }
namespace storage::distributor {
/**
* Interface that provides information and state abo... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_60) on Thu Nov 05 22:43:47 MST 2015 -->
<title>Uses of Class ca.ualberta.cs.swapmyride.SearchController</title>
<meta name="date" content="2015-11-05">
<link rel="stylesheet" type="text/css" href="../../../../../styleshee... |
package com.walmart.labs.pcs.normalize.RestfulService;
import com.walmart.labs.pcs.normalize.utils.HttpClientFactory;
import org.apache.http.<API key>;
import org.apache.http.<API key>;
import org.apache.http.client.methods.<API key>;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.client.protoco... |
package de.tum.in.niedermr.ta.runner.configuration.parser.migration;
import de.tum.in.niedermr.ta.runner.configuration.property.templates.<API key>;
/** Migration for the configuration from version 2 to 3. */
class <API key> implements <API key> {
/** {@inheritDoc} */
@Override
public int getFromVersion() {... |
package dk.aau.sw402F15.tests.parser;
import dk.aau.sw402F15.parser.node.ABranchStatement;
import dk.aau.sw402F15.parser.node.<API key>;
import dk.aau.sw402F15.parser.node.AProgram;
import dk.aau.sw402F15.parser.node.Node;
import dk.aau.sw402F15.tests.ParserTest;
import junit.framework.Assert;
import org.junit.Test;
pu... |
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Example - <API key></title>
<script src="../../components/jquery-2.1.1/jquery.js"></script>
<script src="../../../angular.js"></script>
</head>
<body ng-app="windowExample">
<script>
angular.module('windowExample', [])
.controller('Ex... |
package org.glamey.training.zookeeper.election;
/**
* Leader
*
* @author zhouyang.zhou. 2017.11.08.11.
*/
public interface Leader {
/**
* ID
*
* @return
*/
String getMyId();
/**
* leader ID
*
* @return
*
* @throws Exception
*/
String getLeaderId() throws Exception;
/**
* l... |
Honeybadger.configure do |config|
config.api_key = ENV['HONEYBADGER_API_KEY']
end if ENV.key? 'HONEYBADGER_API_KEY' |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_23) on Fri Jan 18 23:42:17 EST 2013 -->
<TITLE>
Uses of Class openjava.ojc.Compiler (OpenJava MOP API)
</TITLE>
<META NAME="date" CONTENT="2013-01-18">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="... |
#pragma warning disable 1591
// <autogenerated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </autogenerated>
[assembly: Android.Runtime.<API key>("Concur.Sample.ClientLibrary.Resource", IsApplication=true)... |
package com.alibaba.json.bvt.issue_1600;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.TypeReference;
import com.alibaba.fastjson.parser.ParserConfig;
import com.alibaba.fastjson.util.TypeUtils;
import junit.framework.TestCase;
import java.util.Collection;
public class Issue1665 extends TestCase {
p... |
title: Expenses v4
layout: reference
The Expenses API can be used to read the expenses that belong to a specific expense report and modify an expense on an existing expense report. This API can be used to change attributes like transaction date, transaction amount, location, etc.
* [Limitations](#limitations)
* [Produc... |
package com.example.sunshine;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.widget.Toast;
import com.example.sunshine.LEDContract.LEDEntry;
public class Controller {
String name;
String ipAddres... |
# AUTOGENERATED FILE
FROM balenalib/<API key>:3.11-build
ENV GO_VERSION 1.16.3
# set up nsswitch.conf for Go's "netgo" implementation
# - docker run --rm debian:stretch grep '^hosts:' /etc/nsswitch.conf
RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf
RUN mkdir -p /usr/local/go \
&& c... |
// +build !arm
package host
func charsToString(ca [65]int8) string {
s := make([]byte, len(ca))
var lens int
for ; lens < len(ca); lens++ {
if ca[lens] == 0 {
break
}
s[lens] = uint8(ca[lens])
}
return string(s[0:lens])
} |
package mx.zetta.adf.business.salesorder;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.persistence.Query;
import javax.persistence.TypedQuery;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Prop... |
package com.presidentio.testdatagenerator.cons;
public class DelimiterConst {
public static final String COMMA = ",";
public static final String TAB = "\t";
public static final String NEW_LINE = "\n";
public static final String SPACE = " ";
} |
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;
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RProcessNode", propOrder = {
"name",
"de... |
<?php
namespace Liuwen\Alipay\Request;
/**
* ALIPAY API: zhima.credit.score.get request
*
* @author auto create
* @since 1.0, 2016-11-08 10:44:52
*/
class <API key>
{
private $bizContent;
private $apiParas = array();
private $terminalType;
private $terminalInfo;
private $prodCode;
private $... |
package org.neo4j.cypher.internal.compiler.v2_3.mutation
import org.neo4j.cypher.internal.frontend.v2_3.test_helpers.CypherFunSuite
class <API key> extends CypherFunSuite with <API key> {
val byte: Byte = 1
val short: Short = 1
val int: Int = 1
val long: Long = 1
val float: Float = 1
val double: Double = 1
... |
# Identifiers
All objects in the QingYuan REST API are unambiguously identified by a Name and a UID.
For non-unique user-provided attributes, QingYuan provides [labels](labels.md) and [annotations](annotations.md).
## Names
Names are generally client-provided. Only one object of a given kind can have a given name at a... |
package eu.scape_project.planning.services.notification;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Date;
import java.util.List;
import java.util.UUID;
import javax.annotation.Resource;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.trans... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_112) on Thu Apr 06 08:02:38 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>LoggerConsumer (Public javadocs 2017.4.0 API)</title>
<meta name="date" content="2017-04-06">
<link rel="... |
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>send</title>
<link href="../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../../";</script> <script>const storage = localStorage.getItem("dokka-dark-mode")
const ... |
description: Integrate external tools with GoCD
keywords: gocd integrations, tool integrations, cctray, configure tracking tool
title: Integrating GoCD With Other Tools
url: /integration/
# GoCD Integration with external tools
## Integration with bug tracking and story management tools
GoCD allows you to link your comm... |
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>Infinity</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">Infinity()</font></b></p>
<p><b></b></p><blockquote>
Re... |
package com.cheer.petstore.dao;
import com.cheer.petstore.domain.Pet;
public interface PetDao
{
void save(Pet pet);
void delete(Pet pet);
void update(Pet pet);
} |
#!/bin/bash -e
DATA_DIR=data/dqa_parts_v1/
SCRIPT_DIR=experiments/dipart/scripts/preprocess/
RAW_ANNOTATIONS=$DATA_DIR/annotation.json
IMAGE_DIR=$DATA_DIR/
# SYNTACTIC_NGRAMS=~/Desktop/syntactic_ngrams/
DIAGRAM_SIZE_OUTPUT=$DATA_DIR/diagram_sizes.txt
OUTPUT=$DATA_DIR/diagrams.json
# NGRAM_OUTPUT=$DATA_DIR/syntactic_ngr... |
package by.nesterione.experiments.swing;
import java.awt.Canvas;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.beans.BeanInfo;
import java.beans.Beans;
import java.beans.EventSetDescriptor;
import java.beans.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.