answer
stringlengths
15
1.25M
import Queue import handlers import inspect import threading import pkgutil import os import sys import imp from gatherer import Gatherer import signal import platform import ConfigParser class GatherAgent(object): """ A simple layer between inputs (gatherers) and output (handler) using a simple implementat...
using NuGet.Configuration; using NuGet.Versioning; using NuKeeper.Abstractions.Inspections.Files; using NuKeeper.Abstractions.NuGet; using NuKeeper.Abstractions.<API key>; using NuKeeper.Inspection.Files; using NuKeeper.Update.Process; using NuKeeper.Update.ProcessRunner; using NUnit.Framework; using System; using Syst...
package com.jiazi.openthedoor.Util; import java.util.LinkedList; import java.util.List; public class CustomBuffer { private List<CustomBufferData> DataBuffer = new LinkedList<CustomBufferData>(); public boolean addData(CustomBufferData data){ synchronized (this) { DataBuffer.add(data); ...
package com.jetbrains.env; import com.google.common.collect.Sets; import com.intellij.execution.testframework.sm.runner.SMTestProxy; import com.intellij.execution.testframework.sm.runner.ui.MockPrinter; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.util.Pair; import com.intellij.openapi.uti...
# WickedPDF Global Configuration # Use this to set up shared configuration options for your entire application. # Any of the configuration options shown here can also be applied to single # models by passing arguments to the `render :pdf` call. # To learn more, check out the README: # Need to merge for Heroku gem to wo...
package top.phrack.ctf.controller; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import org.apache.shiro.SecurityUtils; import org.apache.shiro.subject.Subject; import org.slf4j.Logger; i...
package org.enemies; import static java.lang.Math.abs; import static java.lang.Math.random; import java.awt.image.BufferedImage; import org.items.Health; import org.players.Player; import org.resources.Collisions; import org.resources.Element; import org.resources.ImagePack; import org.rooms.Room; import org.walls.Wall...
# Using named cluster configurations Oshinko uses a ConfigMap to store named cluster configurations. This document describes how to add or edit named configurations and how to use them with oshinko-rest. ## The <API key> ConfigMap The `tools/server-ui-template.yaml` creates a ConfigMap named `<API key>` which is read b...
package main import ( "errors" "log" "strconv" "strings" "time" "github.com/hortonworks/gohadoop/hadoop_yarn" "github.com/hortonworks/gohadoop/hadoop_yarn/conf" "github.com/hortonworks/gohadoop/hadoop_yarn/yarn_client" ) func parseAppAttemptId(appAttemptIdString string) (*hadoop_yarn.<AP...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>FST - Lani Moorhouse</title> <meta name="description" content="Keep track of the statistics from Lani Moorhou...
// Handles logging to a file in the Crate data directory // Log line format is as follows (for regular expression parsing) // %(level)s [%(jsontime)s]: %(message)s package crate import ( "fmt" "log" "os" "strings" "time" "github.com/bbengfort/crate/crate/config" ) var eventLogger *Logger...
import sys import time import uuid import pandaserver.userinterface.Client as Client from pandaserver.taskbuffer.JobSpec import JobSpec from pandaserver.taskbuffer.FileSpec import FileSpec aSrvID = None prodUserNameDefault = 'unknown-user' prodUserName = None prodUserNameDP = None <API key> = None site = 'ANALY_BNL-LSS...
<?php $lang['<API key>'] = 'No se encontraron migraciones.'; $lang['migration_not_found'] = 'Esta migración no pudo ser encontrada.'; $lang['<API key>'] = 'Hay varias migraciones con el mismo número de versión: %d.'; $lang['<API key>'] = 'La clase de migración "%s" no se pudo encontrar.'...
#include <logd/exceptions.h> #include <logd/metrics.h> #include <logd/rpc_forwarder.h> #include <vespa/vespalib/gtest/gtest.h> #include <vespa/vespalib/metrics/<API key>.h> #include <vespa/fnet/frt/supervisor.h> #include <vespa/fnet/frt/rpcrequest.h> using namespace logdemon; using vespalib::metrics::DummyMetricsManage...
title: Voyager Init menu: docs_{{ .version }}: identifier: voyager-init name: Voyager Init parent: reference-operator product_name: voyager menu_name: docs_{{ .version }} section_menu_id: reference ## voyager init Initialize HAProxy config voyager init [command] [flags] Options --burst int ...
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8"> <title>tilesetName</title> <link href="../../../../images/logo-icon.svg" rel="icon" type="image/svg"> <script>var pathToRoot = "../../../../";</script> <script type="text/javascript" src="../../../.....
#!/bin/bash set -o nounset set -o errexit set -o pipefail function finish { echo "sleep 1 second to collect logs" sleep 0.5 # kill child process fstream pkill -P $$ sleep 0.5 } trap finish EXIT if [ ! -z ${LOG_COLLECTOR_URL} ]; then touch /tmp/log.txt /usr/bin/cyclone-toolbox/fstream -f /tmp/log.txt -s ${...
# Trichoramalina crinita (Tuck.) Rundel & Bowler SPECIES # Status ACCEPTED # According to The Catalogue of Life, 3rd January 2011 # Published in Bryologist 77(2): 191 (1974) # Original name Ramalina crinita Tuck. Remarks null
<?php $sovenco_hero_id = get_theme_mod( 'sovenco_hero_id', esc_html__('hero', 'sovenco') ); $<API key> = get_theme_mod( '<API key>' ) == 1 ? true : false ; $<API key> = get_theme_mod( '<API key>' ); $sovenco_hero_pdtop = get_theme_mod( 'sovenco_hero_pdtop', '10' ); $<API key> = get_theme_mod( '<API k...
package com.netflix.spinnaker.front50.model.pipeline; import com.netflix.spinnaker.front50.model.ItemDAO; import java.util.Collection; public interface PipelineDAO extends ItemDAO<Pipeline> { String getPipelineId(String application, String pipelineName); Collection<Pipeline> <API key>(String application); Collect...
#ifdef <API key> #import <UIKit/UIKit.h> #import "<API key>.h" @interface MGSplitView : UIView { <API key>* controller; BOOL layingOut; BOOL singleLayout; } @property(nonatomic,readwrite,assign) BOOL layingOut; - (id)initWithFrame:(CGRect)frame controller:(<API key>*)controller_; -(void)setSingleLayout; @en...
<div class="right_col" role="main"> <!-- top tiles --> <div class="row tile_count"> <div class="animated flipInY col-md-2 col-sm-4 col-xs-4 tile_stats_count"> <div class="left"></div> <div class="right"> <span class="count_top"><i class="fa fa-coffee"></i> daily s...
package gw.lang.function; public abstract class Procedure8 extends AbstractBlock implements IProcedure8 { public Object invokeWithArgs(Object[] args) { if(args.length != 8) { throw new <API key>("You must pass 8 args to this block, but you passed" + args.length); } else { //noinspection unchecked ...
package common import ( "fmt" "log" "sync" "net/http" "bytes" "encoding/json" "io" "os" ) //Declare some structure that will eb common for both Anonymous and Gossiper modulesv type DC struct { OutOfResource bool Name string City string Cou...
<!DOCTYPE html> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Bookstore</title> <!-- Bootstrapping UI5 --> <script id="sap-u...
module FrequentModel FREQUENCIES = [:day, :week, :month, :quarter, :year] def frequency_type index = read_attribute(:frequency_type) || self.class.columns_hash['frequency_type'].default FREQUENCIES[index] end def frequency_type=(value) write_attribute(:frequency_type, FREQUENCIES.index(value))...
<div class="body-wrap"> <div class="top-tools"> <a class="inner-link" href="#Ext.tree.<API key>"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a> <a class="inner-link" href="#Ext.tree.<API key>"><img src="../resources/images/default/s.gif" class="it...
package com.adoregeek.rxdemo; import javax.inject.Scope; @Scope public @interface PerActivity { }
package org.nd4j.common.primitives.serde; import org.nd4j.common.primitives.AtomicDouble; import org.nd4j.shade.jackson.core.JsonParser; import org.nd4j.shade.jackson.core.<API key>; import org.nd4j.shade.jackson.databind.<API key>; import org.nd4j.shade.jackson.databind.JsonDeserializer; import org.nd4j.shade.jackson....
package org.pikater.web.vaadin.gui.shared.kineticcomponent.graphitems; import java.io.Serializable; import org.pikater.web.experiment.IBoxInfoCommon; /** * A special class for boxes of client kinetic canvas, made especially * for communication between server and client, carrying only the most * essential information...
package sias.model.dao; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.Statement; import java.util.ArrayList; import java.util.List; import java.util.Map; import sias.model.base.BaseDAO; import sias.model.pojo.Uf; public class UfDAO implements BaseDAO<Uf> { ...
# cf-sdk-python Python examples using [requests](http: ## API slate documentation https://cognitivefashion.github.io/slate/ ## Getting started Make changes to `props.py` with your url and API key. You can also change the catalog name. props = {} # Replace this with the custom url generated for you. props['a...
module.exports = { plugins: [ require('autoprefixer'), require('cssnano')({ preset: 'default' }) ] };
package com.anddevbg.lawa.recyclerview; import android.support.v7.widget.RecyclerView; public interface OnStartDragListener { void onStartDrag(RecyclerView.ViewHolder viewHolder); }
# Cookbook Name: nslcd # Attributes: default case node['platform_family'] when 'rhel', 'fedora' default['nslcd']['package'] = 'nss-pam-ldapd' else default['nslcd']['package'] = 'nslcd' end # runtime options default['nslcd']['threads'] = 5 default['nslcd']['uid'] = 'nslcd' default['nslcd']['gid'] = 'ldap' default['n...
// You may distribute under the terms of either the GNU General Public #include <standard.h> static int ph1[8] = {0, 2, 0, 2, 1, 3, 1, 3}, ph2[8] = {0, 0, 2, 2, 1, 1, 3, 3}, ph3[8] = {0, 2, 0, 2, 1, 3, 1, 3}; void pulsesequence() { double gzlvl0 = getval("gzlvl0"), gzlvl1 = getval("gz...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace DI_Castle.Models { public class UserService : IUserService { public string GetUserName(string name) { return string.Format("Hello {0}", name); } } }
// Code generated by go-swagger; DO NOT EDIT. package cluster // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( "fmt" "io" "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" "github.com/netapp/tri...
package org.set4j.impl.mbean; import org.set4j.Set4JException; import org.set4j.impl.ClassHandler; import org.set4j.impl.Log; import javax.management.<API key>; import javax.management.<API key>; import javax.management.<API key>; import javax.management.MBeanServer; import javax.management.<API key>; import javax.mana...
<!DOCTYPE html> <!--[if IE]><![endif]--> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>Class <API key> </title> <meta name="viewport" content="width=device-width"> <meta name="title" content="Class <API key> "> <meta name="gene...
# tinMongo golangmongodb(web) trello:https://trello.com/b/JqLqW4E4/tinmongo-mongodb Apache v2 [LICENSE](https:
<!DOCTYPE HTML PUBLIC "- <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_112) on Mon Nov 06 11:57:27 MST 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Interface org.wildfly.swarm.config.undertow.server.HostSupplier (BOM: * : All 2017.11.0 API)</ti...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using SharpChan.Extensions.Common; using System.Text; using System.Collections.Generic; namespace CSharpHelpersTests.Extensions.Common { [TestClass] public class <API key> { [TestMethod] public void <API key>() { objec...
package com.athena.utils; import com.athena.utils.enums.Mode; import com.athena.hashfamily.Hash; public class Output { public static void printInit(String version) { System.out.println("Starting AthenaHRT version " + version + "\n"); } public static void printStatus(String status, String hashfile_fi...
package de.androidbytes.recipr.presentation.single.add.view.activity; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.os.Build; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.design.widget.TextInputLayout...
'use strict'; describe('Services.Waterline', function () { var waterline, sandbox = sinon.sandbox.create(); helper.before(function(context) { context.Core = { start: sandbox.stub().resolves(), stop: sandbox.stub().resolves() }; return helper.di.simpleWrapp...
#include "RouteActualizer.h" #include "Algorithms/Actualization/<API key>.h" #include "Run.h" #include "Schedule.h" #include "Stop.h" namespace Scheduler { RouteActualizer::RouteActualizer(Stop& stop) : stop(stop), is_dirty(true) { } void RouteActualizer::actualize( ) const { ...
/*ADMIN CSS*/ #<API key> label{ display: block; } #<API key> label.inline{ display: inline-block; } #<API key> select, #<API key> input[type='text']{ width: 225px; } #<API key> .toggleOptions{ margin-top: 15px; } #fsFormBox .updated p{ font-weight: bold; } #<API key> input[type='text'], #<API key> s...
var a00680 = [ [ "TESS_CHAR", "a00612.html", "a00612" ], [ "CubeAPITest", "a00680.html#<API key>", null ], [ "HOcrEscape", "a00680.html#<API key>", null ], [ "make_tesseract_blob", "a00680.html#<API key>", null ], [ "<API key>", "a00680.html#<API key>", null ], [ "kBytesPerBlob", "a00680.html#<A...
$(document).ready(function(){ function pergiKe(s){ $("#loading").css({"visibility" : "visible"}); var uagent = navigator.userAgent.toLowerCase(); if(/safari/.test(uagent) && !/chrome/.test(uagent)) window.location.href = s; else document.location.href = s; ...
package examples.events.envelope; import net.beadsproject.beads.core.Bead; import net.beadsproject.beads.data.Buffer; import net.beadsproject.beads.ugens.Envelope; import net.beadsproject.beads.ugens.Gain; import net.beadsproject.beads.ugens.WavePlayer; import net.happybrackets.core.HBAction; import net.happybrackets.d...
define("<API key>/js/render", ["<API key>/js/utils/util"], function(util) { /* * This function is a drawing function; you should put all your drawing logic in it. * it's called in moduleFunc.prototype.render * @param {Object} data - proceessed dataset, check dataMapping.js * @param {Object} cont...
<template name="signin"> <!-- Wrapper --> <div id="wrapper" style="z-index:2"> <!-- Main --> <section id="main"> <header> <span class="avatar"><img src="{{avator}}" alt="" /></span> <h1>{{userName}}</h1> </header> ...
<HTML> <HEAD> <meta charset="UTF-8"> <title>BigDecimalIterator.nextBigDecimal - RichUtils</title> <link rel="stylesheet" href="../../../style.css"> </HEAD> <BODY> <a href="../../index.html">RichUtils</a>&nbsp;/&nbsp;<a href="../index.html">pyxis.uzuki.live.richutilskt.utils.progression</a>&nbsp;/&nbsp;<a href="index.ht...
package org.omg.CosNaming.<API key>; /** * org/omg/CosNaming/<API key>/<API key>.java . * Generated by the IDL-to-Java compiler (portable), version "3.2" * from ../../../../src/share/classes/org/omg/CosNaming/nameservice.idl * Friday, March 1, 2013 3:32:44 AM PST */ /** * Indicates the reason for not able to r...
#!/bin/bash set -e cd "$(dirname "$0")" if [[ ! -d venv ]]; then echo "venv not initialized!" >& 2 exit 1 fi CONFIG_PATH="$1" source venv/bin/activate ./godaddy-dyndns.py --config "$CONFIG_PATH"
<!DOCTYPE html> <html> <head> <title>p9-1</title> <meta http-equiv="X-UA-Compatible" content="IE=edge"/> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <meta name="<API key>" content="yes"/> <link href="resources/css/jquery-ui-themes.css" type="text/css" rel="stylesheet"/> ...
/* * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl\<API key>.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 nsIDocShell; /* forward declarat...
#!/usr/bin/python -W all """ combineCsv.py: adapt values in a csv file based on values in a second file usage: combineCsv.py [-c] -k column -v column -F file2 -K column -V column < file1 notes: changes values in column v of file1 to value in column V of file2 when values in key columns k and K match optio...
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import oauth2client.django_orm class Migration(migrations.Migration): dependencies = [ ('sites', '0001_initial'), ] operations = [ migrations.CreateModel( name='Profile', ...
define(function() { mocha.setup('bdd'); /** @test {InternalOpenGateAPI#bundlesBuilder()} */ describe('Check funcionality bundles module:', function() { var bundle; before(function() { bundle = ogapi.bundlesBuilder(); }); /** @test {InternalOpenGateAPI#bundlesBuild...
<!DOCTYPE html> <html lang="en"> <! Date: 26-Apr-17 Time: 8:27 AM <head> <meta charset="utf-8" /> <title>PWP for Jeffrey Cooper - Milestone 1</title> <!-- Custom CSS --> <link rel="stylesheet" href="<API key>.css" type="text/css" /> </head> <body> <header> ...
package com.crawljax.plugins.testilizer.casestudies.eshop.originaltests; import java.util.regex.Pattern; import java.util.concurrent.TimeUnit; import org.junit.*; import static org.junit.Assert.*; import static org.hamcrest.CoreMatchers.*; import org.openqa.selenium.*; import org.openqa.selenium.firefox.FirefoxDriver; ...
/** * <API key>.java * @author Vagisha Sharma * Sep 5, 2008 * @version 1.0 */ package org.yeastrc.ms.domain.search; public interface <API key> extends <API key> { public abstract int getModifiedPosition(); }
package com.alibaba.otter.canal.client.adapter.es7x; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Properties; import javax.sql.DataSource; import org.elasticsearch.action.search.SearchResponse; import com.alibaba.otter.canal.client.adapter.es.core.ESAdapter; import com.a...
<!DOCTYPE HTML PUBLIC "- <!--NewPage <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_43) on Tue Apr 09 16:55:12 ICT 2013 --> <TITLE> Uses of Class org.apache.hadoop.fs.BlockLocation (Hadoop 1.0.4-SNAPSHOT API) </TITLE> <META NAME="date" CONTENT="2013-04-09"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../....
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v10/enums/<API key>.proto package com.google.ads.googleads.v10.enums; public interface <API key> extends // @@<API key>(interface_extends:google.ads.googleads.v10.enums.<API key>) com.google.protobuf.MessageOrBuilder { }
/** * Helios Development Group LLC, 2010 */ package com.heliosapm.utils.instrumentation.measure; /** * <p>Title: AbstractMeasurer</p> * <p>Description: Base class for concrete measurers</p> * <p>Company: Helios Development Group LLC</p> * @author Whitehead * <p><code>com.heliosapm.utils.instrumentation.measure.A...
using System; using Google.GData.Client; using Google.GData.Extensions.Apps; namespace Google.GData.Apps.Migration { <summary> Feed API customization class for defining the Google Apps Domain Migration API's mail item feed. </summary> public class MailItemFeed : AbstractFeed { <summary> ...
package ca.qc.bergeron.marcantoine.crammeur.librairy.repository.crud; import com.google.gson.Gson; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.<API key>; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import ca.qc.bergeron.marcanto...
#include <iostream> #include <cstring> #include <string> using namespace std; //#include <mpich2/mpi.h> #include <boost/mpi.hpp> #include <boost/serialization/string.hpp> namespace mpi = boost::mpi; int main(int argc, char *argv[]) { mpi::environment env(argc, argv); mpi::communicator world; if( world.rank() =...
// <API key>: Apache-2.0 package api import ( "context" "github.com/go-kit/kit/endpoint" "github.com/mainflux/mainflux/users" ) func <API key>(svc users.Service) endpoint.Endpoint { return func(ctx context.Context, request interface{}) (interface{}, error) { req := request.(userReq) if e...
package com.nms.vnm.eip.web.controller; import com.nms.vnm.eip.entity.Video; import com.nms.vnm.eip.entity.VideoCategory; import com.nms.vnm.eip.service.entity.ProductService; import com.nms.vnm.eip.service.entity.VideoService; import javax.ejb.EJB; import javax.faces.view.ViewScoped; import javax.inject.Named; @Named ...
import unittest from igraph import Graph class TestIgraph(unittest.TestCase): def test_graph(self): # Create a graph with 10 vertices & 2 children each. g2 = Graph.Tree(n=10, children=2) self.assertEqual(9, len(g2.get_edgelist()))
using System; using System.Collections.Concurrent; using System.Reflection; using Google.Protobuf; using Orleans.Runtime; using Orleans.Serialization; namespace Example { public class ProtobufSerializer : IExternalSerializer { static readonly <API key><RuntimeTypeHandle, MessageParser> Parsers = new <AP...
package s1; import java.util.ArrayList; /** * User * HAS-AArrayList * ArrayList * * @author nagise */ public class Users { ArrayList<User> userList = new ArrayList<>(); /** * * @param user */ public void add(User user) { this.userList.add(user); } /** * * @para...
<!DOCTYPE HTML PUBLIC "- <!--NewPage <HTML> <HEAD> <!-- Generated by javadoc (build 1.5.0_16) on Thu Oct 02 15:35:31 BST 2008 --> <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <TITLE> Uses of Interface org.springframework.security.userdetails.UserDetailsManager (Spring Security 2.0.4 API) </T...
.cell {} .well { /* padding: 0; align-content: stretch; */ } .row-well { background-color: rgba(255, 0, 0, .05); } .col-well { /* padding-right: 0; padding-left: 0; max-width: 100%; width: 100%; */ } .show-grid { background-color: rgba(200, 200, 20...
package org.openxava.test.model; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.NoResultException...
package es.tid.bgp.bgp4.messages; public class BGP4Keepalive extends BGP4Message{ /** * Create new Keepalive */ public BGP4Keepalive() { this.setMessageType(BGP4MessageTypes.MESSAGE_KEEPALIVE); } public BGP4Keepalive(byte[] bytes){ super(bytes); } public void encode(){ ...
package com.dailyhotel.watchman.testsupport; import com.dailyhotel.watchman.CacheClient; import com.dailyhotel.watchman.MethodCall; import org.springframework.data.redis.core.RedisTemplate; import org.springframework.stereotype.Component; import javax.inject.Inject; import java.util.concurrent.TimeUnit; @Component publ...
<!DOCTYPE HTML PUBLIC "- <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_60) on Sun May 15 19:31:54 CAT 2016 --> <title>T-Index</title> <meta name="date" content="2016-05-15"> <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style"> <script type="text/javascript" src="../...
#set( $symbol_pound = '#' ) #set( $symbol_dollar = '$' ) #set( $symbol_escape = '\' ) package ${package}.test.support; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.ActiveProfiles; import org.springframework.test.context.<API key>; import org.springframework.test...
package array; /** * There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The * overall run time complexity should be O(log (m+n)). * * */ public class MedianSortedArrays { public static double <API key>(int A[], int B[]) { int m = A.length; ...
/** * Automatically generated file. DO NOT MODIFY */ package com.iflytek.skintest; public final class BuildConfig { public static final boolean DEBUG = Boolean.parseBoolean("true"); public static final String APPLICATION_ID = "com.iflytek.skintest"; public static final String BUILD_TYPE = "debug"; public stat...
// Includes #include "XnDeviceFileReader.h" #include <XnLog.h> #include "XnDeviceFile.h" #include <XnDDK/<API key>.h> #include <XnDDK/<API key>.h> // Types typedef struct XnLastStreamData { XnUInt64 nPosition; XnUInt32 nFrameID; XnUInt64 nTimestamp; } XnLastStreamData; <API key>(XnLastStreamData, <API key>)...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>PDF Extractor Results</title> </head> <body> <?php // Get submitted form data $apiKey = $_POST["apiKey"]; $sourceUrl = $_POST["sourceUrl"]; // Prepare URL for `Web Page to PDF` API call $url = "https://api.pdf.co/v1/pdf/convert/from/url"; // ...
package das.dao.props; public interface IBean<B,V> extends IHasDataProperty<B,V>{ public Class<?> getBeanClass(); }
package main import ( "fmt" _ "github.com/lib/pq" ) func checkReferralID(referral_id string) bool { fmt.Println("Checking for valid referral_id:", referral_id) var count int8 if referral_id == ""{ return true } db.QueryRow("SELECT COUNT(*) FROM referral WHERE referral_id=$1",referral_id).Scan(&count) ...
package com.woniukeji.jianmerchant.entity; public class T_job { private TJobEntity t_job; public TJobEntity getT_job() { return t_job; } public void setT_job(TJobEntity t_job) { this.t_job = t_job; } public static class TJobEntity { pri...
package edu.columbia.cloud.plnr.entities; import javax.jdo.annotations.IdGeneratorStrategy; import javax.jdo.annotations.PersistenceCapable; import javax.jdo.annotations.Persistent; import javax.jdo.annotations.PrimaryKey; import com.google.appengine.api.datastore.Key; @PersistenceCapable public class Subject { @Pr...
# -*- coding: utf-8 -*- # Scrapy settings for crawlAll project # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: BOT_NAME = 'crawlAll' SPIDER_MODULES = ['crawlAll.spiders'] NEWSPIDER_MODULE = 'crawlAll.spiders' # Crawl re...
package org.inaetics.demonstrator.producer.burst; import java.util.concurrent.Callable; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import java.util.concurrent....
from __future__ import unicode_literals from collections import defaultdict import datetime import json from moto.compat import OrderedDict from moto.core import BaseBackend from .comparisons import get_comparison_func from .utils import unix_time class DynamoJsonEncoder(json.JSONEncoder): def default(self, obj): ...
# AUTOGENERATED FILE FROM balenalib/kitra710-ubuntu:cosmic-build ENV GO_VERSION 1.14.14 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_VERSION...
<!DOCTYPE HTML PUBLIC "- <!-- NewPage --> <html lang="zh"> <head> <!-- Generated by javadoc (1.8.0_111) on Mon Oct 22 12:02:43 CST 2018 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title> (netty 1.0.1 API)</title> <meta name="date" content="2018-10-22"> <link rel="stylesheet" type="text/css"...
package example.model; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; @Entity public class Customer1175 { @Id @GeneratedValue(strategy = GenerationType.AUTO) private long id; private String firstName; private St...
#include <stdio.h> #include <math.h> int main(void) { double n; while(EOF != scanf("%lf", &n) && n) { /* if(sqrt(n) - (int)sqrt(n) < 0.000000001) printf("yes\n"); else printf("no\n"); */ double a = pow(n, 1.0/2); if(a - (int)a < 0.000000000...
package cn.vip.ldcr; import android.view.InputDevice; import android.view.InputDevice.MotionRange; import android.view.MotionEvent; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; /* compiled from: SDLActivity */ class <API key> extends SDLJoystickHandler { ...
package lee; import org.springframework.context.*; import org.springframework.context.support.*; import org.crazyit.app.service.*; public class SpringTest { public static void main(String[] args) { ApplicationContext ctx = new <API key>("bean.xml"); Person p1 = ctx.getBean("chinese" ...