answer stringlengths 15 1.25M |
|---|
# <API key>
Install a Puppet master along with the utilities that I use (following the generally accepted best-practises) and sensible defaults.
- Puppetserver
- Dynamic environments
- R10k
- Git
- Hiera
Notice there is no PuppetDB. Puppet can install/configure PuppetDB itself, so I do not see a place for it in the boo... |
using System;
using System.Net;
#if !NETFX_CORE
using NUnit.Framework;
using TestClass = NUnit.Framework.<API key>;
#else
using Microsoft.VisualStudio.TestTools.UnitTesting;
#endif
using Mina.Core.Future;
using Mina.Core.Service;
namespace Mina.Transport.Socket
{
[TestClass]
public class DatagramBindTest : Abst... |
package org.usc.demo.lottery;
import java.util.*;
public class DrawUtil {
public static int randomDraw(List<Double> list0) {
if (list0 == null || list0.size() < 1)
return -1;
List<Double> list = new ArrayList<Double>();
double sum = 0d;
for (Double dd : list0) {
... |
package core.API;
import org.json.simple.JSONObject;
import java.util.ArrayList;
import java.util.List;
public class Passenger implements MessagesInterface {
private Integer id;
private Integer elevator;
private Integer fromFloor;
private Integer destFloor;
private Integer state;
private Integer... |
public class SIAndAmount {
public static void main(String[] args) {
System.out.println("Simple Interest & Amount");
System.out.println();
double principal = 10000;
double rate = 8.5;
double time = 4;
System.out.println("Principal: " + principal);
System.out.pr... |
using Telerik.UI.Xaml.Controls.Grid.Primitives;
using Windows.UI.Xaml.Automation;
using Windows.UI.Xaml.Automation.Peers;
using Windows.UI.Xaml.Automation.Provider;
namespace Telerik.UI.Automation.Peers
{
public class <API key> : <API key>, <API key>
{
public <API key>(<API key> owner)
: bas... |
<!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>nodeCluster | Graphinius</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet... |
<table border="1" id="table1" style="border-collapse: collapse">
<tr>
<td height="25" align="center"><span style="font-size: 16px"></span></td>
<td height="25" align="center"><span style="font-size: 16px">241</span></td>
<td height="25" align="center"><span style="font-size: 16px"></span></td>
<td height="25px" al... |
import org.projectodd.jrapidoc.annotation.rest.DocReturn;
import org.projectodd.jrapidoc.annotation.rest.DocReturns;
public class ReturnTypeExample {
@DocReturn(http = 200, type = Object.class, headers = {"X-Header", "X-Option"}, cookies = {"sessionid"}, description = "Some description")
public void foo(){}
... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
// This Source Code Form is subject to the terms of the Mozilla
#ifndef EIGEN_MACROS_H
#define EIGEN_MACROS_H
// Eigen version and basic defaults
#define EIGEN_WORLD_VERSION 3
#define EIGEN_MAJOR_VERSION 3
#define EIGEN_MINOR_VERSI... |
# AUTOGENERATED FILE
FROM balenalib/<API key>:buster-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@pseudorandom.co.uk... |
(function() {
'use strict';
angular.module('app', [
'ui.router',
'restangular',
'ngMap',
'ngAnimate',
'thatisuday.ng-image-gallery',
'angular-flexslider',
'app.home',
]);
})(); |
package gw.internal.gosu.parser.java.classinfo;
import gw.config.CommonServices;
import gw.internal.gosu.parser.DefaultTypeLoader;
import gw.lang.reflect.IDefaultTypeLoader;
import gw.lang.reflect.ITypeRefFactory;
import gw.lang.reflect.<API key>;
import gw.lang.reflect.Modifier;
import gw.lang.reflect.TypeSystem;
impo... |
# encoding: utf-8
# Universidade do Estado do Amazonas - UEA
# Prof. Jucimar Jr
# ULISSES ANTONIO ANTONINO DA COSTA - 1515090555
# TIAGO FERREIRA ARANHA - 1715310047
# VICTOR HUGO DE OLIVEIRA CARREIRA - 1715310063
# REINALDO VARGAS - 1715310054
numero1 = int(input("Informe inteiro: "))
numero2 = 0
operacao = 1
resultad... |
package com.rey.material.widget;
import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.view.Window;
import com.rey.material.R;
import com.rey.material.util.LocaleUtil;
import com.rey.material.util.TypefaceUtil;
public cl... |
#include "Paquete.h"
namespace FWK_CS {
Paquete::Paquete() {
}
Paquete::~Paquete() {
}
} |
package apigateway
import (
"net/http"
"strings"
"github.com/grpc-ecosystem/grpc-gateway/runtime"
"openpitrix.io/openpitrix/pkg/client/access"
"openpitrix.io/openpitrix/pkg/gerr"
"openpitrix.io/openpitrix/pkg/logger"
"openpitrix.io/openpitrix/pkg/pb"
"openpitrix.io/openpitrix/pkg/sender"... |
# sonarqube-plugins 6.3
Simple example based on the tutorial: [https:
Took info from http://ashismo.github.io/java-code%20quality%20analyzer/2016/06/09/<API key> as well.
This example demonstrates how to write **Custom Rules** for the SonarQube Java Analyzer (aka SonarJava).
It requires to install **SonarJava** **4.7.1... |
<!DOCTYPE html>
<html>
<head>
<title>Contact Us</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, inital-scale=1.0">
<link rel="icon" type="image/png" href="../media/img/site_icon.ico" >
<link rel="stylesheet" href="../css/stylesheet_basic.css">
<link rel="stylesheet" href="../css/notif_... |
package com.mattwhipple.sproogle.closure.js;
import javax.annotation.Nonnull;
public interface <API key> {
@Nonnull String extractFromTemplate(@Nonnull String template);
} |
using System;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin;
using Microsoft.Owin.Security;
using UmbracoReady.Models.UmbracoIdentity;
using Umbraco.Web;
using UmbracoReady;
using Umbra... |
var Users = function () {
var handleAddUser = function () {
$.validator.addMethod("validUsername", function (value, element) {
return /^[0-9a-zA-Z_.-]+$/.test(value);
}, "Tên người dùng chỉ chứa chữ hoa, thường, số và dấu gạch dưới.");
$.validator.addMethod("userPositionCheck", f... |
package ru.job4j.carstorespring.crudRepositories;
import org.springframework.data.repository.CrudRepository;
import ru.job4j.carstorespring.models.User;
import java.util.List;
/**
* Repository for User.
* @author atrifonov.
* @version 1.
* @since 04.04.2018.
*/
public interface UserRepository extends CrudRepositor... |
<?php
use Illuminate\Database\Seeder;
class RolesTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$role = new \App\Role();
$role->user_id = 1;
$role->role = 'administrator';
$role->category_i... |
package no.acntech.sandbox;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.<API key>;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.data.jpa.convert.threeten.Jsr310JpaConverters;
import org.springframework.data.jpa.repositor... |
#include "halley/support/logger.h"
#include "halley/text/halleystring.h"
#include <gsl/gsl_assert>
#include <iostream>
#include "halley/support/console.h"
using namespace Halley;
StdOutSink::StdOutSink(bool devMode)
: devMode(devMode)
{
}
StdOutSink::~StdOutSink()
{
std::cout.flush();
}
void StdOutSink::log(Log... |
using System.Collections.Generic;
using System.Net.Http;
using System.Threading;
using System.Web.Http;
using System.Web.OData.Batch;
using Microsoft.TestCommon;
namespace System.Web.OData.Test
{
public class <API key>
{
[Fact]
public void <API key>()
{
Assert.ThrowsArgumentN... |
import vtk.vtkActor;
import vtk.vtkSphereSource;
import vtk.vtkNativeLibrary;
import vtk.vtkPolyDataMapper;
import vtk.vtkRenderWindow;
import vtk.vtkNamedColors;
import vtk.vtkRenderer;
import vtk.<API key>;
public class BackgroundColor
{
// Load VTK library and print which library was not properly loaded
static
... |
package in.vesely.eclub.yodaqa.view;
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.text.Html;
import android.text.method.LinkMovementMethod;
import android.widget.TextView;
import org.androidannotations.annotations.EViewGroup;
import org.androidannotations.annotations.ViewByI... |
/** Automatically generated file. DO NOT MODIFY */
package spt.w0pw0p.material.filepicker;
public final class BuildConfig {
public final static boolean DEBUG = false;
} |
package com.hypnoticocelot.telemetry.tracing;
import java.util.UUID;
public interface SpanData {
UUID getTraceId();
UUID getId();
UUID getParentId();
SpanInfo getInfo();
long getStartTimeNanos();
long getDuration();
} |
copyright:
years: 2016,2017
lastupdated: "2017-04-27"
{:new_window: target="_blank"}
{:shortdesc: .shortdesc}
{:screen: .screen}
{:codeblock: .codeblock}
{:pre: .pre}
{: #<API key>}
[<API key>](https://github.com/IBM-Bluemix/<API key>) Node.js {{site.data.keyword.composeForEtcd}}
|
`<API key>`| base64
`deployment_id... |
package com.example.william;
import org.greenrobot.greendao.generator.DaoGenerator;
import org.greenrobot.greendao.generator.Entity;
import org.greenrobot.greendao.generator.Property;
import org.greenrobot.greendao.generator.Schema;
import org.greenrobot.greendao.generator.ToMany;
public class Main {
public static ... |
require 'aequitas'
require 'serf/message'
require 'serf/more/uuid_fields'
require 'virtus'
module Moogle
module Requests
class CreateLink
include Virtus
include Aequitas
include Serf::Message
include Serf::More::UuidFields
attribute :target_id, Integer
attribute :receiver_ref, String
attri... |
package org.wikidata.wdkt.enums;
public enum Entity {
HUMAN("Q5");
private String entityId;
private Entity(String entityId) {
this.entityId = entityId;
}
public String toString(){
return entityId;
}
} |
<?php
class Category extends AppModel{
} |
import java.io.*;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.<API key>;
class InputReader {
private InputStream stream;
private byte[] buf = new byte[1024];
private int curChar;
private int numChars;
private SpaceCharFilter filter;
public ... |
// Use of this source code is governed by a MIT style
package render
import (
"fmt"
"net/http"
)
type Redirect struct {
Code int
Request *http.Request
Location string
}
func (r Redirect) Render(w http.ResponseWriter) error {
if r.Code < 300 || r.Code > 308 {
panic(fmt.Sprintf("Canno... |
using System;
using LD28.Core;
using LD28.Scene;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace LD28.Movables
{
<summary>
A dust cloud entity for making the player's movement more visible.
</summary>
public class DustCloud : Movable, IUpdatable, IRenderable
{
... |
body {
padding-top: 60px;
padding-bottom: 40px;
}
.hero-unit{
padding: 30px;
}
.section{
margin-bottom: 40px;
}
.section .span9{
margin-top: 5px;
}
.linklist{
list-style: none;
margin: 0;
}
.linklist li{
float: left;
margin-right: 20px;
} |
package org.ddd4j.infrastructure.scheduler;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicBoolean;
import org.ddd4j.infrastructure.Promise;
import org.ddd4j.util.Require;
import org.ddd4j.util.collection.RingBuffer;
import org.ddd4j.value.Nothing;
public class Agent<T> {
public inte... |
package main
import (
"reflect"
)
type Person struct {
name string "namestr"
age int
}
func ShowTag(i interface{}) {
switch t := reflect.TypeOf(i); t.Kind() {
case reflect.Ptr:
tag := t.Elem().Field(0).Tag
println(tag)
}
}
func show(i interface{}) {
switch i.(type) {
cas... |
# <API key>
[ which provides similar functionality but for maven build system.
## Description
This gradle plugin allows you to ... |
from django.conf.urls import patterns, include, url
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
url(r'^$', 'Architect.views.home'),
# Include an application:
# url(r'^app_name/', include('app_name.urls', namespace="app_name")),
url(r'^admin/', include(admin.site.urls... |
# MathJax editing
We added text editing capability to MathJax! Inspired by [LyX](www.lyx.org).
# Examples
## Selection and backspacing

## Fundamental theorem of calculus

## Black... |
# AUTOGENERATED FILE
FROM balenalib/jetson-nano-debian:buster-run
ENV <API key>=Json
RUN apt-get update \
&& apt-get install -y --<API key> \
ca-certificates \
curl \
\
# .NET Core dependencies
libc6 \
libgcc1 \
libgssapi-krb5-2 \
libicu63 \
libssl1.1 ... |
# Install script for directory: /Users/vector/tmp/Cobalt/ext/emsdk_portable/clang/tag-e1.34.1/src/lib/Passes
# Set the install prefix
if(NOT DEFINED <API key>)
set(<API key> "/usr/local")
endif()
string(REGEX REPLACE "/$" "" <API key> "${<API key>}")
# Set the install configuration name.
if(NOT DEFINED <API key>)
i... |
package org.iotp.server.service.cluster.rpc;
import org.iotp.analytics.ruleengine.api.asset.<API key>;
import org.iotp.analytics.ruleengine.api.device.<API key>;
import org.iotp.analytics.ruleengine.common.msg.cluster.ToAllNodesMsg;
import org.iotp.analytics.ruleengine.common.msg.core.<API key>;
import org.iotp.analyti... |
#include <iostream>
#include <string>
#include <QtWidgets>
#include <QDoubleSpinBox>
#include "testwidgets.h"
void TestWidgets::getDoubleValue_data()
{
QTest::addColumn<double>("values");
QTest::newRow("value 1") << (double)0;
QTest::newRow("value 2") << (double)500.0;
QTest::newRow("value 3") << (doubl... |
package org.xmlcml.ami.visitor.chem;
import java.io.File;
import java.util.List;
import org.apache.log4j.Logger;
import org.xmlcml.ami.result.AbstractListElement;
import org.xmlcml.ami.result.SimpleResultList;
import org.xmlcml.ami.visitable.html.HtmlContainer;
import org.xmlcml.ami.visitable.svg.SVGContainer;
import o... |
#ifndef TIMER_H
#define TIMER_H
#include <map>
#include <time.h>
#include <sys/time.h>
#include <stdlib.h>
#include <assert.h>
#include <stdio.h>
typedef long long time_value;
struct timer_event {
time_value times;
void *arg;
int eventtype;
};
time_value get_now();
class timer_link {
static const int64_... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_144) on Tue Jul 03 11:45:03 CDT 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Negated</title>
<meta name="date" content="2018-07-03">
<meta name="keywords" content="edu.umn.biomedicus... |
title: Metric and label naming
sort_rank: 1
# Metric and label naming
The metric and label conventions presented in this document are not required
for using Prometheus, but can serve as both a style-guide and a collection of
best practices. Individual organizations may want to approach some of these
practices, e.g. nam... |
# use onbuild variant, this will automatically copies the package source,
# fetches the application dependencies, builds the program,
# and configures it to run on startup
FROM golang:1.7.4-onbuild
MAINTAINER Zhang Wenqing "winking.zhang@grapecity.com"
EXPOSE 8081 |
package com.dsatab.view;
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import com.dsatab.R;
import com.dsatab.data.items.Item;
import com.dsatab.data.items.ItemSpecification;
import com.dsatab.util.Debug;
impo... |
<!DOCTYPE html>
<html lang="en" xmlns="http:
xmlns:fb="http://ogp.me/ns/fb
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0" />
<meta property="og:image" content="assets/img/camel_banner.jpg" />... |
package net
import (
"encoding/binary"
"fmt"
"log"
"net"
"os"
)
type TcpMessageHandler interface {
HandleMessage(clientCon *net.TCPConn, msgData []byte)
}
type TcpHost struct {
mliType MliType
addr *net.TCPAddr
handler TcpMessageHandler
log *log.Logger
}
func NewTcpHost(ml... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_75) on Tue May 19 17:12:43 PDT 2015 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Package org.apache.hadoop.metrics2 (Apache Hadoop Main 2.6.0-cdh5.4.2 API)</title>
<meta ... |
function checkNode(Node)
{
document.getElementById("myModalLabel").setAttribute('nodeName', Node );
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (xhttp.readyState == 4 && xhttp.status == 200) {
var response = xhttp.responseText;
document.getElement... |
import os
import json
import shlex
import pprint
import asyncio
import tempfile
import functools
import subprocess
import synapse.exc as s_exc
import synapse.common as s_common
import synapse.lib.cmd as s_cmd
import synapse.lib.cli as s_cli
ListHelp = '''
Lists all the keys underneath a particular key in the hive.
Synt... |
package com.simplegame.server.share.export;
import java.util.concurrent.TimeUnit;
/**
*
* @Author zeusgooogle@gmail.com
* @sine 201598 11:47:25
*
*/
public interface <API key> {
/**
*
*
* @param moduleName
* @param taskId
* @param command
* @param data
* @param delay
*... |
@font-face {
font-family: audiosa;
src: url("../fonts/big_noodle_titling.ttf");
}
@font-face {
font-family: OSB;
src: url("../fonts/OldSansBlack.ttf");
}
@font-face {
font-family: oswald;
src: url("../fonts/Oswald-Regular.ttf");
}
@font-face {
font-family: roboto;
src: url("../fonts/Robo... |
<!DOCTYPE html>
<html>
<meta charset="UTF-8">
<head>
<title>Topic 07 -- Abstracts with Biological Entities (English) - 75 Topics / Sub-Topic Model 59 - 15 Topics</title>
<style>
table {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
border-collapse: collapse;
width: 100%;
}
td, th {
border: 1px so... |
require 'test/unit'
require 'command_util'
class CommandTest < Test::Unit::TestCase
def test_run_command
StratosUtil.run_command('echo hello')
end
def <API key>
assert_raise RuntimeError do
StratosUtil.run_command('/bin/bash -c "exit 1"')
end
end
end |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_65) on Wed Nov 12 13:03:04 UTC 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Interface com.hazelcast.cluster.JoinOperation (Hazelcast Root 3.3.3 API)</title>
<meta na... |
package org.xbib.content.io;
import java.io.IOException;
import java.io.InputStream;
public class BytesStreamInput extends InputStream {
private byte[] buf;
private int pos;
private int count;
public BytesStreamInput(byte[] buf) {
this(buf, 0, buf.length);
}
public BytesStreamInput(byte[... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_121) on Mon Mar 06 15:09:37 PST 2017 -->
<title>com.github.jessemull.microflex.bigintegerflex.math</title>
<meta name="date" content="2017-03-06">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.... |
# AUTOGENERATED FILE
FROM balenalib/<API key>:sid-run
ENV NODE_VERSION 14.15.4
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 keyserver.pgp.com --... |
package org.drools.compiler.compiler;
import org.kie.internal.builder.KnowledgeBuilder;
import org.kie.internal.utils.ServiceRegistryImpl;
public class <API key> {
private static final String PROVIDER_CLASS = "org.jbpm.process.builder.<API key>";
private static <API key> provider;
public static ProcessBuild... |
package net.toolab.query.sql;
import java.io.Serializable;
import net.toolab.query.Operand;
import net.toolab.query.QueryUnitBuilder;
public class SqlQueryUnitBuilder extends QueryUnitBuilder {
private SqlQuerySetBuilder builder;
public SqlQueryUnitBuilder(Serializable key, SqlQuerySetBuilder builder) {
... |
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.Component... |
package cn.jsprun.struts.foreg.actions;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.apache.struts.action.Action... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="zh">
<head>
<!-- Generated by javadoc (version 1.7.0_79) on Sun Aug 23 11:24:24 CST 2015 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title> org.apache.log4j.net.JMSSink (Apache Log4j 1.2.17 API)</title>
<meta name="date" content="2015-08... |
<html><head><title>Results for apim-server-startup</title></head>
<body>Select a result on the left-hand pane.</body></html> |
# test shuffle_batch - 6b
# generates a pair of files (color+bn)
# pending: make the tuple match
print("Loading tensorflow...")
import numpy as np
import matplotlib.pyplot as plt
import tensorflow as tf
import os
from libs import utils
import datetime
tf.set_random_seed(1)
def <API key>(files1, files2, batch_size, n_ep... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_45) on Fri Mar 06 22:17:22 CST 2015 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
All Classes (Apache Hadoop Distributed Copy 2.3.0 API)
</TITLE>
<META NAME="date" CONTENT="2015-03-06">
<LINK REL ... |
FROM clojure:openjdk-8-lein
COPY target/cmr-mock-echo-app-0.1.<API key>.jar /app/
EXPOSE 3008
WORKDIR /app
CMD "java" "-classpath" "/app/cmr-mock-echo-app-0.1.<API key>.jar" "clojure.main" "-m" "cmr.mock-echo.runner" |
package kube
import (
"fmt"
"time"
"github.com/golang/glog"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/fields"
"k8s.io/apimachinery/pkg/labels"
apiv1 "k8s.io/client-go/pkg/api/v1"
policy "k8s.io/client-go/pkg/apis/policy/v1beta1"
)
const (
// KubeSystemNS ... |
layout : blocks/page-participant
title : Geoff Hill
type : participant
job-title : Threat Modeler
company : Tutamantic Ltd.
travel-from : United Kingdom
image : https://media.licdn.com/mpr/mpr/shrinknp_400_400/p/2/005/04d/266/048ec09.jpg
<API key>: 10942080
twit... |
using System;
using System.Globalization;
using System.IO;
using System.Linq;
namespace NBench.Reporting
{
<summary>
TeamCity output formatter.
Complies with https://confluence.jetbrains.com/display/TCD10/Build+Script+Interaction+with+TeamCity#<API key>
to ensure that output reports from NBench render n... |
#pragma once
#include <string>
#include "envoy/http/header_map.h"
#include "common/common/singleton.h"
namespace Envoy {
namespace Http {
/**
* Constant HTTP headers and values. All lower case.
*/
class HeaderValues {
public:
const LowerCaseString Accept{"accept"};
const LowerCaseString Authorization{"authorizati... |
package uk.ac.ebi.spot.goci.pussycat.manager;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;
import uk.ac.ebi.spot.goci.pussycat.except... |
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl\<API key>.idl
*/
#ifndef <API key>
#define <API key>
#ifndef <API key>
#include "nsIDOMElement.h"
#endif
#ifndef <API key>
#include "<API key>.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VT... |
"""Agent foundation for conversation integration."""
from abc import ABC, abstractmethod
from typing import Optional
from homeassistant.helpers import intent
class <API key>(ABC):
"""Abstract conversation agent."""
@property
def attribution(self):
"""Return the attribution."""
return None
... |
package info.folone.scala.poi
import org.specs2.mutable.Specification
import java.io.File
class PoiLoadFileSpec extends Specification {
val testBook = Workbook(
Set(
Sheet("test")(
Set(
Row(0)(Set(StringCell(0, "A1"), StringCell(1, "B1"), StringCell(2, "C1"))),
Row(1)(Set(StringC... |
using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using System.Collections.Generic;
namespace NuiEngine.NuiControl
{
<summary></summary>
public class <API key> : Component, <API key>, IDisposable {
private IGlossPainter gloss;
private <API key>.<API key... |
package com.intellij.execution.console;
import com.intellij.openapi.options.Configurable;
import com.intellij.openapi.options.<API key>;
import com.intellij.openapi.options.<API key>;
import com.intellij.openapi.ui.InputValidatorEx;
import com.intellij.openapi.ui.Messages;
import com.intellij.openapi.ui.Splitter;
impor... |
package com.peiliping.web.server.service;
import org.springframework.stereotype.Service;
@Service
public class TestService {
} |
package org.intellij.images.index;
import com.intellij.openapi.vfs.VfsUtil;
import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.testFramework.fixtures.<API key>;
import com.intellij.util.indexing.FileBasedIndex;
import org.intellij.images.util.ImageInfo;
import java.io.IOException;
import static org.junit.... |
package com.oce.springboot.training.d01.s04.controller;
import com.oce.springboot.training.d01.s04.service.ProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
/**
* A simple product {@link Controller}, which uses the {@link ProductService} as... |
# AUTOGENERATED FILE
FROM balenalib/artik533s-ubuntu:focal-build
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --<API key> \
ca-certificates \
\
# .NET Core dependencies
libc6 \
libgcc1 \
libgssapi-krb5-2 \
libicu66 \
libssl... |
function MashupsWindow(title) {
var self = Ti.UI.createWindow({
title:title,
backgroundColor:'white'
});
var isMobileWeb = Titanium.Platform.osname == 'mobileweb',
isTizen = Titanium.Platform.osname === 'tizen';
// create table view data object
var data = [
{title:'Tw... |
# skyring-vagrant
Vagrant+Docker for setting up Skyring |
var _sunSpiderStartDate = new Date();
function TreeNode(left,right,item){
this.left = left;
this.right = right;
this.item = item;
}
TreeNode.prototype.itemCheck = function(){
if (this.left==null) return this.item;
else return this.item + this.left.itemCheck() - this.right.itemCheck();
}
function bottomUp... |
package com.fiberlink.elasticsearch.batchmonitor.model;
public class ClusterHealth {
private String cluster_name;
private String status;
private String timed_out;
private String number_of_nodes;
private String <API key>;
private String <API key>;
private String active_shards;
private Str... |
package uk.dangrew.nuts.graphics.graph.custom;
import java.time.LocalDateTime;
import javafx.scene.chart.XYChart.Data;
import javafx.scene.chart.XYChart.Series;
import uk.dangrew.nuts.progress.custom.ProgressSeries;
public class GraphModelImpl implements GraphModel {
private final ProgressSeries progressSeries;
p... |
# -*- coding: utf-8 -*-
from operator import attrgetter
from pyangbind.lib.yangtypes import <API key>
from pyangbind.lib.yangtypes import RestrictedClassType
from pyangbind.lib.yangtypes import TypedListType
from pyangbind.lib.yangtypes import YANGBool
from pyangbind.lib.yangtypes import YANGListType
from pyangbind.lib... |
// Package infomaniak implements a DNS provider for solving the DNS-01 challenge using Infomaniak DNS.
package infomaniak
import (
"errors"
"fmt"
"net/http"
"strings"
"sync"
"time"
"github.com/go-acme/lego/v4/challenge/dns01"
"github.com/go-acme/lego/v4/platform/config/env"
"github.c... |
package com.booksharer.view;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.... |
package test.model;
import javastrava.model.<API key>;
import test.utils.BeanTest;
/**
* Bean test for {@link <API key>}
*
* @author Dan Shannon
*
*/
public class <API key> extends BeanTest<<API key>> {
@Override
protected Class<<API key>> getClassUnderTest() {
return <API key>.class;
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.