text stringlengths 3 1.05M |
|---|
namespace Microsoft.Azure.Management.Network.Models
{
using System;
using System.Linq;
using System.Collections.Generic;
using Newtonsoft.Json;
using Microsoft.Rest;
using Microsoft.Rest.Serialization;
using Microsoft.Rest.Azure;
/// <summary>
/// Response for ListRoutesTable associ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Xenon Boostrap Admin Panel" />
<meta name="author" content="" />
<title>Xenon - Range Se... |
package client
const (
EXTERNAL_HOST_EVENT_TYPE = "externalHostEvent"
)
type ExternalHostEvent struct {
Resource
AccountId string `json:"accountId,omitempty" yaml:"account_id,omitempty"`
Created string `json:"created,omitempty" yaml:"created,omitempty"`
Data map[string]interface{} `json:"data,omitempty" yaml:... |
using System.Collections.Concurrent;
using System.Diagnostics.Contracts;
using System.Globalization;
using System.Reflection;
using System.Runtime;
using System.Runtime.CompilerServices;
using System.ServiceModel.Description;
using System.ServiceModel.Diagnostics;
using System.ServiceModel.Dispatcher;
using System.Thre... |
package org.openqa.selenium.grid.router;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.openqa.selenium.Capabilities;
import org.openqa.selenium.ImmutableCapabilities;
import org.openqa... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
import * as gulpLoadPlugins from 'gulp-load-plugins';
import { join } from 'path';
import ts = require('gulp-typescript/release/main');
import Config from '../../config';
const plugins = <any>gulpLoadPlugins();
let tsProjects: any = {};
/**
* Creates a TypeScript project with the given options using the gulp types... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Roslyn.Diagnostics.Analyzers
{
internal static class RoslynDiagnosticIds
{
public const string UseEmptyEnumerableRuleId = "RS0001";... |
#ifndef _TASK_H_
#define _TASK_H_ 1
#ifdef __cplusplus
extern "C" {
#endif
#include <stdarg.h>
#include <unistd.h>
#include <inttypes.h>
#include "zmq_compat.h"
struct tns_value_t;
/*
* basic procs and threads
*/
typedef struct Task Task;
typedef struct Tasklist Tasklist;
#define MAX_STATE_LENGTH 30
int a... |
(function() {
'use strict';
var hello = function () {
return "hello";
}
module.exports = hello;
}()); // benalman.com/news/2010/11/immediately-invoked-function-expression
|
<?php
namespace ZendTest\Db\Adapter\Driver\IbmDb2;
use Zend\Db\Adapter\Driver\IbmDb2\IbmDb2;
use Zend\Db\Adapter\Driver\IbmDb2\Connection;
class ConnectionTest extends \PHPUnit_Framework_TestCase
{
/**
* @var Connection
*/
protected $connection;
/**
* Sets up the fixture, for example, op... |
it("should run a multi compiler", function() {
}); |
<?php
namespace Mockery;
class MethodCall
{
private $method;
private $args;
public function __construct($method, $args)
{
$this->method = $method;
$this->args = $args;
}
public function getMethod()
{
return $this->method;
}
public function getArgs()
{... |
<!--
This is a static template file, so it doesn't have an associated app.
It is rendered by the server via a staticPages renderer.
Since static pages don't include the Derby client library, they can't have
bound variables that automatically update. However, they do support initial
template tag rendering from a c... |
<!DOCTYPE html>
<html>
<link href="resources/grid.css" rel="stylesheet">
<style>
.grid {
grid-template-columns: 100px 300px;
grid-template-rows: 50px 150px;
height: 200px;
width: 400px;
}
.percentWidth {
width: 100%;
height: 15px;
}
.percentHeight {
width: 15px;
height: 100%;
}
.perce... |
#include "../../SDL_internal.h"
#ifdef SDL_FILESYSTEM_COCOA
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* System dependent filesystem routines */
#include <Foundation/Foundation.h>
#include <sys/stat.h>
#include <sys/types.h>
#include "SDL_error.h"
#inc... |
package org.apache.hadoop.util;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.lang.reflect.Array;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.net.MalformedURLE... |
package org.vertexium.cypher.tck;
import cucumber.api.CucumberOptions;
import cucumber.api.junit.Cucumber;
import org.junit.runner.RunWith;
@RunWith(Cucumber.class)
@CucumberOptions(
format = "pretty",
features = "classpath:org/vertexium/cypher/tck/features/TriadicSelection.feature",
glue = "org.vertexium... |
package org.elasticsearch.transport;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import org.elasticsearch.action.Action;
import org.elasticsearch.action.ActionListener;
import org.elasticsearch.action.ActionModule;
import org.elasticsearch.action.ActionRequ... |
Wrapper that adds `fetcher` function to react component as static property
```js
type FetcherFn = (locals: Object) => Array<Action> | Action | void;
type PrefetchFn = (fetcher: FetcherFn) => (component: ReactComponent) => ReactComponent;
```
### `dispatchFetchers`
Collects results (redux actions) of `fetcher` functio... |
/*
* FileSystem
*
* Translate temporary / persistent / root file paths
*/
var info = require("cordova-plugin-file.bb10FileSystemInfo");
module.exports = {
__format__: function(fullPath) {
var path;
switch (this.name) {
case 'temporary':
path = info.temporaryPath ... |
<div id="__html_block_list_id__" class="adm-bp-blocks">
<bx_include_auto:bp_blocks.html />
<script type="text/javascript">
$(document).ready(function () {
$('.adm-bp-block .adm-bpb-icon, .adm-bp-block .adm-bpb-info').bind('click', function() {
var oCheckbox = $(this).parent... |
package org.springframework.boot.context.web;
import javax.servlet.Filter;
import javax.servlet.Servlet;
import javax.servlet.ServletContext;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletException;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import o... |
[npm-img]: https://img.shields.io/npm/v/mkv-subtitle-extractor.svg
[npm-url]: https://www.npmjs.com/package/mkv-subtitle-extractor
[dep-img]: https://david-dm.org/mathiasvr/mkv-subtitle-extractor.svg
[dep-url]: https://david-dm.org/mathiasvr/mkv-subtitle-extractor
[lic-img]: http://img.shields.io/:license-MIT-blue.svg
... |
/*! SWFMini - a SWFObject 2.2 cut down version for webshims
*
* based on SWFObject v2.2 <http://code.google.com/p/swfobject/>
is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
*/
var swfmini = function() {
var wasRemoved = function(){webshims.error('This method was removed f... |
@interface OCThumborTests : XCTestCase
@property (nonatomic, strong) OCThumbor *thumbor;
@end
NSString * const KEY = @"my-security-key";
NSString * const IMG = @"my.server.com/some/path/to/image.jpg";
@implementation OCThumborTests
- (void)testCannotAddInvalidKey {
@try {
[OCThumbor createWithHost... |
{% extends "layout.html" %}
{% block pageTitle %}
GOV.UK prototyping kit
{% endblock %}
{% block content %}
{% import "pip23/macros/elements.html" as elements %}
{% for page in data %}
{% for question in page.treatments %}
<main id="content" role="main" class="pip23">
<div class="grid-row">
<div class="column-... |
require 'spec_helper'
describe Spree::Order, :type => :model do
let(:order) { stub_model("Spree::Order") }
context "#finalize!" do
let(:order) { Spree::Order.create(email: 'test@example.com') }
before do
order.update_column :state, 'complete'
end
it "should set completed_at" do
expec... |
namespace GraphQL.Language
{
public class Directive
{
public string Name { get; set; }
public Arguments Arguments { get; set; }
}
}
|
@import url(//fonts.googleapis.com/css?family=Crete+Round);
.clearfix {
*zoom: 1;
}
.clearfix:before,
.clearfix:after {
display: table;
content: "";
line-height: 0;
}
.clearfix:after {
clear: both;
}
.hide-text {
font: 0/0 a;
color: transparent;
text-shadow: none;
background-color: transparent;
bor... |
import { Provider } from '../../di';
import { ChangeDetectorRef } from '../change_detector_ref';
/**
* A type describing supported iterable types.
*
* @stable
*/
export declare type NgIterable<T> = Array<T> | Iterable<T>;
/**
* A strategy for tracking changes over time to an iterable. Used by {@link NgFor} to
* ... |
require File.expand_path('../../../../spec_helper', __FILE__)
require 'net/ftp'
describe "Net::FTP#passive" do
it "returns true when self is in passive mode" do
ftp = Net::FTP.new
ftp.passive.should be_false
ftp.passive = true
ftp.passive.should be_true
end
end
describe "Net::FTP#passive=" do
i... |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports System.IO
Imports Microsoft.CodeAnalysis
Imports Microsoft.CodeAnalysis.SpecialType
Imports Microsoft.CodeAnalysis.Test.Utilities
Imports Microsoft.Co... |
define(function(require) {
'use strict';
var CollapsibleFormRowView;
var $ = require('jquery');
var _ = require('underscore');
var BaseView = require('oroui/js/app/views/base/view');
require('jquery.select2');
CollapsibleFormRowView = BaseView.extend({
autoRender: true,
e... |
/**
* @file
* JavaScript to disable back button.
*/
(function () {
'use strict';
// From: http://stackoverflow.com/questions/17962130/restrict-user-to-refresh-and-back-forward-in-any-browser
history.pushState({page: 1}, 'Title 1', '#no-back');
window.onhashchange = function (event) {
window.location.h... |
* dockerd
## Steps
* Run postgres:11
* Run the plugin standalone
* Check the exit code
|
namespace Kafka.Tests.Utils
{
using System;
using System.Configuration;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
/// <summary>
/// Utility class usefull to create
/// </summary>
public static class KafkaRunClassHelper
{
publi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.AspNet.SignalR;
namespace TanksOnline.ProjektPZ.Server.Controllers.Hubs
{
public class MyHub : Hub<MyHub.ITest>
{
public void Hello(Test hi)
{
Clients.All.SomeOneSendHello(hi);
... |
<?php
namespace Symfony\Component\HttpKernel\CacheClearer;
use Psr\Cache\CacheItemPoolInterface;
/**
* @author Nicolas Grekas <p@tchwork.com>
*/
class Psr6CacheClearer implements CacheClearerInterface
{
private $pools = array();
public function __construct(array $pools = array())
{
$this->po... |
#ifndef _LAKE_BOOL_H
#define _LAKE_BOOL_H
#include "common.h"
#include "lake.h"
bool lake_bool_val(LakeBool *b);
bool lake_is_true(LakeCtx *ctx, LakeVal *x);
bool lake_is_false(LakeCtx *ctx, LakeVal *x);
bool lake_is_truthy(LakeCtx *ctx, LakeVal *x);
bool lake_is_falsy(LakeCtx *ctx, LakeVal *x);
LakeBool *lake_bool... |
void g() {}
// It is important that the following string be in the error message. The gcc
// testsuite looks for it to decide if a target supports aliases.
void f() __attribute__((alias("g"))); //expected-error {{only weak aliases are supported}}
|
<!DOCTYPE html><html lang="en"><head>
<meta charset="UTF-8">
<title>Vulcanizer Test</title>
<script src="bower_components/platform/platform.js"></script>
<script src="bower_components/polymer/polymer.js"></script>
</head>
<body><div hidden="" by-vulcanize=""><dom-module id="y-import" assetpath="sub-import/">
... |
package org.onosproject.pcepio.types;
import java.util.Objects;
import org.jboss.netty.buffer.ChannelBuffer;
import org.onosproject.pcepio.protocol.PcepVersion;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.common.base.MoreObjects;
/**
* Provides StatefulPceCapabilityTlv.
*/
public ... |
<?php
namespace ZendTest\Authentication\Adapter;
use Zend\Authentication;
use Zend\Authentication\Adapter;
use Zend\Db\Adapter\Adapter as DbAdapter;
use Zend\Db\Sql\Select as DBSelect;
/**
* @category Zend
* @package Zend_Auth
* @subpackage UnitTests
* @group Zend_Auth
* @group Zend_Db_Table
*/... |
// -*- C++ -*-
class list_box;
class box {
private:
static int next_uid;
public:
int spacing_type;
const int uid;
box();
virtual void debug_print() = 0;
virtual ~box();
void top_level();
virtual int compute_metrics(int);
virtual void compute_subscript_kern();
virtual void compute_skew();
virtua... |
<?php
final class DrydockLeaseReleaseController extends DrydockLeaseController {
public function handleRequest(AphrontRequest $request) {
$viewer = $request->getViewer();
$id = $request->getURIData('id');
$lease = id(new DrydockLeaseQuery())
->setViewer($viewer)
->withIDs(array($id))
... |
/**
* Created by tongtongbao on 5/16/15.
*/
function isEmpty(val){
return (val === undefined || val == null || val.length <= 0) ? true : false;
}
function adAlert(text) {
// console.log(text);
console.log($("#error_message"));
var a = $("#error_message")[0];
console.log(a);
$("#error_message")[... |
const $ = document.querySelector.bind(document);
const $$ = document.querySelectorAll.bind(document);
Node.prototype.on = window.on = function (name, fn) {
this.addEventListener(name, fn);
};
NodeList.prototype.__proto__ = Array.prototype; // eslint-disable-line
NodeList.prototype.on = NodeList.prototype.addEventL... |
body { background-color: #eeeeee; padding: 0; margin: 5px; overflow-y: scroll; }
#HTMLReporter { font-size: 11px; font-family: Monaco, "Lucida Console", monospace; line-height: 14px; color: #333333; }
#HTMLReporter a { text-decoration: none; }
#HTMLReporter a:hover { text-decoration: underline; }
#HTMLReporter p,... |
#include "ANTLRErrorStrategy.h"
antlr4::ANTLRErrorStrategy::~ANTLRErrorStrategy()
{
}
|
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
/**
* A set of functions used by the webGL renderer to draw the primitive graphics data
*
* @class CanvasGraphics
*/
PIXI.WebGLGraphics = function()
{
};
/**
* Renders the graphics object
*
* @static
* @private
* @method renderGraphics
* @param... |
export interface GetConnectionOptions {
/**
* Set which replica to use. Available options are `read` and `write`
*/
type: 'read' | 'write';
/**
* Force master or write replica to get connection from
*/
useMaster?: boolean;
}
export type Connection = object;
export interface ConnectionManager {
r... |
const leveldown = require('../')
, crypto = require('crypto')
, fs = require('fs')
, du = require('du')
, uuid = require('node-uuid')
, entryCount = 10000000
, concurrency = 10
, timesFile = './write_random_times.csv'
, dbDir = './write_random.db... |
// Package eviction is responsible for enforcing eviction thresholds to maintain
// node stability.
package eviction // import "k8s.io/kubernetes/pkg/kubelet/eviction"
|
var Spaces = require('../../options/format').Spaces;
var Marker = require('../../tokenizer/marker');
var formatPosition = require('../../utils/format-position');
var CASE_ATTRIBUTE_PATTERN = /[\s"'][iI]\s*\]/;
var CASE_RESTORE_PATTERN = /([\d\w])([iI])\]/g;
var DOUBLE_QUOTE_CASE_PATTERN = /="([a-zA-Z][a-zA-Z\d\-_]+)"(... |
@class PGTSConnection;
@class PGTSResultSet;
@class PGTSConnector;
@class PGTSQueryDescription;
@class PGTSMetadataContainer;
@class PGTSDatabaseDescription;
@class PGTSNotification;
@class PGTSQuery;
@class BXSocketDescriptor;
@protocol PGTSConnectionDelegate <NSObject>
- (void) PGTSConnectionFailed: (PGTSConnectio... |
<?php
namespace Symfony\Bridge\Twig\Form;
use Symfony\Component\Form\Exception\UnexpectedTypeException;
use Symfony\Component\Form\Extension\Csrf\CsrfProvider\CsrfProviderAdapter;
use Symfony\Component\Form\Extension\Csrf\CsrfProvider\CsrfProviderInterface;
use Symfony\Component\Form\FormRenderer;
use Symfony\Compo... |
namespace ForumSystem.Web.ViewModels.Account
{
using System.ComponentModel.DataAnnotations;
public class LoginViewModel
{
[Required]
[Display(Name = "Email")]
[EmailAddress]
public string Email { get; set; }
[Required]
[DataType(DataType.Password)]
... |
package org.apache.sysml.lops;
import org.apache.sysml.lops.LopProperties.ExecLocation;
import org.apache.sysml.lops.LopProperties.ExecType;
import org.apache.sysml.lops.compile.JobType;
import org.apache.sysml.parser.Expression.*;
public class CumulativeSplitAggregate extends Lop
{
private double _initValue = 0;... |
<?php
/**
* Adminhtml sales transactions block
*
* @category Mage
* @package Mage_Adminhtml
* @author Magento Core Team <core@magentocommerce.com>
*/
class Mage_Adminhtml_Block_Sales_Transactions extends Mage_Adminhtml_Block_Widget_Grid_Container
{
public function __construct()
{
$this-... |
(function() {
/* ########## Begin module implementation ########## */
function initModule(forge) {
// define net namespace
var net = forge.net = forge.net || {};
// map of flash ID to socket pool
net.socketPools = {};
/**
* Creates a flash socket pool.
*
* @param options:
* flashId: the dom ID for the ... |
/*
Cluster Styles
*/
#cluster {
position: absolute;
top: 0px;
bottom: 0px;
left: 20px;
right: 20px;
overflow: auto;
}
#cluster-filter-controls {
z-index: 1;
}
#cluster-header-text {
font-size: 18px;
font-weight: bold;
color: #728E9B;
font-family: Roboto Slab;
marg... |
description: Scale your service, spawn new containers
keywords: spawn, container, service, deploy
redirect_from:
- /docker-cloud/feature-reference/service-scaling/
title: Scale your service
---
Docker Cloud makes it easy to spawn new containers of your service to handle
additional load. Two modes are available to allo... |
cask 'eclipse-rcp' do
version '4.6.2,neon:2'
sha256 'fd850fd5a5f22723c25ce6d8855856afe48b407ddfe457e8f084a8b50d7e3b1f'
url "https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/#{version.after_comma.before_colon}/#{version.after_colon}/eclipse-rcp-#{version.after_comma.before_col... |
package org.cboard.pojo;
/**
* Created by yfyuan on 2016/8/18.
*/
public class DashboardBoard {
private Long id;
private int userId;
private Long categoryId;
private String name;
private String layout;
public Long getId() {
return id;
}
public void setId(Long id) {
... |
#ifndef UBIDIIMP_H
#define UBIDIIMP_H
/* set import/export definitions */
#ifdef U_COMMON_IMPLEMENTATION
#include "unicode/utypes.h"
#include "unicode/uchar.h"
#include "ubidi_props.h"
/* miscellaneous definitions ---------------------------------------------- */
typedef uint8_t DirProp;
typedef uint32_t Flags;
... |
import numpy as np
from sklearn.metrics import confusion_matrix, accuracy_score
from . import utils
from .SdA import SdAClassifier
N_MNIST = 70000
N_MNIST_TRAIN = 60000
N_MNIST_TEST = N_MNIST - N_MNIST_TRAIN
N_TRAIN = N_MNIST_TRAIN
N_TEST = N_MNIST_TEST
# prepare MNIST data
X, y = utils.prepare_data()
# split data i... |
void realview_clk_init(void __iomem *sysbase, bool is_pb1176);
|
<header>Éditer un Commande</header>
Cette page vous permet d'éditer une commande qui a déjà été définie.
<include cmd>
|
#region Apache 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
// (... |
package org.gradle.jvm.toolchain.internal;
import org.gradle.internal.service.scopes.Scopes;
import org.gradle.internal.service.scopes.ServiceScope;
import org.gradle.language.base.internal.compile.CompileSpec;
import org.gradle.language.base.internal.compile.Compiler;
/**
* Creates Java compilers based on the prov... |
package v1beta1
import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
)
// GroupName is the group name use in this package
const GroupName = "storage.k8s.io"
// SchemeGroupVersion is group version used to register these objects
var Sche... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
using Orchard.FileSystems.Media;
namespace Orchard.Azure.Services.FileSystems {
public class AzureFileSystem {
public const string FolderEn... |
/**
* Created with JetBrains PhpStorm.
* User: xuheng
* Date: 12-9-26
* Time: 下午12:29
* To change this template use File | Settings | File Templates.
*/
//清空上次查选的痕迹
editor.firstForSR = 0;
editor.currentRangeForSR = null;
//给tab注册切换事件
/**
* tab点击处理事件
* @param tabHeads
* @param tabBodys
* @para... |
This is a changelog of changes made to the saml package for RocketChat.
The package is originally based on https://github.com/steffow/meteor-accounts-saml .
## 9-Nov-2016 danb@catalyst-au.net
* Only do `logoutWithSaml` if we are doing single logout (ie
`idpSLORedirectURL` is set). We get an error if we do
`logou... |
from __future__ import (absolute_import, division, generators, nested_scopes, print_function,
unicode_literals, with_statement)
from pants.source.payload_fields import SourcesField
from pants.source.wrapped_globs import EagerFilesetWithSpec, Globs, LazyFilesetWithSpec
from pants_test.base_test ... |
using System;
using System.ComponentModel;
namespace Azure.ResourceManager.DataFactory.Models
{
/// <summary> The type of the parameter. </summary>
public readonly partial struct ScriptActivityParameterType : IEquatable<ScriptActivityParameterType>
{
private readonly string _value;
/// <su... |
YUI.add('io-queue', function (Y, NAME) {
/**
Extends IO to implement Queue for synchronous
transaction processing.
@module io
@submodule io-queue
@for IO
**/
var io = Y.io._map['io:0'] || new Y.IO();
Y.mix(Y.IO.prototype, {
/**
* Array of transactions queued for processing
*
* @property _q
* @priva... |
/* apps/dh.c */
/* obsoleted by dhparam.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for ... |
#ifndef INCLUDE_git_git_h__
#define INCLUDE_git_git_h__
#include BLIK_LIBGIT2_U_git2__annotated_commit_h //original-code:"git2/annotated_commit.h"
#include BLIK_LIBGIT2_U_git2__attr_h //original-code:"git2/attr.h"
#include BLIK_LIBGIT2_U_git2__blob_h //original-code:"git2/blob.h"
#include BLIK_LIBGIT2_U_git2__blame_... |
<settings>
<localRepository>../../../../build/local-m2-repository</localRepository>
<profiles>
<profile>
<id>cli-test-repo</id>
<activation>
<activeByDefault>true</activeByDefault>
</a... |
.. Copyright David Abrahams 2006. 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)
::
template <
class Incrementable
, class CategoryOrTraversal = use_default
, class Difference = use_default
>
... |
layout: post
title: "Sensei Anywhere"
category: development
image: /images/blog/sensei-anywhere-screenshot.png
---
Developer productivity is very important for us at [Datazenit](http://datazenit.com). Database administration tools usually do not excel with great efficiency, but we are here to change that. I really enj... |
const defaultTheme = require('./default-theme.js');
const darkThemeSingle = {
"theme": "dark",
"blue-1": "mix(color(~`colorPalette('@{blue-base}', 8) `), @component-background, 15%)",
"blue-2": "mix(color(~`colorPalette('@{blue-base}', 7) `), @component-background, 25%)",
"blue-3": "mix(@blue-base, @component-b... |
"""Run the tests with
python misc_test.py
or
python3 misc_test.py
"""
from __future__ import division
import random
import unittest
import misc
class TestMisc(unittest.TestCase):
def testUnwrapMod3(self):
data = [0, 1, 2, 0, -1, -2, -3, -4]
unwrapped_3 = misc.Unwrap(data, 3)
self.assertEq... |
import {
AfterViewInit,
ChangeDetectionStrategy,
Component,
ElementRef,
EventEmitter,
Input,
OnChanges,
OnDestroy,
OnInit,
Output,
SimpleChanges,
ViewChild,
} from '@angular/core';
import { LngLatLike, PointLike, Popup, PopupOptions } from 'mapbox-gl';
import { MapService } from '../map/map.serv... |
<?php
App::uses('ClassRegistry', 'Utility');
App::uses('Validation', 'Utility');
App::uses('String', 'Utility');
App::uses('Hash', 'Utility');
App::uses('BehaviorCollection', 'Model');
App::uses('ModelBehavior', 'Model');
App::uses('ModelValidator', 'Model');
App::uses('ConnectionManager', 'Model');
App::uses('Xml', ... |
var path = require('path'),
vows = require('vows'),
assert = require('assert'),
winston = require('../../lib/winston'),
helpers = require('../helpers');
var npmTransport = new (winston.transports.Memory)(),
syslogTransport = new (winston.transports.Memory)({ levels: winston.config.syslog.levels });... |
/*
* imgAreaSelect default style
*/
.imgareaselect-border1 {
background: url(border-v.gif) repeat-y left top;
}
.imgareaselect-border2 {
background: url(border-h.gif) repeat-x left top;
}
.imgareaselect-border3 {
background: url(border-v.gif) repeat-y right top;
}
.imgareaselect-border4 {
background:... |
var browserify = require('../..'),
path = require('path'),
fs = require('fs'),
bundlePath = path.join(__dirname, 'js', 'build', 'bundle.js');
browserify()
.require(require.resolve('./js/main.js'), { entry: true })
.bundle({ debug: true })
.on('error', function (err) { console.error(err); })
... |
import SagaTestError from '../shared/SagaTestError';
import validateEffects from './validateEffects';
export default function assertSameEffect(
eventChannel: Function,
effectName: string,
effectKey: ?string,
isHelperEffect: boolean,
actual: Object,
expected: Object,
stepNumber: number,
) {
const errorM... |
DELETE FROM person;
|
import * as React from 'react';
import './style.css';
import { RouteComponentProps } from 'react-router-dom';
import Dashboard from 'Components/DashboardLayout';
import SearchForm from './Components/SearchForm';
class SearchPage extends React.Component<RouteComponentProps<{}>, {}> {
render() {
return (
<di... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Phaser Source: src/core/Plugin.js</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/default.css">
<link type="text/css" rel="sty... |
PKG_NAME = node
PKG_VERS = 0.12.2
PKG_EXT = tar.gz
PKG_DIST_NAME = $(PKG_NAME)-v$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = http://nodejs.org/dist/v$(PKG_VERS)/
PKG_DIR = $(PKG_NAME)-v$(PKG_VERS)
REQUIRED_DSM = 5.0
UNSUPPORTED_ARCHS = $(ARMv5_ARCHES) $(PPC_ARCHES)
HOMEPAGE = http://nodejs.org/
COMMENT = Node.js is a plat... |
/* -*- Mode: js; js-indent-level: 2; -*- */
/*
* Copyright 2012 Mozilla Foundation and contributors
* Licensed under the New BSD license. See LICENSE or:
* http://opensource.org/licenses/BSD-3-Clause
*/
if (typeof define !== 'function') {
var define = require('amdefine')(module, require);
}
define(function (req... |
#if !__has_feature(objc_arc)
#error GCDWebServer requires ARC
#endif
#import "GCDWebServerPrivate.h"
#define kMultiPartBufferSize (256 * 1024)
typedef enum {
kParserState_Undefined = 0,
kParserState_Start,
kParserState_Headers,
kParserState_Content,
kParserState_End
} ParserState;
@interface GCDWebServe... |
CKEDITOR.plugins.setLang( 'table', 'pt-br', {
border: 'Borda',
caption: 'Legenda',
cell: {
menu: 'Célula',
insertBefore: 'Inserir célula a esquerda',
insertAfter: 'Inserir célula a direita',
deleteCell: 'Remover Células',
merge: 'Mesclar Células',
mergeRight: 'Mesclar com célula a direita',
... |
package org.apache.flink.test.checkpointing.utils;
import org.junit.Ignore;
import org.junit.Test;
/**
* This verifies that we can restore a complete job from a Flink 1.3 savepoint.
*
* <p>The test pipeline contains both "Checkpointed" state and keyed user state.
*/
public class StatefulJobSavepointFrom13Migrat... |
<!DOCTYPE html>
<html>
<head>
<script src="/js-test-resources/js-test.js"></script>
<script>
window.jsTestIsAsync = true;
testRunner.waitUntilDone();
var givenLoadEventTargets = [];
function handleError(event)
{
givenLoadEventTargets.push(event.target.id);
if (givenLoadEventTargets.length == 3) {
shoul... |