answer
stringlengths
15
1.25M
#ifndef <API key> #define <API key> #include "fonts-tdf.h" /* Font data for Liberation Sans 16ptb */ extern const font_info_t <API key>; #endif
/* * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl\nsINetworkPredictor.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_NO_VTABLE #endif class nsIURI; /* forward dec...
# AUTOGENERATED FILE FROM balenalib/<API key>:35-build # > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK. ENV LANG C.UTF-8 RUN dnf install -y \ python3-pip \ python3-dbus \ && dnf clean all # install "virtualenv", since the vast majority of user...
# AUTOGENERATED FILE FROM balenalib/<API key>:3.12-build # remove several traces of python RUN apk del 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>" imported # key 3...
# angularJS 12 : : 2016-01-18 ## Working with Forms - Angular JS Form . - Form . form.html <!DOCTYPE html> <html ng-app="exampleApp"> <head> <title>Forms</title> <script src="angular.js"></script> <link href="bootstrap.css" rel="stylesheet" /> <link href="bootstrap-theme.css" rel="stylesheet" /> <s...
package io.adok.common.entities; import io.adok.common.dao.DaoSession; import de.greenrobot.dao.DaoException; import io.adok.common.dao.ChallengeDao; // THIS CODE IS GENERATED BY greenDAO, EDIT ONLY INSIDE THE "KEEP"-SECTIONS // KEEP INCLUDES - put your custom includes here import io.adok.android.pojo.Challenge; // KEE...
using <API key>.Models; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using System; using System.Collections.Generic; using System.Data.Entity; using System.Data.Entity.Validation; using System.Diagnostics; using System.Linq; using System.Net; using System.Web; using System.Web.Mvc; ...
package com.intellij.openapi.wm.impl; import com.intellij.diagnostic.IdeMessagePanel; import com.intellij.icons.AllIcons; import com.intellij.ide.<API key>; import com.intellij.ide.DataManager; import com.intellij.ide.impl.ProjectUtil; import com.intellij.ide.ui.UISettings; import com.intellij.ide.util.PropertiesCompon...
package Tools; import java.awt.Font; import java.awt.Image; import java.awt.Toolkit; import java.util.ArrayList; import java.util.List; import GameSubstance.EnemyBullet; import GameSubstance.Explode; public class GameBox { public static int GAME_WIDTH=800; public static int GAME_HEIGHT=600; public static Fo...
# Find and Replace FIND-AND-REPLACE directive performs basic text transformation of column values that are of type string to find and replace using 'sed' like expressions. ## Syntax find-and-replace <column> <sed-script> ## Usage Notes It's a column oriented text processor that operates on a single value in the given ...
package glplus import ( "fmt" "runtime" "strings" ) // GPProgram ... type GPProgram struct { prog *Program uniforms map[string]*UniformLocation attribs []string hash string } // DeleteProgram ... func (p *GPProgram) DeleteProgram() { if cache := sProgCache[p.hash]; cache != nil { ...
package com.pxh.cook.app.bean; import java.util.List; public class <API key> extends ShowApiBaseBean { /** * showapi_res_body : {"message":"ok","ret_code":0,"results":[{"street_id":"<API key>","uid":"<API key>","detail":1,"location":{"lng":116.406602,"lat":39.907327},"address":"44(,),300","name":"()","telephon...
move_value() { local sender=$1 local receiver=$2 local value=$3 local peers="$4" echo "---> Move $value from account $sender to account $receiver" invokeChaincode "$(get_token Jim org1)" businesschannel exp02 "$peers" invoke "[\"$sender\",\"$receiver\",\"$value\"]" } scenario() { echo "---> ...
<!DOCTYPE HTML PUBLIC "- <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_252) on Fri Aug 20 17:47:57 BST 2021 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Class psidev.psi.mi.jami.xml.io.writer.elements.impl.xml30.<API key> (PSI :: JAMI - Java framewor...
package com.lenox.beyondj.services; import akka.actor.ActorRef; import akka.actor.ActorSystem; import com.lenox.beyond.<API key>; import com.lenox.beyond.LaunchUtil; import com.lenox.beyond.configuration.Config; import com.lenox.beyond.launch.*; import com.lenox.beyond.util.MimeMappingsParser; import com.lenox.beyondj....
import { Component, Output, EventEmitter } from '@angular/core'; @Component({ selector: 'app-manager', templateUrl: 'manager.component.html', styleUrls: ['manager.component.scss'] }) export class ManagerComponent { // SZ this.mutator has type number // SZ so event emiters should have type number, no...
# AUTOGENERATED FILE FROM balenalib/cl-som-imx8-ubuntu:cosmic-run ENV NODE_VERSION 10.23.1 ENV YARN_VERSION 1.22.4 RUN buildDeps='curl libatomic1' \ && set -x \ && for key in \ <API key> \ ; do \ gpg --keyserver pgp.mit.edu --recv-keys "$key" || \ gpg --keyserver keyserver.pgp.com --recv...
# Dichanthium annulatum (Forssk.) Stapf SPECIES # Status ACCEPTED # According to The Catalogue of Life, 3rd January 2011 # Published in D. Prain, Fl. trop. Afr. 9:178. 1917 # Original name Andropogon annulatus J.A.Schmidt Remarks null
var Login = function () { var handleLogin = function() { $('.login-form').validate({ errorElement: 'span', //default input error message container errorClass: 'help-block', // default input error message class focusInvalid: false, // do not focus the last inva...
package net.crowdweather.droid; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import android.support.v4.view.PagerAdapter; import android.support.v4.view.ViewPager; public class MainActivity extends FragmentActivity { private PagerAdapter mPagerAdapter; @Override protected void o...
#ifndef LITE_ITERATOR_H #define LITE_ITERATOR_H #include "xnucxx/LiteObject.h" class <API key> : public LiteObject { public: class Delegate { public: virtual bool initIterator(void *iterationContext) const = 0; virtual bool <API key>(void *iterationContext, LiteObject **nextObject) const = 0; }; public: ...
# Bovista oblongispora (Lloyd) Bottomley SPECIES # Status ACCEPTED # According to Index Fungorum # Published in Bothalia 4(3): 580 (1948) # Original name Bovistella oblongispora Lloyd Remarks null
package com.rnapexuiexample; import android.app.Application; import com.facebook.react.ReactApplication; import com.facebook.react.ReactNativeHost; import com.facebook.react.ReactPackage; import com.facebook.react.shell.MainReactPackage; import com.facebook.soloader.SoLoader; import java.util.Arrays; import java.util.L...
<! @license Copyright (c) 2014 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http: The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.t...
<!DOCTYPE html> <html xmlns="http: <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" /> <link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media="all"/> <link rel="stylesheet" href="../../../../../aui/...
package measure; import java.util.Iterator; import org.apache.commons.configuration.<API key>; import org.apache.commons.configuration.Configuration; import org.apache.commons.configuration.<API key>; import org.apache.commons.configuration.<API key>; public class CommonConfTest { public static void main(String[] a...
package com.geecat.oo; public interface Interface2 { public void eat(); }
package com.cloud.agent.api.routing; import com.cloud.agent.api.to.IpAddressTO; public class IpAssocVpcCommand extends IpAssocCommand { protected IpAssocVpcCommand() { super(); } public IpAssocVpcCommand(final IpAddressTO[] ips) { super(ips); } @Override public int getAnswersCoun...
const utils = require('./utils.js'); const fs = require('fs'); const ncp = require('ncp').ncp; const chalk = require('chalk'); const path = require('path'); const helperMessages = require('./helperMessages.js'); const inquirer = require('inquirer'); const configAngular = require('./configAngular').configAngular; functi...
using System; using System.Collections.Generic; using System.Text; using NPOI.SS.Formula.Eval; namespace NPOI.SS.Formula.Functions { internal class Clean : SingleArgTextFunc { public override ValueEval Evaluate(String arg) { StringBuilder result = new StringBuilder(); for...
### User-configurable parameteres ## Paths #boost_header_path=$(HOME)/sys/src/git/boost boost_header_path=$(CURDIR)/thirdparty/boost_1_65_0 #boost_libs_path=$(HOME)/sys/src/git/boost/stage/lib boost_libs_path=$(CURDIR)/thirdparty/boost_1_65_0/stage/lib <API key>=$(HOME)/sys/src/svn/<API key> boost_ublasx_home=../boost-...
# Mobile Map Package This sample demonstrates how to open and display a map from a Mobile Map Package. It is developed with the [Kotlin](http://kotlinlang.org/) programming language to demonstrate ArcGIS Android SDK support for Kotlin. ![Open Mobile Map Package App](open-mmpk.png) # Getting started with ArcGIS Android ...
package ru.job4j.bunmachine; public class <API key> extends RuntimeException{ public String toString() { return "Не назначена цена пончиков в автомате!"; } }
local cjson = require "cjson" local helpers = require "spec.helpers" describe("Plugin: rate-limiting (API)", function() local admin_client teardown(function() if admin_client then admin_client:close() end helpers.stop_kong() end) describe("POST", function() setup(function() assert(helpers.dao....
<!doctype html> <html class="default no-js"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>&quot;src/core/Messages&quot; | GDAX Trading Toolkit API Reference</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, i...
package com.lamfire.json.serializer; public interface PropertyFilter { /** * @param source the owner of the property * @param name the name of the property * @param value the value of the property * @return true if the property will be filtered out, false otherwise */ boolean apply(Obje...
<!doctype html> <html xmlns="http: <head> <meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Module docplex.cp.config &#8212; DOcplex.CP: Constraint Programming Modeling for Python V2.16 documentation</title> <link ...
package org.kavaproject.kavatouch.dispatch.staging; public enum Mode { }
# ds3_autogen/ds3-autogen-go This readme specifies how to generate the Spectra Go SDK command and model files and integrate them into the existing Spectra Go SDK. This assumes that both the Autogen project and the Spectra Go SDK project are both on the current system. ## Install Autogen See the Autogen [README](../READ...
/** * \file CSharedMemory.cpp * \date Mar 18, 2010 * \author samael */ #ifdef __D2MCE__ /* DSM mode */ #include "CSharedMemory.h" #include <cstring> #include "CD2mce.h" using namespace std; namespace wolf { /** * Clone the shared memory. It's done by D2MCE::createSharedMemory(). */ IDrop* SharedMemory::clone() co...
package com.coolweather.app.model; public class City { private int id; private String cityName; private String cityCode; private int provinceId; public int getId() { return id; } public void setId(int id) { this.id = id; } public String getCityName() { return ...
#region using System; using System.Configuration; #endregion namespace BAUG.BatchingRemote { <summary> The configuration for TopNWords. </summary> public class BatchConfiguration { <summary> The Batch service URL. </summary> public string BatchServiceUrl { get; privat...
package pl.kmi.adventofcode.day2; import java.util.Arrays; import java.util.List; public class Calculator { public int calculateArea(int l, int w, int h) { int firstSideArea = l * w; int secondSideArea = w * h; int thirdSideArea = h * l; int smallestSideArea = getTheSmallest(firstSid...
package com.centurylink.mdw.config; import java.util.Map; /** * Translate old-style java properties to yaml. */ @FunctionalInterface public interface <API key> { /** * Map key is rule. Value is property value. */ public YamlBuilder translate(Map<String,Object> ruleProps); }
package nest.sparkle.time.protocol import scala.annotation.implicitNotFound import scala.collection.JavaConverters._ import scala.concurrent.ExecutionContext import spray.json.{ JsObject, JsonWriter } import spray.httpx.SprayJsonSupport._ import nest.sparkle.time.protocol.RequestJson.<API key> import spray.json.Default...
package com.mscharhag.archunit.layers.repository; import com.mscharhag.archunit.model.User; import javax.persistence.EntityManager; public class UserRepository { private EntityManager entityManager; public User loadUser() { return new User("John Doe"); } }
package it.cnr.istc.stlab.lizard.commons.inmemory; import org.apache.jena.ontology.OntResource; import org.apache.jena.rdf.model.RDFNode; import it.cnr.istc.stlab.lizard.commons.PropertyMap; public class <API key> extends InMemoryLizardClass { public <API key>() { super(); } public <API key>(RDFNode...
import { BrowserModule } from '@angular/platform-browser'; import { ErrorHandler, NgModule } from '@angular/core'; import { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular'; import { SplashScreen } from '@ionic-native/splash-screen'; import { StatusBar } from '@ionic-native/status-bar'; import { Insomnia...
// Name: propgrid.cpp // Purpose: wxPropertyGrid // Created: Sep-25-2004 // RCS-ID: $Id: #include "stdafx.h" #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "propgrid.h" #endif // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" #ifdef...
package org.qi4j.library.struts2.util; import static java.lang.Character.isLowerCase; import static java.lang.Character.toLowerCase; public final class ClassNames { private ClassNames() { } public static String <API key>( Class<?> type ) { return ClassNames.<API key>( type, ClassNameFilters....
# Writing new tests The Envoy integration test framework is designed to make it simple to test <API key> communication. In the common case, one - Sends a request from downstream through Envoy - Verifies the request is received upstream, and possibly inspects elements of the headers or body - Sends a response from upstr...
require File.expand_path('../boot', __FILE__) require 'rails/all' # Require the gems listed in Gemfile, including any gems # you've limited to :test, :development, or :production. Bundler.require(:default, Rails.env) module ReconciliationUI class Application < Rails::Application
# AUTOGENERATED FILE FROM balenalib/isg-503-debian:buster-run # 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 # install python dependencies RUN apt-get update && apt-get inst...
package es.seastorm.dragonwars.client; import com.badlogic.gdx.ApplicationListener; import com.badlogic.gdx.backends.gwt.GwtApplication; import com.badlogic.gdx.backends.gwt.<API key>; import es.seastorm.dragonwars.DragonWarsGame; public class HtmlLauncher extends GwtApplication { @Override public <API ...
FROM linuxkit/alpine:<SHA1-like> AS grub-build RUN apk add \ automake \ make \ bison \ gettext \ flex \ gcc \ git \ libtool \ libc-dev \ linux-headers \ python3 \ autoconf # because python is not available RUN ln -s python3 /usr/bin/python ENV GRUB_MODULES="part_gpt fat ext2 iso9660 gzio linux a...
package hu.akarnokd.rxjava2; import java.util.concurrent.*; import io.reactivex.*; import io.reactivex.internal.schedulers.SingleScheduler; public class FirstAndSample { public static void main(String[] args) throws Exception { int[] delay = { 0, 100, 250, 300, 900, 975, 1050, 1200 }; Flowable.range...
(function () { function timecode() { return function(seconds) { var seconds = Number.parseFloat(seconds); if (Number.isNaN(seconds)) { return '-: } var wholeSeconds = Math.floor(seconds); var minutes = Math.floor(wholeSeconds / 60);...
.ui.grid.title-bar-container { margin-top: 0; } .ui.grid.title-bar-container .row { padding-top: 0; } .ui.grid.title-bar { background-color: #FFFFFF; border-bottom: 1px solid #DDDDDD; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); } .ui.grid.page-content { background-color: #FFFFFF; box-shadow: 0...
package com.claudiodegio.dbsync.core; import android.content.ContentValues; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import androidx.sqlite.db.<API key>; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.regex.Matche...
module.exports = { newsFeedCategories:[], tabs:[] };
import os.path as op import logging import shutil from subprocess import check_output from tempfile import mkdtemp import click from ob_pipelines.s3 import ( s3, <API key>, <API key>, SCRATCH_DIR, <API key> ) logger = logging.getLogger('ob-pipelines') @click.command() @click.argument('fq1') @click.argument('fq2') @...
package main import ( "fmt" "github.com/ardielle/ardielle-go/rdl" "io" "os" "strconv" "strings" "text/template" "unicode" ) func <API key>(banner string) string { return fmt.Sprintf("//\n// This file generated by %s. Do not modify!\n//", banner) } func <API key>(schema *rdl.Schema, n...
package com.sun.xacml.ctx; import com.sun.xacml.Indenter; import com.sun.xacml.ParsingException; import com.sun.xacml.attr.AttributeDesignator; import java.io.InputStream; import java.io.IOException; import java.io.OutputStream; import java.io.PrintStream; import java.net.URI; import java.net.URISyntaxException; import...
<!DOCTYPE html> <! Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.5 Version: 4.5.2 Author: KeenThemes Website: http: Contact: support@keenthemes.com Follow: www.twitter.com/keenthemes Like: www.facebook.com/keenthemes Purchase: http://themeforest.net/item/<API key>/402146...
/*csslint known-properties: false*/ /* csslint doesn't know about svg */ /* * main dialog */ div.dialogWrapper { display: block; position: absolute; height: calc(100% - 179px); width: 100%; top: 64px; } div.dialogOverlay { position: absolute; width: 100%; height: 100%; top: 0; } bu...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <memory> #include <string> #include <chrono> #include <thread> #include "mldb/base/exc_check.h" using namespace std; void DoOutput(FILE * in, FILE * out) { int len(0); unique_ptr<char[]> buffer; size_t n = ::fread(&len, sizeof(len), 1, in);...
package com.cc.library.service; import java.util.List; import com.cc.library.domain.Admin; import com.cc.library.domain.PageBean; public interface AdminService { /** * * @param admin * @return */ public Admin getAdminByUserName(Admin admin); /** * * @param admin * @return ...
package ca.farrelltonsolar.j2modlite.msg; import ca.farrelltonsolar.j2modlite.Modbus; /** * Abstract class implementing a <tt>ModbusRequest</tt>. This class provides * specialised implementations with the functionality they have in common. * * @author Dieter Wimberger * @version 1.2rc1 (09/11/2004) * * @author j...
import { AsyncTestCompleter, beforeEach, beforeEachBindings, ddescribe, describe, expect, iit, inject, it, xdescribe, <API key>, xit, } from 'angular2/test_lib'; import {bootstrap} from 'angular2/src/core/application'; import {Component, Directive, View} from 'angular2/src/core/annotations/decor...
layout: base title: 'Statistics of PunctSide in UD_Icelandic-PUD' udver: '2' ## Treebank Statistics: UD_Icelandic-PUD: Features: `PunctSide` This feature is language-specific. It occurs with 2 different values: `Fin`, `Ini`. 236 tokens (1%) have a non-empty value of `PunctSide`. 3 types (0%) occur at least once with a...
// <auto-generated> // </auto-generated> namespace api_rest_sgmw { using System; using System.Collections.Generic; public partial class EQUIPOS_INSTALADOS { public int EQUIPO_INSTALADO_ID { get; set; } public int UBICACION_ID { get; set; } public int MAQUINA_ID { get; set; } ...
// note that months are zero-based in the JavaScript Date object, so month 3 is April var items = new vis.DataSet([]); var min = new Date(2015, 10, 1); // 1 april var max = new Date(2015, 11, 30); // 30 april var container = document.getElementById('visualization'); var options = { editable : true, onAdd : func...
using Cirrious.MvvmCross.WindowsStore.Views; using Paragon.Container.Core.ViewModels; using Windows.UI.Xaml; namespace Paragon.Container.Views { public sealed partial class DictionaryView : ViewBase { public DictionaryView() { this.InitializeComponent(); this.KeyDown += <...
package com.camunda.consulting.openapi.client.model; import java.util.Objects; import java.util.Arrays; import com.camunda.consulting.openapi.client.model.VariableValueDto; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; import com.g...
package displayers import ( "io" "strings" "github.com/digitalocean/doctl/do" "github.com/digitalocean/godo" ) type KubernetesClusters struct { KubernetesClusters do.KubernetesClusters Short bool } var _ Displayable = &KubernetesClusters{} func (clusters *KubernetesClusters) JSON(ou...
#!/bin/bash echo "running <API key>.sh..."; currentOutDir=$1; outputTexFileName="output.tex" cd "$currentOutDir" touch $outputTexFileName insertTexPreambule(){ printf "\usepackage{longtable}" >> "$outputTexFileName"; printf '\\documentclass{article}\n' >> "$outputTexFileName"; printf '\\usepackage[po...
package Export; import conexao.Call; import java.sql.ResultSet; import java.util.ArrayList; import java.util.HashMap; import java.util.function.Consumer; /** * * @author ahmedjorge */ public class DataReseguro { public static class DataResseguro { private String ID; private String IDCONTRATO; ...
package compose import ( clusterClient "github.com/rancher/types/client/cluster/v3" managementClient "github.com/rancher/types/client/management/v3" projectClient "github.com/rancher/types/client/project/v3" ) type Config struct { Version string `yaml:"version,omitempty"` // Management Client No...
'use strict'; /*eslint-env browser*/ // Just declaring the module in here. As the file name is _base // it will be compiled first, which allows us to use the module // when declaring the individual services within it angular.module('hypercat.services', []);
package com.bumptech.glide.load.resource.bitmap; import android.content.Context; import android.graphics.Bitmap; import com.bumptech.glide.Glide; import com.bumptech.glide.load.Transformation; import com.bumptech.glide.load.engine.Resource; import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool; import com.bum...
<reference path="fourslash.ts" /> // @<API key>: true // @Filename: a.js / Foo<number>(); verify.<API key>(`[ { "message": "'type arguments' can only be used in a .ts file.", "start": 4, "length": 6, "category": "error", "code": 8011 } ]`);
// +build big // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // all copie...
import struct from ryu.lib.pack_utils import msg_pack_into from ryu.lib import type_desc # enum ofp_oxs_class <API key> = 0x8002 # Basic stats class for OpenFlow OFPXSC_EXPERIMENTER = 0xFFFF # Experimenter class # enum oxs_ofb_stat_fields OFPXST_OFB_DURATION = 0 # Time flow entry has been alive. <API key> = 1 # Tim...
package <API key> import ( "encoding/gob" "fmt" "time" "golang.org/x/net/context" "github.com/nyaxt/otaru/blobstore" "github.com/nyaxt/otaru/btncrypt" "github.com/nyaxt/otaru/inodedb" "github.com/nyaxt/otaru/logger" "github.com/nyaxt/otaru/metadata/statesnapshot" "github.com/nyax...
{{ $title := .Get "title" | default "" }} {{ $_hugo_config := `{ "version": 1 }` }} {{ $align := .Get "align" | default "center" }} <div class="mermaid" align="{{ $align }}">{{ safeHTML .Inner }}</div> {{- if $title }}{{ $title }}{{end }} <p>
function FetchCityData(city_id) { var request = new XMLHttpRequest(); request.onreadystatechange = <API key>; request.open("POST", "http://xoap.weather.com/weather/local/"+city_id+"?par=1026134024&key=53318d3ee1447152", true); request.send(); function <API key>() { var error = 0; //progressbar handlin...
package org.kopptech.commonbond; import java.lang.reflect.Type; public interface Binding { public Object getValue(boolean createParentIfNull); public Type getType(); public void setValue(Object o, boolean allowInvalid); public Object createDefaultValue(); public boolean <API key>(); public void ...
// generator creates operations for container processing package generator import ( "fmt" "github.com/<API key>/bbs" "github.com/<API key>/bbs/models" "github.com/<API key>/executor" "github.com/<API key>/rep" "github.com/<API key>/rep/evacuation/evacuation_context" "github.com/<API key>/rep...
<?php namespace BeholderWebClient\Eyes\Inode; use Exception; Class Eye extends AbstractInode { public function checkRequirement(){ $result = exec('type -P df'); if(!$result) throw new Exception(Status::REQUERIMENT_FAIL, Status::<API key>); } public function verifyStorage(){ $result = shell_exec(...
package de.milchreisjunkie.netpetcam.interfaces; public interface ICaptureDevice { public void setup(Object options) throws Exception; public void capture() throws Exception; }
using System.Threading.Tasks; namespace Knightware.Net.Sockets { public interface IStreamSocket : ISocket { bool IsConnected { get; } Task<int> ReadAsync(byte[] buffer, int offset, int length); Task<int> ReadAsync(byte[] buffer, int offset, int length, int timeout); Task WriteAsy...
package sr25519 import ( "fmt" "io" "testing" "github.com/stretchr/testify/require" "github.com/tendermint/tendermint/crypto" "github.com/tendermint/tendermint/crypto/internal/benchmarking" ) func <API key>(b *testing.B) { <API key> := func(reader io.Reader) crypto.PrivKey { return g...
import { NgModule } from '@angular/core'; import { IonicPageModule } from 'ionic-angular'; import { <API key> } from './category-products'; import { CustomIconsModule } from 'ionic2-custom-icons'; import { PipesModule } from '../../pipes/pipes.module'; @NgModule({ declarations: [ <API key>, ], impor...
package com.lianjiatech.infrastructure; import android.content.Context; import android.content.res.TypedArray; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.RelativeLayout; import java.util.ArrayList; import java.util...
package org.jtwig.json.provider; import org.codehaus.jackson.map.ObjectMapper; import org.jtwig.exceptions.<API key>; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import java.io.IOException; import static org.hamcrest.core.Is.is; import static org.hamcrest.core.StringContains....
$hostname = $env:COMPUTERNAME $nics = Gwmi <API key> -Comp $hostname | Where{($_.IPEnabled -eq "TRUE")} foreach ($nic in $nics) { foreach ($addr in $nic.IPAddress) { if($addr -like "10.183.*") { Write-Host "This NIC is on RTP LAN" $lastOctet = $addr.Split(".")[3] ...
package org.eclipse.dd.dc.provider; import java.util.Collection; import java.util.List; import org.eclipse.dd.dc.DcFactory; import org.eclipse.dd.dc.DcPackage; import org.eclipse.dd.dc.DocumentRoot; import org.eclipse.emf.common.notify.AdapterFactory; import org.eclipse.emf.common.notify.Notification; import org.eclips...
<!DOCTYPE html> <?php require_once ('/var/www/html/app/model/connect.php'); require_once ('/var/www/html/app/library/function.php'); if(!isset($_SESSION['current_user_name']) && !isset($_COOKIE[$cookie_name])) { header('Location: ../login.php'); exit(); } $user_name = $_COOKIE["user"]; ?> <html lang="en"> <head> <m...
package com.jug6ernaut.debugdrawer.views; import android.annotation.TargetApi; import android.content.Context; import android.os.Build; import android.view.View; import android.view.ViewGroup; import android.widget.LinearLayout; import android.widget.TextView; import static android.view.ViewGroup.LayoutParams.MATCH_PAR...
import Vue from 'vue'; import Hello from '@/components/Greeting'; describe('Greeting.vue', () => { it('should render correct contents', () => { const Constructor = Vue.extend(Hello); const vm = new Constructor().$mount(); expect(vm.$el.querySelector('#greeting h1').textContent) .to.equal('Welcome');...