text
stringlengths
3
1.05M
layout: talk title: "Redux — управление состоянием React-приложений" modified: categories: talks author: elifantiev_oleg excerpt: tags: [react, redux] image: feature: talk: meetup10 date: 2015-10-30T19:00:00+04:00 comments: true share: true announce: false video: _2NeGzHTnlU slides: --- Я возьму приложение, ...
/// Copyright (c) 2012 Ecma International. All rights reserved. /** * @path ch11/11.13/11.13.2/11.13.2-1-s.js * @description Strict Mode - ReferenceError is thrown if the LeftHandSideExpression of a Compound Assignment operator(*=) evaluates to an unresolvable reference * @onlyStrict */ function testcase() { ...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Text; using Microsoft.Build.Framework; using Microsoft.Build.Shared; using System.Collections; using Syste...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using Orchard.DisplayManagement.Implementation; using Orchard.Environment.Extensions; using Orchard.Mvc; namespace Orchard.DesignerTools.Services { [OrchardFeature("UrlAlternates")] public class UrlAlternatesFactory...
import {Injectable, Optional, SkipSelf} from '@angular/core'; import {Subject} from 'rxjs'; /** * To modify the labels and text displayed, create a new instance of MatPaginatorIntl and * include it in a custom provider */ @Injectable({providedIn: 'root'}) export class MatPaginatorIntl { /** * Stream to emit...
package unstructured import ( "bytes" encodingjson "encoding/json" "fmt" "math" "os" "reflect" "strconv" "strings" "sync" "sync/atomic" apiequality "k8s.io/apimachinery/pkg/api/equality" "k8s.io/apimachinery/pkg/util/diff" "k8s.io/apimachinery/pkg/util/json" utilruntime "k8s.io/apimachinery/pkg/util/r...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <title>ARXWizard (ARX GUI Documentation)</title> <link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style"> </head> <body> <script type="t...
<?php namespace Zend\Mvc\Service; use Zend\ServiceManager\FactoryInterface; use Zend\ServiceManager\ServiceLocatorInterface; use Zend\View\Resolver as ViewResolver; class ViewTemplatePathStackFactory implements FactoryInterface { /** * Create the template path stack view resolver * * Creates a Ze...
package org.springframework.boot.test.context; import javax.servlet.ServletContext; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.context.embedded.EmbeddedServletContainerFactory; impo...
 CKEDITOR.plugins.setLang( 'link', 'ms', { acccessKey: 'Kunci Akses', advanced: 'Advanced', advisoryContentType: 'Jenis Kandungan Makluman', advisoryTitle: 'Tajuk Makluman', anchor: { toolbar: 'Masukkan/Sunting Pautan', menu: 'Ciri-ciri Pautan', title: 'Ciri-ciri Pautan', name: 'Nama Pautan', errorName:...
/** * @fileoverview Rule to flag when the same variable is declared more then once. * @author Ilya Volodin */ "use strict"; //------------------------------------------------------------------------------ // Rule Definition //------------------------------------------------------------------------------ module.ex...
declare module "rimraf" { function rimraf(path: string, callback: (error: Error) => void): void; module rimraf { export function sync(path: string): void; export var EMFILE_MAX: number; export var BUSYTRIES_MAX: number; } export = rimraf; }
<?php namespace Symfony\Component\Console\Tests\Command; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Helper\FormatterHelper; use Symfony\Component\Console\Application; use Symfony\Component\Console\Input\InputDefinition; use Symfony\Component\Console\Input\InputArgument; use Symfony...
using System; using System.IO; namespace ICSharpCode.SharpZipLib.Core { /// <summary> /// Provides simple <see cref="Stream"/>" utilities. /// </summary> internal sealed class StreamUtils { /// <summary> /// Read from a <see cref="Stream"/> ensuring all the required data is read. /// </summary> /// <param...
package org.jgroups.tests; import org.jgroups.*; import org.jgroups.stack.ProtocolStack; import org.jgroups.util.Util; import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import java.util.ArrayList; import java.util.HashSet; import java.util.List;...
<!DOCTYPE html> <!-- DO NOT EDIT! This test has been generated by tools/gentest.py. --> <title>Canvas test: size.attributes.parse.whitespace</title> <meta name="author" content="Philip Taylor"> <script src="../../resources/testharness.js"></script> <script src="../../resources/testharnessreport.js"></script> <script sr...
package org.la4j.matrix; import org.la4j.iterator.ColumnMajorMatrixIterator; import org.la4j.iterator.MatrixIterator; import org.la4j.iterator.RowMajorMatrixIterator; import org.la4j.iterator.VectorIterator; import org.la4j.Matrices; import org.la4j.Matrix; import org.la4j.matrix.functor.MatrixAccumulator; import or...
package psql import ( "fmt" "strconv" ) // IntLiteral wraps an integer n in an Expression that can be used to // build an SQL query. func IntLiteral(n int) intLiteral { return intLiteral(n) } type intLiteral int func (i intLiteral) ToSQLExpr(*Params) string { return strconv.Itoa(int(i)) } func (i intLiteral) R...
package org.apache.hadoop.mapred; import static org.apache.hadoop.mapreduce.util.CountersStrings.parseEscapedCompactString; import static org.apache.hadoop.mapreduce.util.CountersStrings.toEscapedCompactString; import java.io.DataInput; import java.io.DataOutput; import java.io.IOException; import java.text.ParseEx...
#ifndef __ASM_ARCH_MEMORY_H #define __ASM_ARCH_MEMORY_H #if defined(CONFIG_FOOTBRIDGE_ADDIN) /* * If we may be using add-in footbridge mode, then we must * use the out-of-line translation that makes use of the * PCI BAR */ #ifndef __ASSEMBLY__ extern unsigned long __virt_to_bus(unsigned long); extern unsigned lo...
div { blah: image-url("hello.png", false); blah: image-url("hello.png", true); }
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911 // .1802 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2015....
{-# LANGUAGE OverloadedStrings, RecordWildCards #-} import Control.Applicative ((<$>), (<*>), empty) import Data.Aeson import Data.Monoid import qualified Data.ByteString.Lazy.Char8 as BL data Coord = Coord { x :: Double, y :: Double } deriving (Show) -- A ToJSON instance allows us to encode a value as ...
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Example - example-guide-concepts-3-debug</title> <script src="../../../angular.js"></script> <script src="invoice3.js"></script> <script src="finance3.js"></script> </head> <body > <div ng-app="invoice3" ng-controller="Invo...
package org.zalando.riptide.compatibility; import org.junit.jupiter.api.Test; import org.springframework.http.HttpOutputMessage; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.mockito.Mockito.mock; class HttpOutputMessageClientHttpRequestAdapterTest { private final HttpOutputMess...
struct ProxyConfigHolder { ProxyPrefs::ProxyMode mode; std::string pac_url; std::string proxy_server; std::string bypass_list; }; TEST(ProxyConfigDictionaryTest, CreateDirect) { scoped_ptr<DictionaryValue> dict_value(ProxyConfigDictionary::CreateDirect()); ProxyConfigDictionary dict(dict_value.get()); Pr...
#ifndef INSERTDNAEXTENSION_H #define INSERTDNAEXTENSION_H #include <avogadro/extension.h> namespace Avogadro { class InsertDNADialog; class InsertDNAExtension : public Extension { Q_OBJECT AVOGADRO_EXTENSION("InsertDNA", tr("Insert DNA/RNA"), tr("Insert DNA/RNA chains")) pub...
@interface UIApplication(GTMCodeCoverage) - (void)gtm_gcov_flush; @end
 #include <aws/email/model/TemplateMetadata.h> #include <aws/core/utils/xml/XmlSerializer.h> #include <aws/core/utils/StringUtils.h> #include <aws/core/utils/memory/stl/AWSStringStream.h> #include <utility> using namespace Aws::Utils::Xml; using namespace Aws::Utils; namespace Aws { namespace SES { namespace Model...
import massage_qps_stats_helpers def massage_qps_stats(scenario_result): for stats in scenario_result["serverStats"] + scenario_result["clientStats"]: if "coreStats" in stats: # Get rid of the "coreStats" element and replace it by statistics # that correspond to columns in the bigq...
package v2 import ( "errors" "os" "github.com/rackspace/gophercloud" "github.com/rackspace/gophercloud/acceptance/tools" "github.com/rackspace/gophercloud/rackspace" ) func newClient() (*gophercloud.ServiceClient, error) { // Obtain credentials from the environment. options, err := rackspace.AuthOptionsFromEn...
if test command -v yarn >/dev/null 2>&1; then brew install yarn fi
// // IImmutableSet.cs // // Author: // Mike Krüger <mkrueger@xamarin.com> // // Copyright (c) 2013 Xamarin Inc. (http://xamarin.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Softw...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>UI Tags Example</title> <link href="/struts2-showcase-2.0.6/styles/main.css" rel="styleshee...
package org.esupportail.publisher.web; import java.io.FileNotFoundException; import java.io.IOException; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.List; import java.util.Map; import java.util.Optional; import java.util...
from flask.ext.admin.babel import gettext from flask.ext.admin.model import filters from .tools import parse_like_term class BasePeeweeFilter(filters.BaseFilter): """ Base Peewee filter. """ def __init__(self, column, name, options=None, data_type=None): """ Constructor. ...
package edu.sampleu.admin.config.namespace.pending.approvals.workgroup; import edu.sampleu.admin.config.namespace.pending.PendingBase; import org.junit.Test; import org.kuali.rice.testtools.selenium.AutomatedFunctionalTestUtils; import org.kuali.rice.testtools.selenium.WebDriverUtils; /** * @author Kuali Rice Team ...
namespace OpenQA.Selenium.DevTools.Debugger { using Newtonsoft.Json; /// <summary> /// Sets JavaScript breakpoint before each call to the given function. /// If another function was created from the same source as a given one, /// calling it will also trigger the breakpoint. /// </summary> ...
//%LICENSE//////////////////////////////////////////////////////////////// // // Licensed to The Open Group (TOG) under one or more contributor license // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with // this work for additional information regarding copyright ownership. // Each contributor lice...
package com.google.security.zynamics.binnavi.Gui.CriteriaDialog.Conditions; import java.awt.BorderLayout; import javax.swing.JPanel; import javax.swing.JTextArea; import javax.swing.border.EmptyBorder; import javax.swing.border.TitledBorder; /** * Abstract base class for panels that are shown when nodes are select...
package org.indiarose.indiarosetimer.fragment; import org.indiarose.indiarosetimer.modele.Categorie; import org.indiarose.indiarosetimer.modele.TimerModele; import org.indiarose.api.fragments.core.FragmentNormal; import org.indiarose.api.utils.LecteurVocalTTS; import org.indiarose.lib.model.Indiagram; import android...
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // /*++ Module Name: include/pal/perftrace.h Abstract: Header file for PAL Performance trace utilities. --*/ /* Overview of PAL Performance utiliti...
!function ($) { "use strict"; // jshint ;_; /* TAB CLASS DEFINITION * ==================== */ var Tab = function (element) { this.element = $(element) } Tab.prototype = { constructor: Tab , show: function () { var $this = this.element , $ul = $this.closest('ul:not(.dropdown-...
<?php namespace Wallabag\CoreBundle\Helper; use Graby\Ring\Client\SafeCurlHandler; use GuzzleHttp\Client; use GuzzleHttp\Cookie\CookieJar; use GuzzleHttp\Event\SubscriberInterface; use Psr\Log\LoggerInterface; /** * Builds and configures the Guzzle HTTP client. */ class HttpClientFactory { /** @var [\GuzzleHtt...
 --Create the Select Proc CREATE PROCEDURE [dbo].[app_SurveyAnswers_GetAll] @SRID INT AS SELECT a.*, q.QName, q.QText, q.QNumber FROM [SurveyAnswers] a INNER JOIN SurveyQuestion q ON a.QID = q.QID WHERE a.SRID = @SRID ORDER BY q.QNumber
describe("", function() { var rootEl; beforeEach(function() { rootEl = browser.rootEl; browser.get("build/docs/examples/example-text-input-directive/index-jquery.html"); }); var text = element(by.binding('example.text')); var valid = element(by.binding('myForm.input.$valid')); var input = element(by.mo...
package cobra import ( "bytes" "fmt" "os" "reflect" "runtime" "strings" "testing" "github.com/github/git-lfs/vendor/_nuts/github.com/spf13/pflag" ) var _ = fmt.Println var _ = os.Stderr var tp, te, tt, t1, tr []string var rootPersPre, echoPre, echoPersPre, timesPersPre []string var flagb1, flagb2, flagb3, f...
<?php /** Zend_Form_Element_Xhtml */ #require_once 'Zend/Form/Element/Xhtml.php'; /** * Image form element * * @category Zend * @package Zend_Form * @subpackage Element * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/n...
/* * Usage: * <div class="sk-circle"> <div class="sk-circle1 sk-child"></div> <div class="sk-circle2 sk-child"></div> <div class="sk-circle3 sk-child"></div> <div class="sk-circle4 sk-child"></div> <div class="sk-circle5 sk-child"></div> <div class="sk-circle6 sk...
package com.amazonaws.services.glacier; import com.amazonaws.*; import com.amazonaws.regions.*; import com.amazonaws.services.glacier.model.*; /** * Interface for accessing AmazonGlacier. * <p> * Amazon Glacier is a storage solution for "cold data." * </p> * <p> * Amazon Glacier is an extremely low-cost storag...
import {NgFor, NgIf} from '@angular/common'; import {Component, Directive, DynamicComponentLoader, ViewContainerRef} from '@angular/core'; import {ApplicationRef} from '@angular/core/src/application_ref'; import {ListWrapper} from '@angular/facade/src/lang'; import {bootstrap, BrowserModule} from '@angular/platform-b...
require 'mspec/expectations/expectations' require 'mspec/runner/formatters/dotted' class UnitdiffFormatter < DottedFormatter def finish print "\n\n#{@timer.format}\n" count = 0 @exceptions.each do |exc| outcome = exc.failure? ? "FAILED" : "ERROR" print "\n#{count += 1})\n#{exc.description} #{...
Maintenance release, upgrades buildmail and libmime. Allows using functions as transform plugins and fixes issue with unicode filenames in Gmail. ## v1.2.2 2014-09-05 Proper handling of data uris as attachments. Attachment `path` property can also be defined as a data uri, not just regular url or file path. ## v1.2....
<!DOCTYPE html> <html lang="en"> <head> <!-- The jQuery library is a prerequisite for all jqSuite products --> <script type="text/ecmascript" src="../../../js/jquery.min.js"></script> <!-- This is the Javascript file of jqGrid --> <script type="text/ecmascript" src="../../../js/trirand/jquery.jqGri...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_26) on Sat Jun 21 06:31:10 UTC 2014 --> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <TITLE> Uses of Interface org.apache.hado...
Imports System.IO Imports Aspose.Email.Mail Imports Aspose.Email.Outlook Imports Aspose.Email.Pop3 Imports Aspose.Email Imports Aspose.Email.Mime Imports Aspose.Email.Imap Imports System.Configuration Imports System.Data Imports Aspose.Email.Mail.Bounce Imports Aspose.Email.Exchange Namespace Aspose.Email.Examples.V...
<?php /** * @category Zend * @package Zend_Log * @subpackage Filter * @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License * @version $Id$ */ interface Zend_Log_Filter_Interface { /** * ...
/**************************************************************************** * * Copyright (C) 2014-2016 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * The Samsung sample code has a BSD compatible license that requires this * copyright notice: * * Copyright (c) 2016 Sam...
/* ** NOTE: This file is generated by Gulp and should not be edited directly! ** Any changes made directly to this file will be overwritten next time its asset group is processed by Gulp. */ /* http://keith-wood.name/calendars.html Romansh localisation for Gregorian/Julian calendars for jQuery. Yvonne Gienal (yv...
import java.util.*; class Test { ArrayList l; void foo() { l = new ArrayList(); } }
/* * Entry point and tests that are expected to succeed. */ public class Main { /** * Drives tests. */ public static void main(String[] args) { Main m = new Main(); m.recursiveSync(0); m.nestedMayThrow(false); try { m.nestedMayThrow(true); ...
#define JPEG_INTERNALS #include "jinclude.h" #include "jpeglib.h" /* Note: currently, there is no operating mode in which a full-image buffer * is needed at this step. If there were, that mode could not be used with * "raw data" input, since this module is bypassed in that case. However, * we've left the code ...
package cluster import ( "io" "github.com/samalba/dockerclient" ) // Cluster is exported type Cluster interface { // Create a container CreateContainer(config *ContainerConfig, name string) (*Container, error) // Remove a container RemoveContainer(container *Container, force, volumes bool) error // Return a...
#include "unicode/utypes.h" #if !UCONFIG_NO_NORMALIZATION #include "unicode/uchar.h" #include "unicode/normlzr.h" #include "unicode/uniset.h" #include "unicode/putil.h" #include "cstring.h" #include "filestrm.h" #include "normconf.h" #include <stdio.h> #define ARRAY_LENGTH(array) (sizeof(array) / sizeof(array[0]))...
#include <jni.h> #include "engine/renderer/renderer.h" #include "objects/textures/render_texture.h" //#include "objects/components/camera.h" namespace gvr { class Camera; class Scene; extern "C" { void Java_org_gearvrf_GVRViewManager_cull(JNIEnv *jni, jclass clazz, ...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE762_Mismatched_Memory_Management_Routines__delete_array_wchar_t_realloc_12.cpp Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete_array.label.xml Template File: sources-sinks-12.tmpl.cpp */ /* * @description * CWE: 762 Mismatched Memory ...
package io.dropwizard.jersey.jackson; import com.fasterxml.jackson.databind.ObjectMapper; import javax.ws.rs.core.Feature; import javax.ws.rs.core.FeatureContext; import javax.ws.rs.ext.MessageBodyReader; import javax.ws.rs.ext.MessageBodyWriter; /** * A binder that registers the Jackson JSON provider while allowin...
/** * Agent check */ 'use strict'; /** * Module dependencies. */ var errors = require('../errors'); var utils = require('../utils'); /** * Initialize a new `AgentCheck` client. */ function AgentCheck(consul) { this.consul = consul; } /** * Returns the checks the local agent is managing */ AgentCheck.pr...
template<typename MatrixType> bool equalsIdentity(const MatrixType& A) { typedef typename MatrixType::Scalar Scalar; Scalar zero = static_cast<Scalar>(0); bool offDiagOK = true; for (Index i = 0; i < A.rows(); ++i) { for (Index j = i+1; j < A.cols(); ++j) { offDiagOK = offDiagOK && (A(i,j) == zero); ...
package liquibase.exception; import liquibase.Scope; import liquibase.change.Change; import liquibase.change.ChangeFactory; import liquibase.changelog.ChangeSet; import liquibase.database.Database; import liquibase.precondition.Precondition; import liquibase.util.StringUtil; import java.util.ArrayList; import java.ut...
""" C code printer The CCodePrinter converts single sympy expressions into single C expressions, using the functions defined in math.h where possible. A complete code generator, which uses ccode extensively, can be found in sympy.utilities.codegen. The codegen module can be used to generate complete source code files...
<html><body> <h4>Windows 10 x64 (19042.610)</h4><br> <h2>_MI_SECTION_IMAGE_INFORMATION</h2> <font face="arial"> +0x000 ExportedImageInformation : <a href="./_SECTION_IMAGE_INFORMATION.html">_SECTION_IMAGE_INFORMATION</a><br> +0x040 InternalImageInformation : <a href="./_MI_EXTRA_IMAGE_INFORMATION.html">_MI_EXT...
$packageName = 'syncany' $fileType = 'exe' $silentArgs = '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' $validExitCodes = @(0) try { Get-ItemProperty -Path @( 'HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*', 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninst...
package com.thoughtworks.go.util.command; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.PrintStream; import java.io.Reader; import java.io.Write...
define(["dojo/_base/lang", "dojo/_base/declare", "dojo/_base/xhr", "dojo/data/util/simpleFetch", "dojo/_base/query", "dojo/_base/array", "dojo/_base/kernel", "dojo/data/util/filter", "dojox/xml/parser", "dojox/data/XmlItem"], function(lang, declare, xhr, simpleFetch, domQuery, array, kernel, filter, xmlParser, ...
<?xml version="1.0" encoding="utf-8"?> <resources> <string name="app_name">SunnySideUp</string> </resources>
require 'net/ssh' require 'net/scp' require 'io/console' module Pacific $psw=[] class Remote # attr_reader :se#, :osFamily, :sshPort,:iP, :identityFile attr_accessor :pwd, :setPwd def initialize(ip, sshUser, sshPort, identityFile, yamlfile,deploymentUser=@deploymentUser) @iP = ip @sshUser = sshUser @sshPort = ...
package org.apache.ignite.scalar.examples import javax.cache.processor.{EntryProcessor, MutableEntry} import org.apache.ignite.IgniteCache import org.apache.ignite.scalar.scalar import org.apache.ignite.scalar.scalar._ /** * This example demonstrates the simplest code that populates the distributed cache * and c...
var cli = require('../lib/cli'); cli.interpret();
<?php namespace Sonata\AdminBundle\Tests\DependencyInjection; use Sonata\AdminBundle\DependencyInjection\SonataAdminExtension; use Sonata\AdminBundle\DependencyInjection\Compiler\AddDependencyCallsCompilerPass; use Symfony\Component\DependencyInjection\ContainerBuilder; /** * @author Tiago Garcia */ class Ad...
from oslo.config import cfg # User may want to use LB service together with the L3 plugin, but using # different resources. The service will inherit the configuration from the # L3 heleos plugin if present and not overridden. heleos_opts = [ cfg.StrOpt('esm_mgmt', help=_('ESM management root address...
import {MessageBus} from "angular2/src/web-workers/shared/message_bus"; import {print, isPresent, DateWrapper, stringify} from "../../facade/lang"; import {Promise, PromiseCompleter, PromiseWrapper} from "angular2/src/facade/async"; import {ListWrapper, StringMapWrapper, MapWrapper} from "../../facade/collection"; impo...
// - 1.0.2 // https://github.com/subkit // Copyright 2012 - 2015 http://subkit.io // MIT License !function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.Subkit=e():"undefined"!=typeof global?global.Subkit=e():"undefined"!=typeof self&&...
package uk.co.jemos.podam.api; import uk.co.jemos.podam.common.AbstractConstructorComparator; import uk.co.jemos.podam.common.AbstractMethodComparator; import uk.co.jemos.podam.common.AttributeStrategy; import java.lang.annotation.Annotation; /** * Adds additional methods for a random data provider strategy. * * ...
angular.module('mgo-angular-wizard').factory('WizardHandler', function() { var service = {}; var wizards = {}; service.defaultName = "defaultWizard"; service.addWizard = function(name, wizard) { wizards[name] = wizard; }; service.removeWizard = function(name) { delete wiz...
var fs = require('fs') , trycatch = require('../lib/trycatch') , _ = require('underscore')._ trycatch.configure({ 'long-stack-traces': true , colors: { "node": "none" , "node_modules": false , "default": 'yellow' } }) trycatch(function() { fs.readFile(__filename, function () { _.map(['Error 1',...
package org.elasticsearch.cluster.routing; import org.elasticsearch.action.index.IndexRequestBuilder; import org.elasticsearch.cluster.ClusterState; import org.elasticsearch.cluster.metadata.IndexMetaData; import org.elasticsearch.common.settings.Settings; import org.elasticsearch.common.unit.TimeValue; import org.e...
/* jshint maxlen: false */ var ca = require('../client_action').factory; var proxy = require('../client_action').proxyFactory; var namespace = require('../client_action').namespaceFactory; var api = module.exports = {}; api._namespaces = ['cat', 'cluster', 'indices', 'nodes', 'snapshot']; /** * Perform a [bulk](htt...
/** * Module dependencies. */ var Node = require('./node'); /** * Initialize a new `UnaryOp` with `op`, and `expr`. * * @param {String} op * @param {Node} expr * @api public */ var UnaryOp = module.exports = function UnaryOp(op, expr){ Node.call(this); this.op = op; this.expr = expr; }; /** * Inhe...
package com.amazonaws.services.customerprofiles.model.transform; import java.math.*; import javax.annotation.Generated; import com.amazonaws.services.customerprofiles.model.*; import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; import com.amazonaws.transform.*; import com.fasterxml.jackson.core.JsonToken...
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ function CriticalDependenciesWarning(module, dependencies) { Error.call(this); Error.captureStackTrace(this, CriticalDependenciesWarning); this.name = "CriticalDependenciesWarning"; this.message = "Critical d...
<resources> <string name="app_name">Daily</string> <string name="title_activity_splash">SplashActivity</string> </resources>
package ch.unige.idsi.cultapp.model; import java.util.List; public class Cinema extends Place { public Cinema(int id, String name, String contact, String town, String address, String url, double latitude, double longitude) { super(id, name, contact, town, address, url, Infrastructure.CINEMA, latitude, longitude)...
export module require { export interface I { } export class C { } } export function foo(): require.I { return null; } export module exports { export interface I { } export class C { } } export function foo2(): exports.I { return null; } module m1 { module r...
.next-form-item .next-form-preview.next-input-textarea > p { font-size: 12px; font-size: var(--form-element-medium-preview-font-size, 12px); text-align: justify; min-height: 16.8px; min-height: calc(var(--form-element-medium-preview-font-size, 12px)*1.4); line-hei...
package org.drools.planner.core.domain.solution; import java.beans.BeanInfo; import java.beans.IntrospectionException; import java.beans.Introspector; import java.beans.PropertyDescriptor; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java....
;(function() { angular .module('ferryApp') .controller('NavController', NavController); NavController.$inject = ["$scope", "$mdSidenav", "$timeout", "$mdDialog", "$location", "$rootScope"]; function NavController($scope, $mdSidenav, $timeout, $mdDialog, $location, $rootScope) { console.log('Navigatio...
namespace base { class FilePath; } namespace picasa { void WriteAlbumTable(const base::FilePath& column_file_destination, const std::vector<uint32>& category_vector, const std::vector<double>& date_vector, const std::vector<std::string>& filename_vector, ...
package com.restfiddle.handler; import java.util.List; import java.util.Map; import net.minidev.json.JSONObject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Component; import com.jayway.jsonpath.Configuration; import com.jayway.jsonpath.JsonPath; impor...
using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.Reflection; using System.Threading; using System.Text; using System.Xml; using System.Security; using System.Linq; namespace System.Runtime.Serialization { #if uapaot public sealed class EnumDataCont...