answer
stringlengths
15
1.25M
package com.hannesdorfmann.mosby3.sample.mail.base.view; import android.support.v4.app.<API key>; import android.support.v4.util.Pair; import android.view.View; import android.widget.Toast; import com.hannesdorfmann.mosby3.sample.mail.IntentStarter; import com.hannesdorfmann.mosby3.sample.mail.R; import com.hannesdorfm...
#ifndef <API key> #define <API key> #include <ostream> #include <sstream> #include <typeinfo> #include "escape.hpp" #include "../forward.hpp" #include "../message_extension.hpp" #include "../type.hpp" #include "../external/pegtl/internal/demangle.hpp" namespace tao::json::internal { inline void to_stream( std::ostre...
<?php final class <API key> extends <API key> { protected function didConstruct() { $this ->setName('importing') ->setExamples('**importing** __repository__ ...') ->setSynopsis( pht( 'Show commits in __repository__ which are still importing.')) ->setArguments( a...
package org.batfish.representation.cisco_nxos; import static com.google.common.base.Preconditions.checkArgument; import com.google.common.base.MoreObjects; import com.google.common.collect.Range; import java.io.Serializable; import java.util.Objects; import javax.annotation.Nonnull; import javax.annotation.Nullable; im...
// English (Template) jQuery.timeago.settings.strings = { prefixAgo: null, prefixFromNow: null, suffixAgo: "ago", suffixFromNow: "from now", seconds: "less than a minute", minute: "about a minute", minutes: "%d minutes", hour: "about an hour", hours: "about %d hours", day: "a day", days: "%d days"...
1. [System](README_system.md) (white) 1. [Request](README_request.md) (blue) 1. [Accept](README_accept.md) (green) 1. [Retrieve](README_retrieve.md) (white) 1. [Precondition](README_precondition.md) (yellow) 1. Create/Process * [Create](README_create.md) (violet) * [Process](README_process.md) (red) 1. [Respons...
package com.perforce.p4java.server.delegator; import com.perforce.p4java.exception.AccessException; import com.perforce.p4java.exception.ConnectionException; import com.perforce.p4java.exception.P4JavaException; import com.perforce.p4java.exception.RequestException; import com.perforce.p4java.option.server.CounterOptio...
@<API key> package org.batfish.datamodel.hsrp; import javax.annotation.<API key>;
/* mixin definition ; sets LTR and RTL within the same style call */ md-radio-button, .md-switch-thumb { box-sizing: border-box; display: block; margin: 15px; white-space: nowrap; cursor: pointer; } md-radio-button *, md-radio-button *:before, md-radio-button *:after, .md-switch-thumb *, .md-switch-thumb *:...
use crate::context::LintContext; use crate::rustc_middle::ty::TypeFoldable; use crate::LateContext; use crate::LateLintPass; use rustc_hir::def::DefKind; use rustc_hir::{Expr, ExprKind}; use rustc_middle::ty; use rustc_span::symbol::sym; declare_lint! { The `noop_method_call` lint detects specific calls to noop met...
package store import ( "errors" "fmt" "os" "path/filepath" "sync" ) // store/SimpleFSLockFactory.java type SimpleFSLock struct { *LockImpl file, dir string } func newSimpleFSLock(lockDir, lockFileName string) *SimpleFSLock { ans := &SimpleFSLock{ dir: lockDir, file: file...
package com.jiangKlijna.web.control; import javax.annotation.Resource; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import com.jiangKlijna.web.bean.Result; import com.jiangKlijna.web.service.UserService; import org.springframework.web.bind.annotation.R...
# Azul Zulu JRE Azul Zulu JRE provides Java runtimes developed by Azul team. Versions of Java from the `1.6`, `1.7`, and `1.8` levels are available. Unless otherwise configured, the version of Java that will be used is specified in [`config/zulu_jre.yml`][]. <table> <tr> <td><strong>Detection Criterion</strong>...
## Table of Contents 1. [Portable Server Prerequisites](#<API key>) 1. [Build Prerequisites](#build-prerequisites) 1. [Run-time Prerequisites](#<API key>) 1. [Portable Server on Linux](#<API key>) 1. [Building on Linux](#building-on-linux) 1. [Installing on Linux](#installing-on-linux) 1. [Running o...
package org.simpleframework.xml.core; import org.simpleframework.xml.Attribute; import org.simpleframework.xml.Element; import org.simpleframework.xml.ElementArray; import org.simpleframework.xml.Root; import org.simpleframework.xml.Serializer; import org.simpleframework.xml.ValidationTestCase; public class ArrayEntryT...
package org.apereo.cas.support.wsfederation.web; import org.apereo.cas.<API key>; import org.apereo.cas.services.<API key>; import org.apereo.cas.support.wsfederation.<API key>; import org.apereo.cas.util.HttpRequestUtils; import lombok.val; import org.apereo.inspektr.common.web.ClientInfo; import org.apereo.inspektr.c...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace <API key> { public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() { Ar...
package matchers import ( "fmt" "github.com/cloudfoundry/bosh-utils/internal/github.com/onsi/gomega/format" ) type BeTrueMatcher struct { } func (matcher *BeTrueMatcher) Match(actual interface{}) (success bool, err error) { if !isBool(actual) { return false, fmt.Errorf("Expected a boolean. Got:\n%s...
#include "argon2-encoding.h" #include "argon2-core.h" #include "utils.h" #include <limits.h> #include <stdio.h> #include <stdlib.h> #include <string.h> /* * Decode decimal integer from 'str'; the value is written in '*v'. * Returned value is a pointer to the next non-decimal character in the * string. If there is no...
package org.batfish.main.annotate; import static com.google.common.base.Preconditions.checkArgument; import static org.batfish.datamodel.answers.ParseStatus.FAILED; import static org.batfish.main.CliUtils.readAllFiles; import static org.batfish.main.CliUtils.relativize; import static org.batfish.main.CliUtils.resolve; ...
"use strict"; // An iterable WeakSet implementation inspired by the iterable WeakMap example code in the WeakRefs specification: // https://github.com/tc39/proposal-weakrefs#iterable-weakmaps module.exports = class IterableWeakSet { constructor() { this._refSet = new Set(); this._refMap = new WeakMap(); t...
let Manager = require('../../structures/manager'); class UtilityManager extends Manager { } module.exports = { class: UtilityManager, deps: [], async: false, shortcode: 'utm' };
package superpkg; public class TargetB { }
package com.jetbrains.env.python.testing; import com.intellij.execution.testframework.AbstractTestProxy; import com.intellij.execution.testframework.sm.runner.ui.MockPrinter; import com.intellij.openapi.vfs.VirtualFile; import com.jetbrains.env.EnvTestTagsRequired; import com.jetbrains.env.PyEnvTestCase; import com.jet...
<html> <head></head> <body> <p>[One</p> <p>Two</p> <p>Three</p> <p>Four</p> <ol> <li><p>Five]</p></li> </ol> </body> </html>
VERSION=$1 if [ ! "$VERSION" ]; then echo "usage: $(basename $0) [version]" exit 1 fi # edit parent pom.xml echo "editing parent pom.xml" echo mvn versions:update-parent "-DparentVersion=[${VERSION}]" mvn versions:update-parent "-DparentVersion=[${VERSION}]" echo "Committing changes" git commit -am "bumping inc...
package net.redhogs.cronparser; /** * @author grhodes * @since 10 Dec 2012 10:59:32 */ public enum CasingTypeEnum { Title, Sentence, LowerCase; }
//hu_hu605@163.com #include <stdlib.h> #include <stdio.h> #include <math.h> #include <iostream.h> #include <iomanip.h> #include <time.h> #include <windows.h> #define IM1 2147483563 #define IM2 2147483399 #define AM (1.0/IM1) #define IMM1 (IM1-1) #define IA1 40014 #define IA2 40692 #define IQ1 53668 #define IQ2 52774 #d...
import h2o from h2o.estimators.glm import <API key> h2o.init() h2o_df = h2o.import_file("http://<API key>.s3.amazonaws.com/bigdata/laptop/glm_ordinal_logit/<API key>.csv") h2o_df['C11'] = h2o_df['C11'].asfactor() ordinal_fit = <API key>(family = "ordinal", alpha = 1.0, lambda_=0.000000001, obj_reg = 0.00001, max_iterat...
"""Test the Kuler Sky config flow.""" from unittest.mock import MagicMock, patch import pykulersky from homeassistant import config_entries, setup from homeassistant.components.kulersky.config_flow import DOMAIN async def test_flow_success(hass): """Test we get the form.""" await setup.<API key>(hass, "<API key...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using Akka.Actor; using Akka.Configuration; using Akka.Dispatch; using Akka.Event; namespace Akka.IO { public class Tcp : ExtensionIdProvider<TcpExt> { public static readonly Tcp Instance = new...
#pragma once #include "drape_frontend/color_constants.hpp" #include "drape_frontend/route_shape.hpp" #include "drape/pointers.hpp" #include "drape/texture_manager.hpp" #include "traffic/speed_groups.hpp" #include "geometry/polyline2d.hpp" #include <functional> #include <unordered_map> #include <vector> namespace df { c...
// This source file is part of the Swift.org open source project #include "swift/IDE/<API key>.h" #include "swift/IDE/Utils.h" #include "swift/Sema/IDETypeChecking.h" #include "swift/AST/ASTContext.h" #include "swift/AST/ASTPrinter.h" #include "swift/AST/Decl.h" #include "swift/AST/Module.h" #include "swift/AST/NameLoo...
#include "postgres.h" #include "miscadmin.h" #include "pgstat.h" #include "postmaster/bgworker.h" #include "storage/procsignal.h" #include "storage/shm_mq.h" #include "storage/spin.h" struct shm_mq { slock_t mq_mutex; PGPROC *mq_receiver; PGPROC *mq_sender; pg_atomic_uint64 mq_bytes_r...
#!/bin/bash cp -a $REPO ./build/ ${PIP} install -r $REPO/requirements.txt
class Dash < Formula desc "POSIX-compliant descendant of NetBSD's ash (the Almquist SHell)" homepage "http://gondor.apana.org.au/~herbert/dash/" url "http://gondor.apana.org.au/~herbert/dash/files/dash-0.5.10.2.tar.gz" mirror "https://dl.bintray.com/homebrew/mirror/dash-0.5.10.2.tar.gz" sha256 "<SHA256-like>"...
cask 'second-life-viewer' do version '3.8.1.303130' sha256 '<SHA256-like>' url "http://download.cloud.secondlife.com/Viewer_3/Second_Life_#{version.gsub('.','_')}_i386.dmg" name 'Second Life Viewer' homepage 'https://secondlife.com/' license :gpl tags :vendor => 'Linden Lab' app 'Second Life Viewer.app'...
package com.glob3mobile.server.proxy; import java.io.BufferedInputStream; import java.io.<API key>; import java.io.IOException; import java.net.HttpURLConnection; import java.net.<API key>; import java.net.URL; import java.net.URLDecoder; import java.util.Enumeration; import java.util.HashMap; import java.util.Map; imp...
class DocbookXsl < Formula desc "XML vocabulary to create <API key> documents" homepage "https://github.com/docbook/xslt10-stylesheets" url "https://github.com/docbook/xslt10-stylesheets/releases/download/release%2F1.79.2/docbook-xsl-nons-1.79.2.tar.bz2" sha256 "<SHA256-like>" # Except as otherwise noted, for...
#ifndef <API key> #define <API key> namespace benchmark { double MyCPUUsage(); double ChildrenCPUUsage(); int NumCPUs(); double CyclesPerSecond(); } // end namespace benchmark #endif // <API key>
<div class="page-header clearfix"> <h1 class="pull-left m0"> <a ui-sref="admin.project.detail({id: project.id})"> {{project.name}}</a> {{version.vs}} <sub> <a class="small" href="" ui-sref="admin.project.version({id: project.id})"></a> </sub> </h1> </div> <ul class="n...
<!DOCTYPE HTML> <html> <head> <title> Encodings test suite: ISO-8859-8 IW [hebrew] (autodetect) </title> </head> <body> <h2>Encoding: ISO-8859-8 IW [hebrew] (autodetect)</h2> <p>The text in the iframe below should look similar to the reference rendering at the bottom.</p> <h2>Test</h2> <iframe style="b...
from __future__ import unicode_literals import datetime import re import sys import warnings from unittest import skipIf from xml.dom.minidom import parseString from django.contrib.auth.models import User from django.core import serializers from django.core.urlresolvers import reverse from django.db.models import Max, ...
#include "ipc/<API key>.h" #include <windows.h> namespace IPC { namespace internal { HandleAttachmentWin::HandleAttachmentWin(const HANDLE& handle) : handle_(handle) { } HandleAttachmentWin::~HandleAttachmentWin() { } HandleAttachmentWin::BrokerableType HandleAttachmentWin::GetBrokerableType() const { return ...
package org.eclipse.collections.impl.utility; import org.eclipse.collections.impl.test.Verify; import org.junit.Test; /** * JUnit test for {@link OrderedIterate}. */ public class OrderedIterateTest { @Test public void <API key>() { Verify.<API key>(OrderedIterate.class); } }
#include "chrome/browser/extensions/extension_apitest.h" #include <vector> #include "base/command_line.h" #include "base/memory/ref_counted.h" #include "base/strings/stringprintf.h" #include "chrome/browser/chromeos/extensions/<API key>.h" #include "chrome/browser/chromeos/input_method/input_method_util.h" #include "ch...
package org.locationtech.geogig.geotools.cli.geopkg; import org.geotools.data.DataStore; import org.locationtech.geogig.cli.CLICommand; import org.locationtech.geogig.cli.annotation.ReadOnly; import org.locationtech.geogig.geotools.cli.DataStoreDescribe; import org.locationtech.geogig.geotools.plumbing.DescribeOp; impo...
<!doctype html> <html> <head> <title>Draggable select</title> <style type="text/css"> select { border: 1px solid orange; border-top-width: 20px; } </style> <script type="text/javascript"> window.onload = function () { document.<API key>('select')[0].ondragstart = function (e) { ...
require 'test_helper' class NotificationTest < ActiveSupport::TestCase # Replace this with your real tests. test "the truth" do assert true end end
'use strict'; const Platform = require('Platform'); const <API key> = require('<API key>'); const <API key> = require('<API key>'); const UIManager = require('UIManager'); const <API key> = require('<API key>'); const insetsDiffer = require('insetsDiffer'); const matricesDiffer = require('matricesDiffer'); const points...
// modification, are permitted provided that the following conditions // are met: // and/or other materials provided with the distribution. // * Neither the name of Jaroslaw Kowalski nor the names of its // contributors may be used to endorse or promote products derived from this // AND ANY EXPRESS OR IMPLIED WARRA...
package org.motechproject.openmrs.tasks.impl; import org.apache.commons.collections.MapUtils; import org.apache.commons.lang.StringUtils; import org.joda.time.DateTime; import org.motechproject.openmrs.domain.Concept; import org.motechproject.openmrs.domain.ConceptName; import org.motechproject.openmrs.domain.Encounter...
#ifndef _AQUARIUS_SCF_HPP_ #define _AQUARIUS_SCF_HPP_ #include "util/global.hpp" #include "input/config.hpp" #include "task/task.hpp" namespace aquarius { namespace scf { template <typename T> class SCF : public task::Task { public: SCF(const string& name, input::Config& config); bool run(task::Task...
layout: docs title: MSBuild ReactJS.NET includes an MSBuild task for compiling JSX into JavaScript. This is handy to improve the start time of your application, especially if you have a large number of JSX files. To use it, first reference the `TransformBabel` task, and then call it wherever you like: xml <UsingTask ...
#ifndef <API key> #define <API key> #include <boost/shared_ptr.hpp> #include <QtCore/QDir> #include "ACL.h" #include "Settings.h" #include "Timer.h" #include "Version.h" // Global helper class to spread variables around across threads. class MainWindow; class ServerHandler; class AudioInput; class AudioOutput; class Da...
#!/usr/bin/env bash set -x -e # Build project MVN_ARGS="clean package -B -V" mvn ${MVN_ARGS} -P release,skip-unzip-jdk
<?php namespace yii\build\controllers; use Yii; use yii\base\Exception; use yii\console\Controller; use yii\helpers\ArrayHelper; use yii\helpers\Console; use yii\helpers\FileHelper; /** * ReleaseController is there to help preparing releases. * * Get a version overview: * * ./build release/info * * run it wi...
// tls.h: Simple cross-platform interface for thread local storage. #ifndef COMMON_TLS_H_ #define COMMON_TLS_H_ #include "common/platform.h" #ifdef <API key> // TLS does not exist for Windows Store and needs to be emulated # ifdef <API key> # ifndef TLS_OUT_OF_INDEXES # define TLS_OUT_OF_INDEXES -1 # ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <title>Imported cssRules</title> <style type="text/css"> @import url(imported.css); </style> <script type="text/javascript"> window.onload = function () { document.<API key>('p')[0].firstChild.nodeValue = ( document.styleSheets.item(0).cssRules.item(0...
from __future__ import absolute_import import itertools from django.contrib import messages from django.core.context_processors import csrf from django.db import transaction from django.http import <API key> from django.views.decorators.cache import never_cache from django.views.decorators.csrf import csrf_protect from...
<!doctype html> 001-1 <script> addEventListener("pageshow", function(e) { parent.events.push(e); if (parent.events.length == 2) { parent.do_test(); } }, false); </script>
#include <shogun/neuralnets/<API key>.h> #include <shogun/neuralnets/NeuralInputLayer.h> #include <shogun/neuralnets/NeuralLinearLayer.h> #include <shogun/lib/SGVector.h> #include <shogun/lib/SGMatrix.h> #include <shogun/mathematics/Math.h> #include <shogun/mathematics/<API key>.h> #include <shogun/mathematics/NormalDi...
<?php namespace ZF\Doctrine\QueryBuilder\Filter\ORM; class NotLike extends AbstractFilter { public function filter($queryBuilder, $metadata, $option) { if (isset($option['where'])) { if ($option['where'] === 'and') { $queryType = 'andWhere'; } elseif ($option['whe...
#!/bin/sh # IMPORTANT: To use, do the folling: # 1. Change 'NAME' variable to the name of your project. E.g. "bednets_for_nigeria" # 2. Place this file in the TOP-LEVEL of your project, right where 'rapidsms' is # 3. Link it into /etc/init.d e.g. > ln -s /usr/local/my_project/rapidsms-init.sh /etc/init.d/ # 4. Add it t...
package org.jbehave.core.reporters; import java.io.File; import org.jbehave.core.configuration.Keywords; /** * @deprecated Use {@link XmlTemplateOutput} */ public class XmlTemplateOuput extends XmlTemplateOutput { public XmlTemplateOuput(File file, Keywords keywords) { super(file, keywords); } pub...
#ifndef <API key> #define <API key> #include <string> #include <vector> #include "base/compiler_specific.h" #include "base/synchronization/cancellation_flag.h" #include "chrome/browser/autocomplete/autocomplete_input.h" #include "chrome/browser/autocomplete/history_provider.h" #include "chrome/browser/autocomplete/<API...
<!doctype html> <title>WebSockets: addEventListener open, OPEN</title> <pre>FAIL (script didn't run)</pre> <script src=/resources/jsframework2.js></script> <script src=../../constants.js></script> <script src=gc.js></script> <script> assertNotEquals(window.WebSocket, undefined, 'WebSocket not supported'); // see gc-pol...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http: <html xmlns="http: <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>libpgm.graphskeleton &mdash; libpgm 1.1 documentation</title> <link rel="stylesheet" href="../../_static/default.css" type="text/cs...
define(['../internal/baseCallback', '../internal/baseWhile'], function(baseCallback, baseWhile) { /** * Creates a slice of `array` excluding elements dropped from the end. * Elements are dropped until `predicate` returns falsey. The predicate is * bound to `thisArg` and invoked with three arguments: (value, ...
#include "SkBitmap.h" #include "SkErrorInternals.h" #include "SkOrderedReadBuffer.h" #include "SkStream.h" #include "SkTypeface.h" SkOrderedReadBuffer::SkOrderedReadBuffer() : INHERITED() { fMemoryPtr = NULL; fBitmapStorage = NULL; fTFArray = NULL; fTFCount = 0; fFactoryTDArray = NULL; fFactoryA...
#include <sb6.h> class simpleclear_app : public sb6::application { void init() { static const char title[] = "OpenGL SuperBible - Simple Clear"; sb6::application::init(); memcpy(info.title, title, sizeof(title)); } virtual void render(double currentTime) { static cons...
#if 0 #ifndef lint static const char copyright[] = "@( The Regents of the University of California. All rights reserved.\n"; #endif #ifndef lint static char sccsid[] = "@(#)nfsiod.c 8.4 (Berkeley) 5/3/95"; #endif #endif #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/syslog.h>...
import json import pathlib import sys import boto3 dist_folder = pathlib.Path.cwd() / 'dist' try: f = next(dist_folder.glob('*.whl')) except StopIteration: print("No .whl files found in ./dist!") sys.exit() print("Uploading", f.name) s3 = boto3.client('s3') s3.upload_file(str(f), 'releases.wagtail.io', 'nig...
from chatterbot import ChatBot from chatterbot.adapters import Adapter from .base_case import ChatBotTestCase class <API key>(ChatBotTestCase): def <API key>(self): kwargs = self.get_kwargs() kwargs['storage_adapter'] = 'chatterbot.input.TerminalAdapter' with self.assertRaises(Adapter.<API k...
#ifndef <API key> #define <API key> #include <atlbase.h> #include <atlcom.h> #include <UIAutomationCore.h> #include "base/compiler_specific.h" #include "ui/base/ui_base_export.h" namespace base { namespace win { // UIA Text provider implementation for edit controls. class UI_BASE_EXPORT UIATextProvider : public N...
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Globalization; using NServiceKit.Text; namespace NServiceKit.Html { <summary>Dictionary of view data.</summary> public class ViewDataDictionary : IDictionary<string, object> { private ...
require File.dirname(__FILE__) + '/../../spec_helper' require File.dirname(__FILE__) + '/fixtures/classes' describe "Array#partition" do it "returns two arrays" do [].partition {}.should == [[], []] end it "returns in the left array values for which the block evaluates to true" do ary = [0, 1, 2, 3, 4, 5]...
import json import os from urlparse import urlparse from django.conf import settings from django.core.files.storage import default_storage as storage from django.core.urlresolvers import resolve from django.http import Http404 from django.shortcuts import render from django.utils import translation from django.views.de...
// Use of this source code is governed by a BSD-style /* A trivial example of wrapping a C library in Go. For a more complex example and explanation, see ../gmp/gmp.go. */ package stdio /* #include <stdio.h> #include <stdlib.h> #include <sys/stat.h> #include <errno.h> char* greeting = "hello, world"; */ import "C" impo...
#ifndef _DSC_FILE_H_ #define _DSC_FILE_H_ typedef struct _SECTION_LINE { struct _SECTION_LINE *Next; char *Line; char *FileName; UINT32 LineNum; } SECTION_LINE; // Use this structure to keep track of parsed file names. Then // if we get a parse error we can figu...
#ifndef <API key> #define <API key> #include <string> #include "base/macros.h" #include "base/memory/weak_ptr.h" #include "content/public/browser/<API key>.h" namespace base { class DictionaryValue; } namespace content { class BrowserContext; class WebContents; } namespace gfx { class Size; } namespace extensions { // ...
package Moose::Object; BEGIN { $Moose::Object::AUTHORITY = 'cpan:STEVAN'; } { $Moose::Object::VERSION = '2.0602'; } use strict; use warnings; use Carp (); use Devel::GlobalDestruction (); use MRO::Compat (); use Scalar::Util (); use Try::Tiny (); use if ( not our $__mx_is_compiled ), 'Moose::Meta::Class'; use if ( ...
<?php namespace Zend\Mime; /** * Support class for MultiPart Mime Messages */ class Mime { const TYPE_OCTETSTREAM = 'application/octet-stream'; const TYPE_TEXT = 'text/plain'; const TYPE_HTML = 'text/html'; const ENCODING_7BIT = '7bit'; const ENCODING_8BIT = '8bit'; const <API key> = 'quoted-p...
<?php namespace QATools\QATools\HtmlElements\Element; /** * Represents text block on a web page. */ class TextBlock extends <API key> { /** * Returns text contained in text block. * * @return string */ public function getText() { return $this->getWrappedElement()->getText(); ...
#ifndef <API key> #define <API key> #include <string> #include <libtorrent/kademlia/find_data.hpp> #include <libtorrent/kademlia/item.hpp> namespace libtorrent { namespace dht { class get_item : public find_data { public: typedef boost::function<bool(item&)> data_callback; void got_data(bdecode_node const& v, ...
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT from ....testing import assert_equal from ..preprocess import MaskTool def <API key>(): input_map = dict(args=dict(argstr='%s', ), count=dict(argstr='-count', position=2, ), datum=dict(argstr='-datum %s', ), dilate_inputs=dict(argstr=...
package org.hisp.dhis.period; import static org.junit.Assert.assertEquals; import java.util.List; import org.joda.time.DateTime; import org.junit.Before; import org.junit.Test; /** * @author Lars Helge Overland */ public class <API key> { private DateTime startDate; private DateTime endDate; private DateT...
id: <API key> title: Factorialize a Number isRequired: true challengeType: 5 videoUrl: '' localeTitle: Factorialize عدد ## Description <section id="description"> عودة المضروب من عدد صحيح المقدمة. إذا تم تمثيل العدد الصحيح بالحرف n ، فإن العامل الحاسوبي هو نتاج جميع الأعداد الصحيحة الموجبة أقل من أو يساوي n. غالبًا ما ي...
# <API key>: true require 'rails_helper' module Spree RSpec.describe ReimbursementType::StoreCredit do let(:reimbursement) { create(:reimbursement, return_items_count: 2) } let(:return_item) { reimbursement.return_items.first } let(:return_item2) { reimbursement.return_ite...
# Generated by Django 2.1.7 on 2019-03-25 09:40 import versatileimagefield.fields from django.db import migrations class Migration(migrations.Migration): dependencies = [("account", "<API key>")] operations = [ migrations.AddField( model_name="user", name="avatar", fi...
import csv from bs4 import BeautifulSoup from collections import Counter import re import os OUTPUT_NAME = os.getenv('OUTPUT_NAME', '<API key>.csv') csv_file = open('<API key>.csv') csv_reader = csv.DictReader(csv_file) # Tranform individual label to candidate pair label label_map = { 'pos_ahok': 'pos_ahok_djar...
<?php require_once 'phing/Task.php'; require_once 'phing/tasks/ext/phk/PhkPackageWebAccess.php'; class PhkPackageTask extends Task { /** * @var string */ private $outputFile; /** * @var string */ private $inputDirectory; /** * @var string */ private $phkCreatorPath;...
package scodec package codecs import scodec.bits.BitVector class OptionalCodecTest extends CodecSuite { "the optional combinator" should { "produce the target value on true" in { forAll { (n: Int) => val codec = optional(provide(true), int32) shouldDecodeFullyTo(codec, BitVector fromInt n, S...
// PORTAL DETAILS MAIN /////////////////////////////////////////////// // main code block that renders the portal details in the sidebar and // methods that highlight the portal in the map view. window.renderPortalDetails = function(guid) { selectPortal(window.portals[guid] ? guid : null); if (guid && !portalDetail...
# <API key>: true module SafeZip class Extract Error = Class.new(StandardError) <API key> = Class.new(Error) <API key> = Class.new(Error) <API key> = Class.new(Error) AlreadyExistsError = Class.new(Error) NoMatchingError = Class.new(Error) ExtractError = Class.new(Error) attr_reader :a...
<?php namespace App\Http\Controllers\Application; use App\Http\Controllers\Controller; use Session; use Input; use Redirect; class LanguageController extends Controller { /** * Set the application language * * @return Response */ public function postChange() { Session::put('langu...
<?php namespace Zend\Ldap\Node\Schema; use Zend\Ldap; use Zend\Ldap\Converter; use Zend\Ldap\Node; /** * Zend\Ldap\Node\Schema\OpenLDAP provides a simple data-container for the Schema node of * an OpenLDAP server. */ class OpenLdap extends Node\Schema { /** * The attribute Types * * @var array ...
layout: page title: AccountDoesNotExist number: 172 categories: [AvaTax Error Codes] disqus: 1 ## Summary You attempted to modify an account that does not exist. ## Example json { "code": "AccountDoesNotExist", "target": "Unknown", "details": [ { "code": "AccountDoesNotExist", "number": 172, ...
// 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 copies or substanti...
/*! `latex` grammar compiled for Highlight.js 11.3.1 */ (()=>{var e=(()=>{"use strict";return e=>{const n=[{begin:/\^{6}[0-9a-f]{6}/},{ begin:/\^{5}[0-9a-f]{5}/},{begin:/\^{4}[0-9a-f]{4}/},{begin:/\^{3}[0-9a-f]{3}/ },{begin:/\^{2}[0-9a-f]{2}/},{begin:/\^{2}[\u0000-\u007f]/}],a=[{ className:"keyword",begin:/\\/,relevanc...