text stringlengths 3 1.05M |
|---|
require 'rexml/document'
module ActiveMerchant #:nodoc:
module Billing #:nodoc:
class SecurePayAuGateway < Gateway
API_VERSION = 'xml-4.2'
PERIODIC_API_VERSION = 'spxml-3.0'
class_attribute :test_periodic_url, :live_periodic_url
self.test_url = 'https://www.securepay.com.au/test/payment... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
[](https://heroku.com/deploy?template=https://github.com/punchcard-cms/demo)
Headless Content Management System designed with content strategy at its heart. Built with Node.
## Install and Usage
```bash
npm i punchcard-cms --save
```
```javascript
const punchcar... |
package org.apache.ofbiz.service.job;
@SuppressWarnings("serial")
public class InvalidJobException extends JobManagerException {
/**
* Creates new <code>InvalidJobException</code> without detail message.
*/
public InvalidJobException() {
super();
}
/**
* Constructs an <code>In... |
package org.terracotta.dynamic_config.api.model;
import org.terracotta.common.struct.Measure;
import org.terracotta.common.struct.MemoryUnit;
import org.terracotta.common.struct.TimeUnit;
import org.terracotta.common.struct.Tuple2;
import java.nio.file.Paths;
import java.util.HashSet;
import java.util.Locale;
import... |
package org.apache.hadoop.hdfs.server.namenode;
import java.io.PrintWriter;
import java.util.List;
import org.apache.hadoop.classification.InterfaceAudience;
import org.apache.hadoop.fs.permission.PermissionStatus;
import org.apache.hadoop.hdfs.DFSUtil;
import org.apache.hadoop.hdfs.protocol.QuotaExceededException;
... |
typedef enum{
EGOOPullRefreshPulling = 0,
EGOOPullRefreshNormal,
EGOOPullRefreshLoading,
} EGOPullRefreshState;
@protocol EGORefreshTableHeaderDelegate;
@interface EGORefreshTableHeaderView : UIView {
id _delegate;
EGOPullRefreshState _state;
UILabel *_lastUpdatedLabel;
UILabel *_statusLabel;
CALayer *_arr... |
var BOOLEAN: boolean;
function foo(): boolean { return true; }
class A {
public a: boolean;
static foo() { return false; }
}
module M {
export var n: boolean;
}
var objA = new A();
// boolean type var
var ResultIsString1 = typeof BOOLEAN;
// boolean type literal
var ResultIsString2 = typeof true;
var R... |
require 'formula'
class Libxslt < Formula
homepage 'http://xmlsoft.org/XSLT/'
url 'ftp://xmlsoft.org/libxml2/libxslt-1.1.28.tar.gz'
mirror 'http://xmlsoft.org/sources/libxslt-1.1.28.tar.gz'
sha1 '4df177de629b2653db322bfb891afa3c0d1fa221'
bottle do
revision 1
sha1 "b2fbd32e69e1787d4ea792ee2c51f81466b... |
<?php
namespace app\modules\admin\controllers;
use Yii;
use app\modules\admin\models\AdminWork;
use app\modules\admin\models\AdminWorkSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use app\core\behaviors\TimestampBehavior;
/**
* AdminWorkController implements the CRUD ... |
package org.wso2.carbon.apimgt.impl.utils;
import org.apache.axiom.om.OMElement;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.wso2.carbon.apimgt.api.APIManagementException;
import org.wso2.carbon.apimgt.impl.APIConstants;
import javax.xml.namespace.QName;
import ja... |
This directory forms the base of the main SaltStack configuration. The
place to start with any SaltStack configuration is
[top.sls](top.sls). However, unless you are particularly keen on
reading Jinja templates, the following tables break down what
configurations run on what providers. (NB: The [_states](_states/)
dire... |
[project] team "manifold mixer" developing a depth color sensor project to explain space concepts
## TEAM MEMBERS
* Alia
* Evan
* Lucy
## PROBLEM
Spacetime is complex. We want to explain the multi-layered space aspect of String Theory in a creative and understandable way.
## PURPOSE
Using Kinnect Depth sensors a... |
<div>
Specifies the default value of the field, which allows the user to save typing the actual value.
</div> |
<!doctype html>
<html amp lang="en">
<head>
<meta charset="utf-8">
<title>AMP #0</title>
<link rel="canonical" href="amps.html" >
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
<script async custom-element="amp-auto-ads" src="https://cdn.ampproject.org/v0/amp-a... |
class ThisVariable {
private ThisVariable getRoot() {
ThisVariable result = this;
while (true) {
if (result.getParent() instanceof ThisVariable) {
result = ((ThisVariable) result.getParent());
continue;
}
return result;
}
}
public Objec... |
package search
//RespForClient def.
type RespForClient struct {
*ResultResponse
SearchType string `json:"search_type"`
PageInfo *pageinfo `json:"pageinfo"`
ResultAll *AllForClient `json:"resultall"`
PGC []*CommonResult `json:"pgc"`
UGC []*CommonResult `json:"ugc"`
}
//AllForCli... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
</resources>
|
Like JSON.stringify, but doesn't throw on circular references.
## Usage
Takes the same arguments as `JSON.stringify`.
```javascript
var stringify = require('json-stringify-safe');
var circularObj = {};
circularObj.circularRef = circularObj;
circularObj.list = [ circularObj, circularObj ];
console.log(stringify(circu... |
#ifndef _BEAM_LOAD_H
# define _BEAM_LOAD_H
#include "beam_opcodes.h"
#include "erl_process.h"
int erts_is_module_native(BeamInstr* code);
Eterm beam_make_current_old(Process *c_p, ErtsProcLocks c_p_locks,
Eterm module);
typedef struct gen_op_entry {
char* name;
int arity;
int specific;
int num_... |
from setuptools import setup, find_packages
from pymetabiosis.bindings import ffi
setup(
name="pymetabiosis",
version="0.0.1",
author="Romain Guillebert",
author_email="romain.py@gmail.com",
packages=find_packages(),
license="MIT",
description="A way of using CPython 2's C extension modul... |
#include "qlayout.h"
#include "qapplication.h"
#include "qlayoutengine_p.h"
#include "qmenubar.h"
#include "qtoolbar.h"
#include "qsizegrip.h"
#include "qevent.h"
#include "qstyle.h"
#include "qvariant.h"
#include "qwidget_p.h"
#include "qlayout_p.h"
#include "qformlayout.h"
QT_BEGIN_NAMESPACE
static int menuBarHe... |
<?php
namespace AppBundle\Entity;
use Symfony\Component\Validator\Constraints as Assert;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Table(name="products")
* @ORM\Entity(repositoryClass="AppBundle\Repository\ProductRepository")
*/
class Product
{
/**
* @ORM\Column(name="id", type="integer")
* @ORM\I... |
package mustache
import (
"fmt"
"strings"
"text/template"
"text/template/parse"
)
func newpipeline(s string) *parse.PipeNode {
// take the simplest way of getting text/template to parse it
// and then steal the result
t, _ := template.New("mule").Parse("{{" + s + "}}")
main := t.Tree.Root.Nodes[0]
if an, ok ... |
using System.Threading;
using System.Threading.Tasks;
using WebSocket.Portable.Interfaces;
namespace WebSocket.Portable.Internal
{
internal static class DataLayerExtensions
{
public static Task<byte[]> ReadAsync(this IDataLayer layer, int length, CancellationToken cancellationToken)
{
... |
from __future__ import absolute_import
from django.core.exceptions import PermissionDenied
from django.db import models
from django.contrib.auth import authenticate
from django.contrib.sites.models import Site
from django.utils.encoding import python_2_unicode_compatible
from django.utils.crypto import get_random_stri... |
module.exports = function pluralize(str) {
return str + 's';
};
|
// NO INCLUDE GUARDS, THE HEADER IS INTENDED FOR MULTIPLE INCLUSION
#if defined(BOOST_PP_IS_ITERATING)
// Copyright Aleksey Gurtovoy 2000-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See htt... |
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Page](./puppeteer.protocol.page.md) > [LifecycleEventEvent](./puppeteer.protocol.page.lifecycleeventevent.md) > [loaderId](./puppet... |
#ifndef _ES_BLOCK_PROCESSOR_H_
#define _ES_BLOCK_PROCESSOR_H_
#ifdef BSP_ENABLED
#include "bundling/BlockProcessor.h"
#include "Ciphersuite.h"
namespace dtn {
/**
* Block processor implementation for the bundle authentication block.
*/
class ES_BlockProcessor : public BlockProcessor {
public:
/// Constructo... |
package org.springframework.security.test.web.support;
import java.util.List;
import javax.servlet.Filter;
import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.NoSuchBeanDefinitionException;
import org.springframework.security.config.BeanIds;
im... |
<?php
/**
* Validates a number as defined by the CSS spec.
*/
class HTMLPurifier_AttrDef_CSS_Number extends HTMLPurifier_AttrDef
{
/**
* Bool indicating whether or not only positive values allowed.
*/
protected $non_negative = false;
/**
* @param $non_negative Bool indicating whether neg... |
/* Includes ------------------------------------------------------------------*/
#include "stm32f0xx_hal.h"
/** @addtogroup STM32F0xx_HAL_Driver
* @{
*/
/** @defgroup DMA DMA
* @brief DMA HAL module driver
* @{
*/
#ifdef HAL_DMA_MODULE_ENABLED
/* Private typedef ----------------------... |
typedef struct {
int id;
char *name;
long len;
char *assembly;
} Chromosome;
Chromosome *chrom_guess_from_file(const char *filename,
Chromosome *chroms,
int n_chrom);
void chrom_array_free(Chromosome *chrom, int n_chrom);
Chromosome *chrom_copy(const Chromosome *chrom);
void chrom_free(Chromosome... |
package com.microsoft.azure.management.batchai.v2018_05_01;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Auto-scale settings for the cluster. The system automatically scales the
* cluster up and down (within minimumNodeCount and maximumNodeCount) based on
* the number of queued and running jobs as... |
class Profile;
void ProfileDependencyManager::AddComponent(
ProfileKeyedServiceFactory* component) {
all_components_.push_back(component);
destruction_order_.clear();
}
void ProfileDependencyManager::RemoveComponent(
ProfileKeyedServiceFactory* component) {
all_components_.erase(std::remove(all_componen... |
Get the global step tensor.
The global step tensor must be an integer variable. We first try to find it
in the collection `GLOBAL_STEP`, or by name `global_step:0`.
##### Args:
* <b>`graph`</b>: The graph to find the global step in. If missing, use default graph.
##### Returns:
The global step variable, or `No... |
package validation
import (
"reflect"
"sort"
"testing"
rbacv1 "k8s.io/api/rbac/v1"
rbacv1helpers "k8s.io/kubernetes/pkg/apis/rbac/v1"
)
func TestCompactRules(t *testing.T) {
testcases := map[string]struct {
Rules []rbacv1.PolicyRule
Expected []rbacv1.PolicyRule
}{
"empty": {
Rules: []rbacv1.P... |
<!DOCTYPE html>
<html>
<head>
<title>Leaflet debug page</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="../../dist/leaflet.css" />
<link rel="stylesheet" href="../css/mobile.css" />
<style>
.mybox {
background-... |
/* exported withEntity */
function withEntity(Class) {
return class WithEntity extends Class {
constructor(...args) {
super(...args);
this.components = [];
}
addComponent(...components) {
components.forEach(component => {
if (this.hasComponent(component)) {
return;
... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_60) on Tue Aug 26 20:50:07 PDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>Uses of Class org.a... |
using System;
namespace SevenDigital.Api.Wrapper.Responses.Parsing
{
public class ApiResponseDetector : IApiResponseDetector
{
private string StartOfMessage(string responseBody)
{
if (string.IsNullOrEmpty(responseBody))
{
return string.Empty;
}
var start = responseBody.IndexOf("<res... |
layout: landing
title: "Доступ к устройству и интеграция"
description: "Существует удивительно много способов, с помощью которых можно интегрировать функции и осуществлять доступ к ним с устройства пользователя, начиная с геолокации и определения ориентации устройства, доступа к коммуникационному стеку — функции набора... |
<?php
namespace Doctrine\DBAL\Platforms\Keywords;
/**
* Microsoft SQL Server 2005 reserved keyword dictionary.
*
* @license BSD http://www.opensource.org/licenses/bsd-license.php
* @link www.doctrine-project.com
* @since 2.3
* @author Steve Müller <st.mueller@dzh-online.de>
*/
class SQLServ... |
{% extends "questions/base.html" %}
{% from "layout/errorlist.html" import errorlist %}
{% from "upload/attachments.html" import attachments_form %}
{% from "includes/common_macros.html" import content_editor with context %}
{# L10n: {t} is the title of the question. #}
{% set title = _('Editing an answer | {t} | Firef... |
<!-- Too lazy to add relative links and such now. TODO for later -->
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Google Feedback Form</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<style type="text/css">
/* hack to disable submit butto... |
package org.rlcommunity.rlglue.codec.types;
public class Observation extends RL_abstract_type {
public Observation() {
this(0, 0, 0);
}
/**
* For backwards compatibility with RL-Glue 2.x
* @param numInts
* @param numDoubles
*/
public Observation(int numInts, int numDouble... |
package com.google.api.ads.dfp.jaxws.v201408;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
*
* An error lists all error reasons associated with performing... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.igormaznit... |
set -e
go generate ./app/assets
go generate ./app/templates |
#import "SBJsonStreamParser.h"
#import "SBJsonTokeniser.h"
#import "SBJsonStreamParserState.h"
#import <limits.h>
@implementation SBJsonStreamParser
@synthesize supportMultipleDocuments;
@synthesize error;
@synthesize delegate;
@synthesize maxDepth;
@synthesize state;
@synthesize stateStack;
#pragma mark Housekeep... |
<?php
class Google_Service_FirebaseDynamicLinks_GetIosPostInstallAttributionResponse extends Google_Model
{
public $appMinimumVersion;
public $attributionConfidence;
public $deepLink;
public $externalBrowserDestinationLink;
public $fallbackLink;
public $invitationId;
public $isStrongMatchExecutable;
p... |
package org.apache.camel.example.cafe;
import java.util.ArrayList;
import java.util.List;
import org.apache.camel.CamelContext;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.mock.MockEndpoint;
import org.apache.camel.example.cafe.stuff.Barista;
import org.apache.camel.example.cafe.s... |
package meta
import (
"errors"
"fmt"
"reflect"
"sync"
"k8s.io/apimachinery/pkg/conversion"
"k8s.io/apimachinery/pkg/runtime"
)
var (
// isListCache maintains a cache of types that are checked for lists
// which is used by IsListType.
// TODO: remove and replace with an interface check
isListCache = struc... |
<?php
namespace Symfony\Component\Console\Style;
/**
* Output style helpers.
*
* @author Kevin Bond <kevinbond@gmail.com>
*/
interface StyleInterface
{
/**
* Formats a command title.
*
* @param string $message
*/
public function title($message);
/**
* F... |
package im.actor.generator.generators.java;
import im.actor.generator.FileGenerator;
import im.actor.generator.scheme.*;
import java.io.IOException;
/**
* Created by ex3ndr on 15.11.14.
*/
public class ContainerGenerator {
public static void generateFields(FileGenerator generator, SchemeDefinition definition... |
// Copyright 2015 The Project Buendia Authors
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
// use this file except in compliance with the License. You may obtain a copy
// of the License at: http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... |
#ifndef Sk64_DEFINED
#define Sk64_DEFINED
#include "SkFixed.h"
#include "SkMath.h"
/** \class Sk64
Sk64 is a 64-bit math package that does not require long long support from the compiler.
*/
struct SK_API Sk64 {
int32_t fHi; //!< the high 32 bits of the number (including sign)
uint32_t fLo; //!< t... |
/* This file implements MUM (MUltiply and Mix) hashing. We randomize
input data by 64x64-bit multiplication and mixing hi- and low-parts
of the multiplication result by using an addition and then mix it
into the current state. We use prime numbers randomly generated
with the equal probability of their b... |
<?php
/**
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
namespace MNHcC\Zend3bcHelper\ServiceManager\Initializer;
use MNHcC\Zend3bcHelper\Basic;
use Zend\ServiceManager;
use Interop... |
/**
* Module dependencies.
*/
var parser = require('engine.io-parser');
var Emitter = require('component-emitter');
/**
* Module exports.
*/
module.exports = Transport;
/**
* Transport abstract constructor.
*
* @param {Object} options.
* @api private
*/
function Transport (opts) {
this.path = opts.path;... |
/*! UIkit 2.13.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
(function(core) {
if (typeof define == "function" && define.amd) { // AMD
define("uikit", function(){
var uikit = core(window, window.jQuery, window.document);
uikit.load = function(res, req, onload, c... |
<?php
namespace Symfony\Component\HttpFoundation\Session\Storage\Handler;
/**
* NullSessionHandler.
*
* Can be used in unit testing or in a situations where persisted sessions are not desired.
*
* @author Drak <drak@zikula.org>
*
* @api
*/
class NullSessionHandler implements \SessionHandlerInterface
{
/... |
Bitcoin Core version 0.12.0 is now available from:
<https://bitcoin.org/bin/bitcoin-core-0.12.0/>
This is a new major version release, bringing new features and other improvements.
Please report bugs using the issue tracker at github:
<https://github.com/bitcoin/bitcoin/issues>
Upgrading and downgrading
======... |
package org.elasticsearch.rest.action.cat;
import org.apache.lucene.util.CollectionUtil;
import org.elasticsearch.action.admin.indices.recovery.RecoveryRequest;
import org.elasticsearch.action.admin.indices.recovery.RecoveryResponse;
import org.elasticsearch.action.admin.indices.recovery.ShardRecoveryResponse;
impor... |
package org.springframework.boot.yaml;
import java.io.IOException;
import java.util.Properties;
import org.junit.Test;
import org.springframework.beans.factory.config.YamlProcessor.MatchStatus;
import org.springframework.core.io.ByteArrayResource;
import org.springframework.core.io.support.PropertiesLoaderUtils;
i... |
describe("", function() {
var rootEl;
beforeEach(function() {
rootEl = browser.rootEl;
browser.get("build/docs/examples/example-example55/index.html");
});
it('should toggle readonly attr', function() {
expect(element(by.css('[type="text"]')).getAttribute('readonly')).toBeFalsy();
element(by.... |
import { Parser, Expression } from 'aurelia-binding';
import { BindingLanguage } from 'aurelia-templating';
import { RuleProperty } from './rule';
export interface PropertyAccessor<TObject, TValue> {
(object: TObject): TValue;
}
export declare class ValidationParser {
private parser;
private bindinqLanguage... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is part of the Sylius package.
(c) Paweł Jędrzejewski
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
-->
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-map... |
from __future__ import unicode_literals
import json
from uuid import uuid4
import pytest
from babeldjango.templatetags.babel import currencyfmt
from django.contrib.auth.models import AnonymousUser
from django.core import signing
from django.core.exceptions import ObjectDoesNotExist
from django.core.urlresolvers impor... |
license: >
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"L... |
package com.intellij.ide.structureView;
import com.intellij.openapi.extensions.ExtensionPointName;
import com.intellij.openapi.extensions.KeyedFactoryEPBean;
import com.intellij.openapi.fileEditor.FileEditor;
import com.intellij.openapi.fileTypes.FileTypeExtensionFactory;
import com.intellij.openapi.project.Project;
... |
YUI.add('graphics-canvas', function(Y) {
var SHAPE = "canvasShape",
DOCUMENT = Y.config.doc,
Y_LANG = Y.Lang,
AttributeLite = Y.AttributeLite,
CanvasShape,
CanvasPath,
CanvasRect,
CanvasEllipse,
CanvasCircle,
CanvasPieSlice,
Y_Color = Y.Color,
PARSE_INT = parseInt,
PARSE_FLOAT = par... |
/* oprComplete.h
*/
#ifndef OPR_COMPLETE_H
#define OPR_COMPLETE_H
/* This is Object File I/O type API call */
#include "rods.h"
#include "rcMisc.h"
#include "procApiRequest.h"
#include "apiNumber.h"
#include "initServer.h"
#include "reGlobalsExtern.h"
#if defined(RODS_SERVER)
#define RS_OPR_COMPLETE rsOprComplete... |
#pragma once
#include <aws/medialive/MediaLive_EXPORTS.h>
#include <aws/medialive/model/TemporalFilterSettings.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace MediaLive
{
namespace Model
{
/**
* H2... |
//
// basic_signal_set.hpp
// ~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef ASIO_BASIC_SIGNAL_S... |
package elasticbeanstalk
const (
// ErrCodeCodeBuildNotInServiceRegionException for service response error code
// "CodeBuildNotInServiceRegionException".
//
// AWS CodeBuild is not available in the specified region.
ErrCodeCodeBuildNotInServiceRegionException = "CodeBuildNotInServiceRegionException"
// ErrCod... |
<?php
namespace Symfony\Component\HttpKernel\EventListener;
use Psr\Log\LoggerInterface;
use Symfony\Component\Debug\ErrorHandler;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\HttpKernel\KernelEvents;
/**
* Injects the logger into the ErrorHandler, so that it can log vario... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace TicTacToe.Web.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
ViewBag.Title = "Home Page";
return View();
... |
if ENV['SPEC']
specs = ["../../spec/QA/#{ENV['SPEC']}"]
else
specs = ["../../spec/QA/br_local_*",
"../../spec/QA/br_login_*",
"../../spec/QA/br_sanity_*"]
end
def separator(text, double=false)
puts('#' * 78) if double
puts text
puts('#' * 78)
end
def header(text)
separator(text, true)
end... |
Internal User Please Use: go/tfprof
Author: Xin Pan (xpan@google.com, github: panyx0718)
Consultants: Jon Shlens, Pete Warden
## Introduction
tfprof is a profiling tool for TensorFlow that analyzes model architectures
and measures system performance.
###Major Features
1. Measure model parameters, float operatio... |
// Changes from the Java version
// Removed getters
// Has* turned into attributes
// Future possibilities
// Comments!
namespace FarseerPhysics.Common.Decomposition.CDT.Delaunay.Sweep
{
internal class AdvancingFrontNode
{
public AdvancingFrontNode Next;
public TriangulationPoint Point;
public Advanci... |
function ucfirst(text) {
if (!text) return text;
return text[0].toUpperCase() + text.substr(1);
}
function addNamespace(apiName) {
return (CONST.IMPLICIT_NAMESPACES[apiName] || CONST.NAMESPACE_DEFAULT) + "." + apiName;
}
function processStyle(controller, proxy, classes, opts, defaults) {
opts = opts |... |
Plugin for Cordova 3.0+ that allows you to show a loading spinner and a message in your Android/iOS Cordova's app.
## Adding the plugin to your project ##
To install the plugin, use the Cordova CLI and enter the following:<br />
`cordova plugin add https://github.com/seetadev/cordova-activity-indicator.git`<br />
OR <... |
Localize a seção apropriada para a sua tarefa: [Lendo a documentação do Electron](#)
ou [Escrevendo documentação para o Electron](#).
## Escrevendo documentação para o Electron
Estas são as formas que escrevemos a documentação do Electron.
- No Máximo um `h1` por página.
- Usar `bash` ao invés de` cmd` em blocos de ... |
// Copyright (c) 2017-2018 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_CONSENSUS_TX_CHECK_H
#define BITCOIN_CONSENSUS_TX_CHECK_H
/**
* Context-independent transaction checking co... |
#ifndef PCL_KINFU_TSDF_MARCHING_CUBES_H_
#define PCL_KINFU_TSDF_MARCHING_CUBES_H_
#include <pcl/pcl_macros.h>
#include <pcl/gpu/containers/device_array.h>
#include <Eigen/Core>
namespace pcl
{
namespace gpu
{
class TsdfVolume;
/** \brief MarchingCubes implements MarchingCubes functionality for TS... |
package spire.algebra
import annotation.tailrec
import scala.{specialized => spec}
/**
* Rig is a ring whose additive structure doesn't have an inverse (ie. it is
* monoid, not a group). Put another way, a Rig is a Ring without a negative.
*/
trait Rig[@spec(Byte, Short, Int, Long, Float, Double) A] extends Any wi... |
package org.elasticsearch.search.aggregations.bucket.terms.support;
import org.apache.lucene.index.TermsEnum;
import org.apache.lucene.util.*;
import org.elasticsearch.ExceptionsHelper;
import org.elasticsearch.common.regex.Regex;
import org.elasticsearch.common.xcontent.XContentParser;
import org.elasticsearch.index... |
(function ($) {
'use strict';
$.fn.sidebar = function () {
var documentHeight = 0,
navbarpfHeight = 0,
colHeight = 0;
if ($('.navbar-pf .navbar-toggle').is(':hidden')) {
documentHeight = $(document).height();
navbarpfHeight = $('.navbar-pf').outerHeight();
colHeight = document... |
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.infobar;
import org.chromium.base.CalledByNative;
import org.chromium.chrome.browser.ResourceId;
/**
* Provides JNI... |
"""Tests for Islamic Prayer Times init."""
from datetime import timedelta
from unittest.mock import patch
from prayer_times_calculator.exceptions import InvalidResponseError
from homeassistant import config_entries
from homeassistant.components import islamic_prayer_times
from homeassistant.setup import async_setup_... |
using System.Text.Json;
using Azure.Core;
namespace Azure.IoT.DeviceUpdate.Models
{
public partial class ImportUpdateInput : IUtf8JsonSerializable
{
void IUtf8JsonSerializable.Write(Utf8JsonWriter writer)
{
writer.WriteStartObject();
writer.WritePropertyName("importManif... |
package im.actor.core.entity.content;
import im.actor.core.api.ApiServiceExUserJoined;
import im.actor.core.api.ApiServiceMessage;
import im.actor.core.entity.content.internal.ContentRemoteContainer;
public class ServiceGroupUserJoined extends ServiceContent {
public static ServiceGroupUserJoined create() {
... |
<!DOCTYPE html>
<html lang="ca-es" data-theme="">
<head>
<meta charset="utf-8">
<meta name="HandheldFriendly" content="True">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="referrer" content="no-referrer-when-downgrade">
<title>De debò hi ha més escriptors que lector... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34014
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... |
package com.dangdang.ddframe.job.integrate.std;
import static org.junit.Assert.assertTrue;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import com.dangdang.ddframe.job.integrate.AbstractEnabledBaseStdJobTest;
import com.dangdang.ddframe.job.integrate.fixture.OneOffElasticJob;
import com.... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">TestProjectGradleFirst</string>
<string name="hello_world">Hello world First!</string>
<string name="action_settings">Settings</string>
</resources>
|
%% Machine Learning Online Class - Exercise 1: Linear Regression
% Instructions
% ------------
%
% This file contains code that helps you get started on the
% linear exercise. You will need to complete the following functions
% in this exericse:
%
% warmUpExercise.m
% plotData.m
% gradientDescent.m
... |