answer stringlengths 15 1.25M |
|---|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<title>Index of /ammon/images/sliders</title>
<meta charset="UTF-8"></head>
<body>
<h1>Index of /ammon/images/sliders</h1>
<ul><li><a href="../index.html"> Parent Directory</a></li>
<li><a href="./anything_slider/index.html"> anything_slider/</a... |
enum{V};
enum{K}ABC;
enum{Global = 10,Window}Type; |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
__author__ = 'litleleprikon'
from random import randint
FIGURES = ['камень', 'бумага', 'ножницы']
FIG_LEN = len(FIGURES)
class Player:
"""
Player class is needed to store tactics and to generate figures by this tactic
-- Doctests --
player = Player()
pl... |
package site;
public class Autocomplete {
private final String label;
private final String value;
public Autocomplete(String label, String value) {
this.label = label;
this.value = value;
}
public final String getLabel() {
return this.label;
}
public final String getValue() {
return this.v... |
Running the example
bash
gcloud builds submit --config=./cloudbuild.yaml
Note
This trivial example builds 2 binaries that share a Golang package `github.com/golang/glog`.
Because the cloudbuild.yaml shares a volume called `go-modules` across all steps, once the `glog` package is pulled for the first step (`Step #0`), i... |
<?php
final class <API key>
extends <API key> {
public function register() {
$this->listen(<API key>::<API key>);
}
public function handleEvent(PhutilEvent $event) {
switch ($event->getType()) {
case <API key>::<API key>:
$this->handleActionsEvent($event);
break;
}
}
private ... |
{-# LANGUAGE OverloadedStrings #-}
module Mdb.Status ( doStatus ) where
import Control.Monad ( when )
import Control.Monad.Catch (MonadMask)
import Control.Monad.IO.Class ( MonadIO, liftIO )
import Control.Monad.Logger ( logWarnN, logDebugN, logInfoN )
import Control.Mo... |
# Use this setup block to configure all options available in SimpleForm.
SimpleForm.setup do |config|
# Wrappers are used by the form builder to generate a
# complete input. You can remove any component from the
# wrapper, change the order or even add your own to the
# stack. The options given below are used to... |
# AUTOGENERATED FILE
FROM balenalib/<API key>:bookworm-run
ENV NODE_VERSION 12.22.9
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.c... |
# AUTOGENERATED FILE
FROM balenalib/photon-nano-debian:stretch-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... |
// TweetComposer.h
#import <Foundation/Foundation.h>
#import <Cordova/CDVPlugin.h>
#import <Social/Social.h>
#import <Accounts/Accounts.h>
@interface BundleIdentifier : CDVPlugin {
NSMutableDictionary* callbackIds;
// NSString * phoneNumber;
// NSString * messageText;
}
@property (nonatomic, retain) NSMutableD... |
import math
def isPrime(num):
if num < 2:
return False # 0, 1
# num100, 50. 60 * ? = 100, , sqrt(),
boundary = int(math.sqrt(num)) + 1
for i in range(2, boundary):
if num % i == 0:
return False
return True
def primeSieve(size):
sieve = [True] * size # , False
sie... |
package pl.touk.nussknacker.engine.management.sample.signal
import java.nio.charset.StandardCharsets
import io.circe.generic.JsonCodec
import io.circe.generic.extras.ConfiguredJsonCodec
import pl.touk.nussknacker.engine.api.CirceUtil._
import pl.touk.nussknacker.engine.flink.util.source.<API key>
object Signals {
@Js... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_07) on Sat Aug 23 20:46:18 CST 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class org.xclcharts.renderer.LnChart</title>
<meta name="date" content="2014-08-23">
<lin... |
import Ember from 'ember';
const DELAY = 100;
export default Ember.Component.extend({
classNameBindings : ['inlineBlock:inline-block','clip:clip'],
tooltipService : Ember.inject.service('tooltip'),
inlineBlock : true,
clip : false,
model : null,
size : 'default',
... |
package com.altas.<API key>.model;
import java.io.Serializable;
/**
* @author Altas
* @email Altas.TuTu@gmail.com
* @date 2014927
*/
public class UserInfo implements Serializable {
private static final long serialVersionUID = <API key>;
public int id;
public String token;
public String userName;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;
using AutoMapper;
using Art.Domain;
namespace Art.Rest.v1
{
// Generated 07/20/2013 16:40:13
// Change code for each method
public class UsersController : BaseApiControl... |
<?php
if (!defined('ACTIVE')) die(__FILE__);
$oldname = isset($_REQUEST['oldname'])? $_REQUEST['oldname'] : '';
$oldname = substr($oldname,1);
$newname = isset($_REQUEST['filename'])? $_REQUEST['filename'] : '';
if ($oldname=='') setErrorCode(4);
if (!file_exists($path.'/'.$oldname)) setErrorCode(1);
if ($newname=='') ... |
package com.hzh.corejava.proxy;
public class SpeakerExample {
public static void main(String[] args) {
AiSpeaker speaker = (AiSpeaker) AuthenticationProxy.newInstance(new XiaoaiAiSpeeker());
speaker.greeting();
}
} |
# Zulip-specific tools
This article documents several useful tools that can save you a lot of
time when working with Git on the Zulip project.
## Set up git repo script
**Extremely useful**. In the `tools` directory of
[zulip/zulip][github-zulip-zulip] you'll find a bash script
`setup-git-repo`. This script installs a... |
package io.skysail.server.queryfilter.nodes.test;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import org.junit.Ignore;
import org.junit.Test;
import io.skysail.domain.Entit... |
package mat.model;
import com.google.gwt.user.client.rpc.IsSerializable;
/**
* The Class SecurityRole.
*/
public class SecurityRole implements IsSerializable {
/** The Constant serialVersionUID. */
private static final long serialVersionUID = 1L;
/** The Constant ADMIN_ROLE. */
public static final Str... |
package com.gaojun.appmarket.ui.view;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.widget.FrameLayout;
import com.gaojun.appmarket.R;
public class RationLayout extends FrameLayout {
private float ratio;
public RationLayout(Context contex... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http:
<html xmlns="http:
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>pandas.Series.memory_usage — pandas 0.24.0.dev0+81.g8d5032a8c.dirty d... |
namespace v_4_1.Protocol
{
public static class Asci
{
public const byte CR = 13;
public const byte LF = 10;
public const byte T = 84;
public const byte R = 82;
public const byte D = 68;
public const byte H = 72;
public const byte a = 97;
public con... |
2019-03-11
# java
* [Snailclimb / JavaGuide](https://github.com/Snailclimb/JavaGuide):Java+ Java
* [CypherpunkArmory / UserLAnd](https://github.com/CypherpunkArmory/UserLAnd):Main UserLAnd Repository
* [quarkusio / quarkus](https://github.com/quarkusio/quarkus):Quarkus: Supersonic Subatomic Java.
* [doocs / advanced-ja... |
# AUTOGENERATED FILE
FROM balenalib/<API key>:34-run
# > 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 users ... |
<?php namespace Way\Generators\Syntax;
class CreateTable extends Table {
/**
* Build string for creating a
* table and columns
*
* @param $migrationData
* @param $fields
* @return mixed
*/
public function create($migrationData, $fields)
{
$migrationData = ['method'... |
package sagex.phoenix.remote.services;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.util.HashMap;
import java.util.Map;
import javax.script.Invocable;
import javax.script.ScriptException;
import sagex.phoenix.util.PhoenixScriptEngine;
public class <API key> implements Invocat... |
package io.izenecloud.larser.framework;
import io.izenecloud.conf.Configuration;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
import org.kohsuke.args4j.CmdLineExc... |
/*
* This is a manifest file that'll be compiled into application.css, which will include all the files
* listed below.
*
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative p... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http:
<html lang="en-GB" xml:lang="en-GB" xmlns="http:
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>Number</title>
<link rel="root" href=""/> <!-- for JS -->
<link rel="stylesheet" href="https://maxcd... |
package com.nagopy.android.disablemanager2;
import android.os.Build;
import com.android.uiautomator.core.UiSelector;
@SuppressWarnings("unused")
public class UiSelectorBuilder {
private UiSelector uiSelector;
public UiSelector build() {
return uiSelector;
}
/**
* @since API Level 16
*/... |
package com.salesmanager.shop.model.entity;
import java.io.Serializable;
public abstract class ReadableList implements Serializable {
private static final long serialVersionUID = 1L;
private int totalPages;//totalPages
private int number;//number of record in current page
private long recordsTotal;//tot... |
# coding: UTF-8
name 'ops_tcpdump_handler'
maintainer 'Operations Infrastructure Team - Cerner Innovation, Inc.'
maintainer_email 'OpsInfraTeam@cerner.com'
license 'Apache 2.0'
description 'Installs/Configures ops_tcpdump_handler'
long_description IO.read(File.join(File.dirname(__FILE__)... |
<!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/... |
# -*- coding:utf-8 -*-
# @brief
# @author Eric Yue ( hi.moonlight@gmail.com )
# @version 0.0.1
from distutils.core import setup
V = "0.7"
setup(
name = 'mooncake_utils',
packages = ['mooncake_utils'],
version = V,
description = 'just a useful utils for mooncake personal project.',
author = 'mooncake',
autho... |
function f1(a) {
try {
throw "x";
} catch (arguments) {
console.log(arguments);
}
}
f1(3); |
#!/bin/bash
# Note: this requires the fix from:
(
# Clean-up from previous run
kubectl delete rc app
kubectl delete secret creds
kubectl delete ServiceBroker mongodb-sb
kubectl delete ServiceInstance mongodb-instance1
kubectl delete ServiceBinding <API key>
kubectl delete thirdpartyresource service-broker.cncf.org
kube... |
title:
description: Istio EDS
weight: 85
keywords: [kubernetes,multicluster]
[](/zh/docs/concepts/<API key>/#) Istio ` EDSEndpoints Discovery ServiceEndpoint ` Istio 1.1 ingress gateway remote EDS Istio endpoint
{{< image width="80%" ratio="36.01%"
link="/docs/examples/multicluster/split-horizon-eds/diagram.... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="ja">
<head>
<!-- Generated by javadoc (1.8.0_242) on Fri Aug 21 11:53:10 JST 2020 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title> jp.cafebabe.pochi.core.config.Value (pochi: extensible birthmark toolkit 1.0.0 API)</title>
<meta name="... |
package blended.itestsupport.condition
import akka.testkit.{TestActorRef, TestProbe}
import blended.itestsupport.condition.ConditionActor.CheckCondition
import blended.itestsupport.condition.ConditionActor.<API key>
import org.scalatest.matchers.should.Matchers
import org.scalatest.wordspec.AnyWordSpec
import akka.acto... |
<?php
namespace CultuurNet\UDB3\EventSourcing\DBAL;
class NonCompatibleUuid
{
/**
* @var string
*/
private $uuid;
/**
* DummyUuid constructor.
* @param string $uuid
*/
public function __construct($uuid)
{
$this->uuid = $uuid;
}
} |
// JavaScript Document
var flag1=true;
var flag2=true;
$(function () {
$.ajax({
type : 'POST',
dataType : 'json',
url : 'baseNeiName.do',
async : true,
cache : false,
error : function(requ... |
<!DOCTYPE html >
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>Spark NLP 3.4.2 ScalaDoc - com.johnsnowlabs.ml.tensorflow.sign.<API key>.Atte... |
// Module Name:
// Btsdk_Stru.h
// Abstract:
// This module defines BlueSoleil SDK structures.
// Usage:
// #include "Btsdk_Stru.h"
// Revision History:
// 2007-12-25 Created
#ifndef _BTSDK_STRU_H
#define _BTSDK_STRU_H
typedef struct _BtSdkCallbackStru
{
BTUINT16 type; /*t... |
package com.ebay.pulsar.analytics.metricstore.druid.query.sql;
/**
*
* @author mingmwang
*
*/
public class HllConstants {
public static final String HLLPREFIX = "hllhaving_";
} |
using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Text;
using System.IO;
using System.IO.Packaging;
using System.Globalization;
using DocumentFormat.OpenXml;
using System.Linq;
usin... |
// lightbox_plus.js
// ver. 20061027 - fixed a bug ( not work at xhml documents on Netscape7 )
// ver. 20061026 - fixed bugs
// ver. 20061010 - implemented image set feature
// ver. 20060921 - fixed a bug / added overall view
// ver. 20060920 - added flag to prevent mouse wheel event
// ver. 20060919 - fixed a bug
// v... |
package org.jf.dexlib2.builder;
import org.jf.dexlib2.*;
import org.jf.dexlib2.builder.instruction.*;
import org.jf.dexlib2.iface.instruction.*;
import java.util.*;
import javax.annotation.*;
public abstract class <API key> extends BuilderInstruction implements SwitchPayload {
@Nullable
MethodLocation referrer;... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
"""Tests for the Google Chrome Cache files event formatter."""
import unittest
from plaso.formatters import chrome_cache
from tests.formatters import test_lib
class <API key>(test_lib.<API key>):
"""Tests for the Chrome Cache entry event formatter."""
def testInitialization... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="ro">
<head>
<!-- Generated by javadoc (version 1.7.0_07) on Tue May 27 14:37:25 EEST 2014 -->
<title>Uses of Interface net.sf.jasperreports.engine.export.oasis.<API key> (JasperReports 5.6.0 API)</title>
<meta name="date" content="2014-05-27">
<link rel="stylesheet"... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="ro">
<head>
<!-- Generated by javadoc (version 1.7.0_07) on Tue May 27 14:37:18 EEST 2014 -->
<title><API key>.DeduplicableWrapper (JasperReports 5.6.0 API)</title>
<meta name="date" content="2014-05-27">
<link rel="stylesheet" type="text/css" href="../../../../../s... |
<HTML>
<HEAD>
<TITLE>VectotToDoubleArray</TITLE>
</HEAD>
<BODY TEXT="#000000" LINK="#ff00ff" VLINK="#800080" BGCOLOR="#fdf5e6" alink="#FF0000">
<H1 ALIGN="CENTER">VectToDoubleArray</H1>
<P ALIGN="CENTER">
<LARGE><B>Author : Ian Wang</B>
</P>
<P ALIGN="CENTER">
<LARGE><B>Version : VERSION <BR>
<BR>
... |
package nodeAST.relational;
import java.util.Map;
import nodeAST.BinaryExpr;
import nodeAST.Expression;
import nodeAST.Ident;
import nodeAST.literals.Literal;
import types.BoolType;
import types.Type;
import visitor.ASTVisitor;
import visitor.<API key>;
public class NEq extends BinaryExpr {
public NEq(Expression le... |
package edu.ptu.javatest._60_dsa;
import org.junit.Test;
import java.util.TreeMap;
import static edu.ptu.javatest._20_ooad._50_dynamic._00_ReflectionTest.getRefFieldBool;
import static edu.ptu.javatest._20_ooad._50_dynamic._00_ReflectionTest.getRefFieldObj;
public class _35_TreeMapTest {
@Test
public void testP... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_22) on Tue Nov 16 12:39:11 CET 2010 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
GenericService (RESThub framework 1.0 API)
</TITLE>
<META NAME="date" CONTENT="2010-11-16">
<LINK REL ="stylesheet... |
using System;
using System.Html;
using System.Runtime.CompilerServices;
namespace jQueryApi.UI.Widgets {
[Imported]
[IgnoreNamespace]
[Serializable]
public sealed class <API key> {
public object OriginalPosition {
get; set;
}
public object OriginalSize {
g... |
layout: default
modal-id: 7
date: 2013-01-31
img: themis.png
alt: UOCD
project-date: Spring 2013
client: Olin
title: User-Oriented Collaborative Design
size: 5
tags: [Design, Project]
description: "As part of Olin’s User-Oriented Collaborative Design course, I worked for a semester with parents of visually impaired chi... |
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 = "<API key>", propOrder = {
"phoneType",
"... |
package pokemon.vue;
import pokemon.launcher.PokemonCore;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.Batch;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import ... |
package org.tiltedwindmills.fantasy.mfl.services;
import org.tiltedwindmills.fantasy.mfl.model.LoginResponse;
/**
* Interface defining operations required for logging into an MFL league.
*/
public interface LoginService {
/**
* Login.
*
* @param leagueId the league id
* @param serverId the ser... |
# wc [option] command
# -l, --lines :
# -L, --max-line-length :
# -w, --words :
# -m, --chars :
# -c, --bytes :
wc dstFile
cat dstFile | wc
wc -l dstFile
cat dstFile | wc -l
wc -w dstFile
cat dstFile | wc -w
wc -c dstFile
cat dstFile | wc -c
wc -m dstFile
cat dstFile | wc -m
ls -l | wc -l
# line counts
wc -l
# word cou... |
<?php
/* TwigBundle:Exception:exception.rdf.twig */
class <API key> extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
);
}
protected function doDisplay(array $context, arra... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_20) on Tue Dec 23 13:29:41 PST 2014 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Deprecated List (jcuda-windows64 6.5 API)</title>
<meta name="date" content="2014-12-23">
<link rel="style... |
#include "nrsalPrimitives.h"
nrsalPrimitives::nrsalPrimitives()
{
//ctor
}
nrsalPrimitives::~nrsalPrimitives()
{
//dtor
} |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_79) on Thu Sep 17 01:48:58 IST 2015 -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Uses of Class org.apache.solr.cloud.ZkTestServer.<API key> (Solr 5.3.1 API)</title>
<meta name="da... |
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC "-
<html>
<head>
<title>ObjFormatType - com.ligadata.olep.metadata.ObjFormatType</title>
<meta name="description" content="ObjFormatType - com.ligadata.olep.metadata.ObjFormatType" />
<meta name="keywords" content="ObjFor... |
package org.ns.vk.cachegrabber.ui;
import java.awt.event.ActionEvent;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.AbstractAction;
import org.ns.func.Callback;
import org.ns.ioc.IoC;
import org.ns.vk.cachegrabber.api.Application;
import org.ns.vk.cachegrabber.api.vk.Audio;
import ... |
layout: event
title: "OSM Bangladesh: Bringing scattered OSM activities under single platform"
theme: Community growth and diversity, outreach
theme_full: Community growth and diversity, outreach, Organisational, legal
category: Community growth and diversity, outreach
audience: "(1a) Data contributors: Community"
audi... |
package com.mapswithme.maps.maplayer.traffic;
import androidx.annotation.MainThread;
import androidx.annotation.NonNull;
import com.mapswithme.util.log.Logger;
import com.mapswithme.util.log.LoggerFactory;
import java.util.ArrayList;
import java.util.List;
@MainThread
public enum TrafficManager
{
INSTANCE;
private ... |
package brennus.asm;
import static brennus.model.ExistingType.VOID;
import static brennus.model.ExistingType.existing;
import static brennus.model.Protection.PUBLIC;
import static junit.framework.Assert.assertEquals;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
... |
namespace <API key>.Google.Json
{
public class Geometry
{
public Location location { get; set; }
public string location_type { get; set; }
public Viewport viewport { get; set; }
public Bounds bounds { get; set; }
}
} |
package th.ac.kmitl.ce.ooad.cest.repository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import th.ac.kmitl.ce.ooad.cest.domain.Course;
import th.ac.kmitl.ce.ooad.cest.domain.Faculty;
import java.util.List;
public interface CourseRepository extends Cr... |
#include "TestInc.h"
#include "LuceneTestFixture.h"
#include "<API key>.h"
#include "DateTools.h"
namespace Lucene
{
LuceneTestFixture::LuceneTestFixture()
{
DateTools::setDateOrder(DateTools::DATEORDER_LOCALE);
<API key>::setTestMode();
}
LuceneTestFixture::~LuceneTestFixture()
{
... |
macimport os
import subprocess
name = "gobuildmaster"
current_hash = ""
for line in os.popen("md5sum " + name).readlines():
current_hash = line.split(' ')[0]
# Move the old version over
for line in os.popen('cp ' + name + ' old' + name).readlines():
print line.strip()
# Rebuild
for line in os.popen('go build').... |
import unittest2
import helper
import simplejson as json
from nose.plugins.attrib import attr
PORTAL_ID = 62515
class ListsClientTest(unittest2.TestCase):
def setUp(self):
self.client = ListsClient(**helper.get_options())
def tearDown(self):
pass
@attr('api')
def test_get_list(self):
... |
using System;
using System.Data;
using System.Text;
using System.Data.SqlClient;
using Maticsoft.DBUtility;
namespace TSM.DAL
{
<summary>
Êý¾Ý·ÃÎÊÀàCK_People¡£
</summary>
public class CK_People
{
public CK_People()
{}
<summary>
µÃµ½×î´óID
</summary>
pu... |
package jp.ac.keio.bio.fun.xitosbml.image;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map.Entry;
import ij.ImagePlus;
import ij.ImageStack;
import ij.process.ByteProcessor;
/**
* The class Filler, which provides several morphological oper... |
/*! \file Texture.h
* \author Jared Hoberock
* \brief Defines the interface to a class abstracting
* textures for shading.
*/
#pragma once
#include <array2/Array2.h>
#include "../include/detail/Spectrum.h"
class Texture
: protected Array2<Spectrum>
{
public:
/*! Null constructor creates a 1x1 whit... |
package org.ak.gitanalyzer.http.processor;
import org.ak.gitanalyzer.util.writer.CSVWriter;
import org.ak.gitanalyzer.util.writer.HTMLWriter;
import java.text.NumberFormat;
import java.util.Collection;
import java.util.function.BiConsumer;
import java.util.function.Function;
public class ProcessorMock extends <API key>... |
# require './lib/class_extensions'
# require './lib/mylogger'
# DEV Only requries above.
require './lib/code_detector'
require './lib/dsl/style_dsl'
require './lib/dsl/selector_dsl'
require './lib/tag_helper'
require './lib/html/html_class_finder'
require './lib/html/style_list'
require './lib/highlighter/highlighters_... |
"""A client for the REST API of imeji instances."""
import logging
from collections import OrderedDict
import requests
from six import string_types
from pyimeji import resource
from pyimeji.config import Config
log = logging.getLogger(__name__)
class ImejiError(Exception):
def __init__(self, message, error):
... |
-- main.lua
-- Implements the plugin entrypoint (in this case the entire plugin)
-- Global variables:
local g_Plugin = nil
local g_PluginFolder = ""
local g_Stats = {}
local g_TrackedPages = {}
local function LoadAPIFiles(a_Folder, a_DstTable)
assert(type(a_Folder) == "string")
assert(type(a_DstTable) == "table... |
using MatrixApi.Domain;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Data.Json;
namespace MatrixPhone.DataModel
{
public static class UserDataSource
{
public static User user = new User();
... |
package com.yezi.text.widget;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.SwitchCompat;
import android.view.View;
import android.widget.CompoundButton;
import com.yezi.text.activity.<API key>;
import com.yezi.text.activity.<A... |
(function () {
'use strict';
app.service('reportService', reportService);
function reportService($http, $window, $interval, timeAgo, restCall, queryService, dashboardFactory, ngAuthSettings, reportServiceUrl) {
var populateReport = function (report, url) {
function successCallback(respon... |
package io.github.marktony.reader.qsbk;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.design.widget.Snackbar;
import android.support.v4.app.Fragment;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.widget.LinearLayoutManager;
import android.s... |
package org.gradle.test.performance.<API key>.p428;
import org.junit.Test;
import static org.junit.Assert.*;
public class Test8570 {
Production8570 objectUnderTest = new Production8570();
@Test
public void testProperty0() {
String value = "value";
objectUnderTest.setProperty0(value);
... |
var array = trace ( new Array());
var m = trace ( 0 );
var n = trace ( 3 );
var o = trace ( 5 );
var p = trace ( 7 );
array[0] = m;
array[1] = n;
array[2] = o;
array[3] = p;
var result = new Array();
// FOR-IN Schleife
for ( i in array ) {
result.push(i);
x = i;
z = 7;
}
var a = result;
var b = result[0];
v... |
title: Fall's Fabulous Floral, Fruit, and Foliage Finery
date: 2014-10-13 00:00:00 -06:00
categories:
- whats-blooming
layout: post
blog-banner: <API key>.jpg
post-date: October 13, 2014
post-time: 2:32 PM
blog-image: wbn-default.jpg
<div class="text-center">Fall weather brings about a fabulous display throughout the G... |
package com.melvin.share.ui.activity;
import android.content.Context;
import android.databinding.DataBindingUtil;
import android.text.TextUtils;
import android.view.View;
import android.widget.LinearLayout;
import com.bumptech.glide.Glide;
import com.google.gson.Gson;
import com.google.gson.JsonObject;
import com.googl... |
package clockworktest.water;
import com.clockwork.app.SimpleApplication;
import com.clockwork.audio.AudioNode;
import com.clockwork.audio.LowPassFilter;
import com.clockwork.effect.ParticleEmitter;
import com.clockwork.effect.ParticleMesh;
import com.clockwork.input.KeyInput;
import com.clockwork.input.controls.ActionL... |
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Document</title>
</head>
<body>
<script type="text/javascript">
window.alert("");
console.log("");
console.warn("");
console.info("");
console.... |
package javassist.build;
/**
* A generic build exception when applying a transformer.
* Wraps the real cause of the (probably javassist) root exception.
* @author SNI
*/
@SuppressWarnings("serial")
public class <API key> extends Exception {
public <API key>() {
super();
}
public <API key>(String... |
package com.hcentive.webservice.soap;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.ws.server.endpoint.annotation.Endpoint;
import org.springframework.ws.server.endpoint.annotation.PayloadRoot;
import org.springframework.ws.server.endpoint.annotation.RequestPayload;
import or... |
namespace Microsoft.WindowsAzure.MobileServices.Eventing
{
<summary>
Represents a mobile service event.
</summary>
public interface IMobileServiceEvent
{
<summary>
Gets the event name.
</summary>
string Name { get; }
}
} |
import { Configuration } from "./configuration";
import { ConfigurationParser } from "./<API key>";
import { <API key> } from "./<API key>";
import { ExecutionDisplay } from "./execution-display";
import { ExecutionMetrics } from "./execution-metrics";
import CustomReporter = jasmine.CustomReporter;
import SuiteInfo = ... |
#! /usr/bin/python
import sys
import os
import json
import grpc
import time
import subprocess
from google.oauth2 import service_account
import google.oauth2.credentials
import google.auth.transport.requests
import google.auth.transport.grpc
from google.firestore.v1beta1 import firestore_pb2
from google.firestore.v1beta... |
package com.google.api.ads.adwords.jaxws.v201509.cm;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SharedCriterion", propOrder = {
"sharedSetId",
"criterion",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.