text stringlengths 3 1.05M |
|---|
<?php
namespace ZendTest\View\Helper;
use PHPUnit_Framework_TestCase as TestCase;
use stdClass;
use Zend\View\Helper\EscapeCss as EscapeHelper;
class EscapeCssTest extends TestCase
{
protected $supportedEncodings = array(
'iso-8859-1', 'iso8859-1', 'iso-8859-5', 'iso8859-5',
'iso-8859-15... |
'use strict';
import { object } from 'metal';
import SoyAop from '../src/SoyAop';
describe('SoyAop', function() {
afterEach(function() {
SoyAop.stopAllInterceptions();
});
it('should intercept calls to template functions that were registered', function() {
var templates = {
fn1: sinon.stub(),
fn2: sinon... |
/*************************************************************************/
/* collections_glue.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... |
package org.apache.tomcat.websocket.pojo;
import java.io.IOException;
import java.lang.reflect.Method;
import java.nio.ByteBuffer;
import javax.websocket.EncodeException;
import javax.websocket.MessageHandler;
import javax.websocket.RemoteEndpoint;
import javax.websocket.Session;
import org.apache.tomcat.websocket.... |
/* ------------------------------------------------------------------------ */
/* Copyright 2002-2016, OpenNebula Project, OpenNebula Systems */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); you may */
/* n... |
#include <boost/detail/lightweight_test.hpp>
#include <boost/fusion/container/list/cons_iterator.hpp>
#include <boost/fusion/container/list/nil.hpp>
#include <boost/fusion/support/config.hpp>
#include <boost/mpl/bool.hpp>
int main() {
using namespace boost::fusion;
// nil should be constexpr cons... |
namespace NadekoBot.Core.Services.Database.Models
{
public class LoadedPackage : DbEntity
{
public string Name { get; set; }
public override bool Equals(object obj)
{
return obj is LoadedPackage p
? p.Name == Name
: false;
}
... |
/**
* State-based routing for AngularJS
* @version v1.0.0alpha0
* @link http://angular-ui.github.com/
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
(function () {
var extend = angular.extend, isFunction = angular.isFunction, isString = angular.isString;
function applyPairs(memo, keyValT... |
using System;
using System.CodeDom.Compiler;
namespace IronAHK.Scripting
{
public class IACompilerParameters : CompilerParameters
{
public bool Merge { get; set; }
public bool MergeFallbackToLink { get; set; }
public IACompilerParameters()
: base()
{
Mer... |
"""
Verifies that targets have independent INTERMEDIATE_DIRs.
"""
import TestGyp
test = TestGyp.TestGyp()
test.run_gyp('test.gyp', chdir='src')
test.build('test.gyp', 'target1', chdir='src')
# Check stuff exists.
intermediate_file1 = test.read('src/outfile.txt')
test.must_contain(intermediate_file1, 'target1')
shar... |
package guitests.guihandles;
import guitests.GuiRobot;
import javafx.scene.control.Label;
import javafx.scene.layout.StackPane;
import javafx.stage.Stage;
import seedu.agendum.TestApp;
//@@author A0148031R
/**
* Handler for the message placeholder of the ui
*/
public class MessageDisplayHandle extends GuiHandle{
... |
function inserted (el, binding) {
let cb = binding.value
let debounce = 200
if (typeof binding.value !== 'function') {
cb = binding.value.value
debounce = binding.value.debounce
}
const fn = cb => setTimeout(cb, debounce)
const onResize = (e) => {
clearTimeout(fn)
fn(cb(el))
... |
echo "Update software to latest version"
kggseq --lib-update |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Beitr. Mykol. 3: 81 (1863)
#### Original name
Aspergillus fumigatus Fresen., 1863
### Remarks
null |
package org.mitlware
import scalaz._
import scalaz.MonadState._
// TODO: replace parametric views with proper lenses
trait MetricView[T] {
def getMetric : MetricImpl[T]
def setMetric( metric : MetricImpl[T] ) : this.type
}
trait MetricImpl[T] {
def cost( from : T, to : T ) : Double
def gain( from : T, to : ... |
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
~
~ 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.apa... |
@interface GIGHashtag : MTLModel <MTLJSONSerializing>
// The range of the hashtag in the Tweet text, including the leading '#' character.
@property (nonatomic) NSRange range;
// The name of the hashtag, minus the leading '#' character.
@property (copy, nonatomic) NSString *text;
@end
|
namespace nacl_io {
MountNodeTty::MountNodeTty(Mount* mount)
: MountNodeCharDevice(mount),
emitter_(new EventEmitter),
rows_(DEFAULT_TTY_ROWS),
cols_(DEFAULT_TTY_COLS) {
output_handler_.handler = NULL;
InitTermios();
// Output will never block
emitter_->RaiseEvents_Locked(POLLOUT);
}
vo... |
cask :v1 => 'pref-setter' do
version :latest
sha256 :no_check
url 'http://www.nightproductions.net/downloads/prefsetter.zip'
name 'Pref Setter'
appcast 'http://www.nightproductions.net/feeds/prefsetter.xml',
:sha256 => 'f1b7198f1e689695eb730cf7d68fb39e802f146213c2e41ab5b1c381ffdfc357'
homepage 'h... |
import { normalizeUnits } from '../units/aliases';
export function startOf (units) {
units = normalizeUnits(units);
// the following switch intentionally omits break keywords
// to utilize falling through the cases.
switch (units) {
case 'year':
this.month(0);
/* falls through */
... |
namespace boost_no_sfinae = empty_boost;
#endif
int main( int, char *[] )
{
return boost_no_sfinae::test();
}
|
package com.opengamma.financial.view.rest;
import java.net.URI;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicReference;
import javax.ws.rs.... |
Change Log: `bootstrap-fileinput`
=================================
## version 4.3.1
**Date:** 28-Feb-2016
1. (enh #514): Set default value for `removeFromPreviewOnError` to `false`.
2. (enh #554): Update documentation and demos to include `webkitdirectory` for upload.
3. (enh #555): Set default value for `removeFro... |
/**
* @include GeoExt/widgets/FeatureRenderer.js
* @requires GeoExt/widgets/LayerLegend.js
* @requires OpenLayers/Style.js
* @requires OpenLayers/Rule.js
* @requires OpenLayers/Layer/Vector.js
*/
/** api: (define)
* module = GeoExt
* class = VectorLegend
*/
/** api: (extends)
* GeoExt/widgets/LayerLegen... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Metaschema - Ember OSF</title>
<link rel="stylesheet" href="http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css">
<link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
<link rel="stylesheet" href="..... |
package com.mattkula.secrettextview;
import android.text.TextPaint;
import android.text.style.CharacterStyle;
import android.text.style.UpdateAppearance;
/**
* Created by walfud on 2015/5/29.
*/
public class MutableForegroundColorSpan extends CharacterStyle
implements UpdateAppearance {
public static f... |
import * as React from 'react';
import { IconBaseProps } from 'react-icon-base';
export default class TiAttachmentOutline extends React.Component<IconBaseProps> { }
|
class OptionsScreen : public Xenro::IScreen
{
public:
OptionsScreen(Xenro::Window* window);
~OptionsScreen();
//Return index
virtual int getNextScreenIndex() const override;
virtual int getPrevScrenIndex() const override;
//Called at beginning and end of application.
virtual void create() override;
virtual vo... |
/* Includes ------------------------------------------------------------------*/
#include "stm32h7xx_hal.h"
/** @addtogroup STM32H7xx_HAL_Driver
* @{
*/
/** @defgroup FLASH FLASH
* @brief FLASH HAL module driver
* @{
*/
#ifdef HAL_FLASH_MODULE_ENABLED
/* Private typedef ---------------------------------... |
<?php
/**
* @var Zend_XmlRpc_Generator_GeneratorAbstract
*/
require_once 'Zend/XmlRpc/Generator/GeneratorAbstract.php';
/**
* XML generator adapter based on XMLWriter
*/
class Zend_XmlRpc_Generator_XmlWriter extends Zend_XmlRpc_Generator_GeneratorAbstract
{
/**
* XMLWriter instance
*
* @var XM... |
package jsonlog
import (
"bytes"
"encoding/json"
"unicode/utf8"
)
// JSONLogs is based on JSONLog.
// It allows marshalling JSONLog from Log as []byte
// and an already marshalled Created timestamp.
type JSONLogs struct {
Log []byte `json:"log,omitempty"`
Stream string `json:"stream,omitempty"`
Created str... |
#include "postprocess.h"
#include "postprocess/pp_filters.h"
#include "util/u_blit.h"
#include "util/u_inlines.h"
#include "util/u_sampler.h"
/**
* Main run function of the PP queue. Called on swapbuffers/flush.
*
* Runs all requested filters in order and handles shuffling the temp
* buffers in between.
*/
void
pp_... |
/*!
* inferno-devtools v1.0.0-beta40
* (c) 2016 Dominic Gannaway
* Released under the MIT License.
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('./inferno'), require('./inferno-component')) :
typeof define === 'function' && define.amd ? defi... |
package org.apache.ignite.internal.processors.cache.persistence.tree.io;
import java.nio.ByteBuffer;
/**
* Page IO that supports compaction.
*/
public interface CompactablePageIO {
/**
* Compacts page contents to the output buffer.
* Implementation must not change contents, position and limit of the... |
/*
Don't change this file unless you know what you're doing. If you file an issue
on GitHub and we find out it was all caused because you modified this file,
we'll release the kraken and you, your beloved ones, your postman, the guy who
delivers pizza to your house, everyone.
Seriously, the chart's styling is... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="Attention jQuery plugin | jquery-attn.js"/>
<meta name="keywords" content="jquery-attn jquery-attention jquery-attn.js jQuery Attention plugins feedback notific... |
package com.intellij.application.options.codeStyle.arrangement.match;
import com.intellij.application.options.codeStyle.arrangement.ArrangementConstants;
import com.intellij.application.options.codeStyle.arrangement.color.ArrangementColorsProvider;
import com.intellij.application.options.codeStyle.arrangement.match.t... |
using OLEDB.Test.ModuleCore;
using System.IO;
using XmlCoreTest.Common;
namespace System.Xml.Tests
{
/////////////////////////////////////////////////////////////////////////
// TestCase ReadValue
//
/////////////////////////////////////////////////////////////////////////
[InheritRequired()]
p... |
{-# LANGUAGE MultiParamTypeClasses, FlexibleContexts, FunctionalDependencies #-}
module T6134 where
class C a b | a -> b
f :: C Int b => Int -> Int
f = undefined
|
class UserTotal < ActiveRecord::Base
self.primary_key = :id
end
|
/*
Module: rt2x00dump
Abstract:
Data structures for the rt2x00debug & userspace.
The declarations in this file can be used by both rt2x00
and userspace and therefore should be kept together in
this file.
*/
#ifndef RT2X00DUMP_H
#define RT2X00DUMP_H
/**
* DOC: Introduction
*
* This header is intended ... |
// Copyright 2015 Google Inc. All Rights Reserved.
//
// 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... |
public class Foo {
void m() {
methodCall(.if<caret>
}
boolean methodCall(String s) {
return null;
}
} |
package com.commonsware.empublite;
import android.app.Activity;
import android.app.Fragment;
import android.os.Bundle;
public class SimpleContentActivity extends Activity {
public static final String EXTRA_FILE="file";
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstance... |
<?php
declare(strict_types=1);
namespace Valkyrja\Client;
use Valkyrja\Support\Manager\Factory as Contract;
/**
* Interface Factory.
*
* @author Melech Mizrachi
*/
interface Factory extends Contract
{
/**
* @inheritDoc
*
* @return Driver
*/
public function createDriver(string $name... |
#import "GPUImageVideoCamera.h"
#import "GPUImageMovieWriter.h"
#import "GPUImageFilter.h"
// Color Conversion Constants (YUV to RGB) including adjustment from 16-235/16-240 (video range)
// BT.601, which is the standard for SDTV.
const GLfloat kColorConversion601[] = {
1.164, 1.164, 1.164,
0.0, -0.392, 2.01... |
FROM gcr.io/google_containers/spark-base:1.4.0_v1
ADD start.sh /start.sh
CMD ["/start.sh"]
|
This example shows how to use power save mode of wifi.
Power save mode only works in station mode. If the modem sleep mode is enabled, station will switch between active and sleep state periodically after connecting to AP successfully. In sleep state, RF, PHY and BB are turned off in order to reduce power consumption.... |
namespace EnvironmentCreator.Gammars {
#pragma warning disable 3021
using Antlr4.Runtime.Misc;
using IErrorNode = Antlr4.Runtime.Tree.IErrorNode;
using ITerminalNode = Antlr4.Runtime.Tree.ITerminalNode;
using IToken = Antlr4.Runtime.IToken;
using ParserRuleContext = Antlr4.Runtime.ParserRuleContext;
/// <summary>
///... |
package com.btc_e_assist;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v7.app.ActionBar;
import android.support.v7.app.ActionBarActivity;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.KeyEvent;
import android.view.Menu... |
'use strict';
/* Category Services */
angular.module('cartApp.category.services', []).
factory('category',
[function () {
var fProductArr = [];
function setFilteredProducts(fProduct){
fProductArr.push(fProduct);
}
function getFilteredProducts(){
return fProductArr;
}
var resetFilteredProducts = ... |
var Rickshaw;
exports.setUp = function(callback) {
Rickshaw = require('../rickshaw');
global.document = d3.select('html')[0][0].parentNode;
global.window = document.defaultView;
new Rickshaw.Compat.ClassList();
var el = document.createElement("div");
this.graph = new Rickshaw.Graph({
element: el,
width: ... |
class MyError {};
const throwing = {toString() {throw new MyError}};
const empties = ['', {toString() {return ''}}];
{
const s = '';
assertThrows(_ => s.padStart(Symbol(), throwing), TypeError);
assertEquals(s, s.padStart(NaN, throwing));
assertEquals(s, s.padStart(-Infinity, throwing));
assertEquals(s, s.p... |
// Copyright (c) Microsoft. All rights reserved.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows... |
@implementation NSDictionary (NSDictionary_SafeValues)
- (NSString *)safeStringForKey:(id)key
{
NSString* string = nil;
id obj = [self objectForKey:key];
if ([obj isKindOfClass:[NSString class]])
{
string = obj;
}
else
{
string = @"";
}
return [string stringByRe... |
<?php
namespace Symfony\Component\HttpKernel\Tests\Debug;
use Symfony\Component\EventDispatcher\EventDispatcher;
use Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher;
use Symfony\Component\HttpKernel\HttpKernel;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
... |
// Copyright 2014 The Bazel Authors. All rights reserved.
//
// 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 appl... |
<?php
namespace Cartalyst\Sentinel\Native\Facades;
use Cartalyst\Sentinel\Native\SentinelBootstrapper;
class Sentinel
{
/**
* The Sentinel instance.
*
* @var \Cartalyst\Sentinel\Sentinel
*/
protected $sentinel;
/**
* The Native Bootstraper instance.
*
* @var \Cartaly... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... |
package cache
import (
"encoding/json"
"errors"
"sync"
"time"
)
var (
// DefaultEvery means the clock time of recycling the expired cache items in memory.
DefaultEvery = 60 // 1 minute
)
// MemoryItem store memory cache item.
type MemoryItem struct {
val interface{}
createdTime time.Time
lifespan ... |
package ca.uhn.fhir.jpa.provider.r4;
import ca.uhn.fhir.jpa.api.dao.DaoRegistry;
import ca.uhn.fhir.rest.server.exceptions.ResourceNotFoundException;
import org.hl7.fhir.r4.model.Patient;
import org.hl7.fhir.r4.model.Practitioner;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.A... |
@interface DM_RankListViewController ()<UICollectionViewDelegate,UICollectionViewDataSource>
@property (strong,nonatomic) UICollectionView *collectRankList;
@property (strong,nonatomic) UICollectionViewFlowLayout* collectLayout;
@property (strong,nonatomic) NSArray *rankInfoList;
@end
@implementation DM_RankListViewCo... |
/**
* Porter Stemmer
*/
var Stemmer = function() {
var step2list = {
ational: 'ate',
tional: 'tion',
enci: 'ence',
anci: 'ance',
izer: 'ize',
bli: 'ble',
alli: 'al',
entli: 'ent',
eli: 'e',
ousli: 'ous',
ization: 'ize',
ation: 'ate',
ator: 'ate',
alism: 'a... |
var Promise = require('bluebird');
var ObjectID = require('mongodb').ObjectID;
var check = require('check-types');
var Collection = function(db, name, options) {
var self = this;
if (!db)
throw new Error('No db argument');
if (!name)
throw new Error('No name argument');
self._db = db;
... |
var thrift = require("thrift");
var Calculator = require("./gen-nodejs/Calculator");
var ttypes = require("./gen-nodejs/tutorial_types");
var SharedStruct = require("./gen-nodejs/shared_types").SharedStruct;
var data = {};
var server = thrift.createServer(Calculator, {
ping: function() {
console.log("ping()")... |
'use strict';
const hstore = require('pg-hstore')({sanitize : true});
function stringify(data) {
if (data === null) return null;
return hstore.stringify(data);
}
exports.stringify = stringify;
function parse(value) {
if (value === null) return null;
return hstore.parse(value);
}
exports.parse = parse;
|
namespace http {
namespace server {
connection::connection(boost::asio::io_service& io_service,
connection_manager& manager, request_handler& handler)
: socket_(io_service),
connection_manager_(manager),
request_handler_(handler)
{
}
boost::asio::ip::tcp::socket& connection::socket()
{
return socket_;... |
package org.apache.druid.java.util.common.guava.nary;
import java.util.Iterator;
import java.util.NoSuchElementException;
/**
*/
public class TrinaryTransformIterator<Type1, Type2, Type3, RetType> implements Iterator<RetType>
{
public static <Type1, Type2, Type3, RetType> TrinaryTransformIterator<Type1, Type2, T... |
<?php
namespace Symfony\Component\Security\Core\Authentication\Token;
use Symfony\Component\Security\Core\User\UserInterface;
/**
* Authentication Token for "Remember-Me".
*
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
*/
class RememberMeToken extends AbstractToken
{
private $secret;
private $p... |
namespace rtc {
class TaskParent;
} // namespace
namespace notifier {
// buzz::XmppClient's destructor isn't marked virtual, but it inherits
// from rtc::Task, whose destructor *is* marked virtual, so we
// can safely inherit from it.
class WeakXmppClient : public buzz::XmppClient, public base::NonThreadSafe {
publ... |
using System;
using System.Collections.Generic;
/// <summary>
/// System.Collections.Generic.List<T>.Ctor
/// </summary>
public class ListCtor1
{
#region Public Methods
public bool RunTests()
{
bool retVal = true;
TestLibrary.TestFramework.LogInformation("[Positive]");
retVal = Pos... |
/*
* Looking for the full, uncompressed source? Try here:
*
* https://github.com/nprapps/%s
*
* The following files are included in this compressed version:
*{% for path in paths %}
* {{ path }}{% endfor %}
*/
|
package com.intellij.openapi.editor.colors;
public interface CodeInsightColors {
TextAttributesKey WRONG_REFERENCES_ATTRIBUTES = TextAttributesKey.createTextAttributesKey("WRONG_REFERENCES_ATTRIBUTES");
TextAttributesKey ERRORS_ATTRIBUTES = TextAttributesKey.createTextAttributesKey("ERRORS_ATTRIBUTES");
TextAtt... |
/**
* generator/index.js
*
* Exports the generators so plop knows them
*/
const fs = require('fs');
const path = require('path');
const componentGenerator = require('./component/index.js');
const containerGenerator = require('./container/index.js');
const routeGenerator = require('./route/index.js');
// const lang... |
package org.apache.batik.anim.timing;
import java.util.*;
import org.apache.batik.anim.AnimationException;
import org.apache.batik.i18n.LocalizableSupport;
import org.apache.batik.parser.ClockHandler;
import org.apache.batik.parser.ClockParser;
import org.apache.batik.parser.ParseException;
import org.apache.batik.u... |
bindableButton:
An abstract button class used to allow keybound to work transparently
on both the stock blizzard bindings, and click bindings
--]]
--[[ Globals ]]--
local AddonName, Addon = ...
local KeyBound = LibStub('LibKeyBound-1.0')
--[[ Class ]]--
local BindableButton = Addon:CreateClass('C... |
<?php
/**
* @package toolkit
*/
/**
* Devkit extends the HTMLPage class to provide an object representation
* of a Symphony Devkit page. Devkit's are used to aid in debugging by providing
* raw XML representations of data sources and parameters and to help provide
* profiling. There are two Symphony Devk... |
package org.wso2.carbon.databridge.agent.test;
import java.io.File;
public class HADataPublisherTestUtil {
public static final String LOCAL_HOST = "localhost";
public static void setTrustStoreParams() {
File filePath = new File("src" + File.separator + "test" + File.separator + "resources");
... |
/**
* @class Global_CSS
*
* Global CSS variables and mixins of Sencha Touch.
*/
/**
* @var {string} $prefix
* The prefix to be applied to all CSS selectors. If this is changed, it must also be changed in your
* JavaScript application.
*/
/**
* @var {string} $theme-name
* The name of the theme. This must matc... |
<html>
<head>
<title>The source code</title>
<link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="../resources/prettify/prettify.js"></script>
</head>
<body onload="prettyPrint();">
<pre class="prettyprint lang-js">/**
* @class E... |
@interface DataManager : NSObject
+ (instancetype)sharedManager;
- (NSArray *)commendSenceData;
- (NSArray *)mircoHospital;
@end
|
<?php
namespace Symfony\Component\Validator\Tests\Validator;
use Symfony\Component\Validator\ConstraintValidatorFactory;
use Symfony\Component\Validator\Context\ExecutionContextFactory;
use Symfony\Component\Validator\DefaultTranslator;
use Symfony\Component\Validator\MetadataFactoryInterface;
use Symfony\Component... |
/** Provides the Controller/Action/Result API for handling HTTP requests. */
package play.mvc;
|
// @filename: m1.ts
export default function foo() {
}
export default function bar() {
}
// @filename: m2.ts
import Entity from "m1"
Entity(); |
<!doctype html>
<html>
<style>
.read {
text-decoration: line-through;
}
</style>
<div id="main"></div>
<script src="../restdb.js"></script>
<script src="../restdb-with-cache.js"></script>
<script src="test2.js"></script>
</html>
|
from __future__ import print_function, division, unicode_literals
import sys
import os
import logging
logger = logging.getLogger('main')
import numpy as np
import pandas as pd
from datetime import datetime
from inspector.model import Model
from inspector.view import View
# import sip
# sip.setapi('QVariant', 2)
f... |
HTTP_STATUS(CONTINUE, 100, "Continue")
HTTP_STATUS(SWITCHING_PROTOCOLS, 101, "Switching Protocols")
// Successful 2xx
HTTP_STATUS(OK, 200, "OK")
HTTP_STATUS(CREATED, 201, "Created")
HTTP_STATUS(ACCEPTED, 202, "Accepted")
HTTP_STATUS(NON_AUTHORITATIVE_INFORMATION, 203, "Non-Authoritative Information")
HTTP_STATUS(NO_CO... |
#include "application_manager/commands/hmi/on_find_applications.h"
namespace application_manager {
namespace commands {
OnFindApplications::OnFindApplications(const MessageSharedPtr& message,
ApplicationManager& application_manager)
: NotificationFromHMI(message, applicat... |
module.exports = (typeof WeakMap !== 'undefined') ? WeakMap : require("weak-map");
|
package cmd
import (
"bytes"
"fmt"
"reflect"
"testing"
"k8s.io/apimachinery/pkg/api/meta"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
kapi "k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/kubectl/resource"
)
type bulkTester stru... |
<?php
namespace Fuel\Core;
/**
* Validation_Error class tests
*
* @group Core
* @group Validation
*/
class Test_Validation_Error extends TestCase
{
public function test_foo() {}
}
|
<!--
~ Copyright 2016 Red Hat, Inc. and/or its affiliates
~ and other contributors as indicated by the @author tags.
~
~ 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:/... |
package org.stack;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.junit.runners.Parameterized.Parameters;
import java.util.Arrays;
import java.util.Collection;
import static co.unruly.matchers.OptionalMatchers.contains;
import stati... |
<!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 (1.8.0_151) on Wed Dec 13 10:32:44 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.wildf... |
#include "tensorflow/core/kernels/reduction_ops_common.h"
namespace tensorflow {
#define REGISTER_CPU_KERNELS(type) \
REGISTER_KERNEL_BUILDER( \
Name("Sum") \
.Device(DEVICE_CPU) \
.TypeConstraint<type>("T") \
.Type... |
include_recipe "lp2-tp::apache"
tp_settings = Chef::DataBagItem.load("lp2", "settings")
template "#{node['apache']['dir']}/sites-available/maintenance" do
owner "root"
group "root"
mode "0644"
source "maintenance.vhost.erb"
variables({
:domain => node['lp2']['domain'],
:server_name => tp_settings[no... |
require 'net/ssh/errors'
module Net; module SSH; module Proxy
# A general exception class for all Proxy errors.
class Error < Net::SSH::Exception; end
# Used for reporting proxy connection errors.
class ConnectError < Error; end
# Used when the server doesn't recognize the user's credentials.
class Unau... |
SYNONYM
#### According to
Interim Register of Marine and Nonmarine Genera
#### Published in
null
#### Original name
null
### Remarks
null |
<?xml version="1.0" encoding="utf-8"?>
<menu
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:support="http://schemas.android.com/apk/res-auto">
<item android:icon="@drawable/quantum_ic_zoom_in_grey600_24" android:id="@id/ingest_switch_view" android:title="@string/ingest_switch_photo_fullscreen" s... |
Notes and examples os using NewRelic monitoring with Huey
## Notes
Huey is [not explicitly supported by NewRelic](https://docs.newrelic.com/docs/agents/python-agent/getting-started/compatibility-requirements-python-agent/). I discovered this while working on a Django application with huey for queing: all the Django
a... |