text
stringlengths
3
1.05M
package com.amazonaws.services.schemas.model.transform; import javax.annotation.Generated; import com.amazonaws.SdkClientException; import com.amazonaws.services.schemas.model.*; import com.amazonaws.protocol.*; import com.amazonaws.annotation.SdkInternalApi; /** * UpdateRegistryRequestMarshaller */ @Generated("...
MainWindow* MainWindow::singleton = nullptr; int main(int argc, char** argv) { try { QApplication application(argc, argv); qRegisterMetaType<rl::math::Real>("rl::math::Real"); qRegisterMetaType<rl::math::Transform>("rl::math::Transform"); qRegisterMetaType<rl::math::Vector>("rl::math::Vector"); qRegiste...
exports.require = ["command.route"]; exports.plugin = function(commandRoute, cli) { cli.onCommand('backspace', function() { var pos = cli.cursor(); if(pos == cli.inputPrefix().length) return; cli.spliceLine(pos-1, 1, pos-1); }); cli.onCommand('delete', function() { var pos ...
/* * Voicebase V3 API * APIs for speech recognition and speech analytics, powering insights every business needs. * * OpenAPI spec version: 3.0.1 * Contact: support@voicebase.com * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git *...
Stitches map tiles together. ## Installation ```bash npm install mapstitch ``` ## Running ```bash npm start ``` Then visit `http://localhost:8080/mapimg?w=1500&h=1500&extent=37.955:-122.737:37.449:-122.011&p=toner` to see a stitched map. * The `w` and `h` parameters are the width and height of the desired image ...
<script src="{{BaseUrl}}res/core/js/page-power-curve-analysis/monthly-scatter.js?ANTI_CACHE={{.AntiCache}}&v=1.0.0"></script> <link rel="stylesheet" type="text/css" href="{{BaseUrl}}res/core/css/page-power-curve-analysis/monthly-scatter.css?ANTI_CACHE={{.AntiCache}}&v=1.0.0"> <div class="ms-wrapper"> <div class="ro...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "//www.w3.org/TR/html4/strict.dtd"> <HTML style="overflow:auto;"> <HEAD> <meta name="generator" content="JDiff v1.1.0"> <!-- Generated by the JDiff Javadoc doclet --> <!-- (http://www.jdiff.org) --> <meta name="description" content="JDiff is a Javadoc doclet which gener...
<?xml version="1.0" ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <!-- saved from url=(0017)http://localhost/ --> <script language="JavaScript" src="../../displayToc.js"></script> <script language="JavaScript" src="../../tocParas.js"></script> <script language="JavaScript" src="../../t...
package testutils import ( "testing" ) func AssertEqualsString(t *testing.T, expected, actual string) { if expected != actual { t.Errorf("Expected %s but got %s", expected, actual) } } func AssertEqualsInt(t *testing.T, expected, actual int) { if expected != actual { t.Errorf("Expected %d but got %d", expec...
include(function(){ return true; })
package com.build.core.json; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import net.sf.json.JsonConfig; import net.sf.json.processors.JsonValueProcessor; /** * TODO JsonDateValueProcessor * * @author suns suntion@yeah.net * @since 2017年11月9日下午2:45:20 */ ...
import json import csv import hashlib from collections import namedtuple from logbook import Logger from fuzzywuzzy import fuzz, process from vivint.db.core import connect, session_factory from vivint.db.models import School as SchoolModel logger = Logger(__name__) csv_header = [ 'Institution_ID', 'Institution_...
cat > test_memory.c <<EOF #include "query_types.h" int main(int argc, char **argv) { // test freeing on close queries q = parse_query("select count(*) from users.events group_by user_email,time(1h) where time>now()-1d;"); close_queries(&q); q = parse_query("explain select users.events group_by user_email,time...
const AWS = require('aws-sdk'); const moment = require('moment'); const __ = require('lodash'); const base64 = require('base-64'); const amiIds = require('./constants/amiIds')(); const BaseClient = require('./baseClient'); class AutoScalingClient extends BaseClient { get _awsAutoScalingClient() { if(!this._in...
import sys from setuptools import setup, find_packages classifiers = [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: P...
package httputil import ( "io/ioutil" "net/http" "net/http/httptest" "net/url" "testing" "time" ) func TestReverseProxy(t *testing.T) { const backendResponse = "I am the backend" const backendStatus = 404 backend := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { if len(r...
import * as tslib from 'tslib' import * as url from 'url' import { Location, createMemoryHistory, History } from 'history' import { Store } from 'redux' import { filter, uniqueId } from 'lodash' import { PluginConstructor, PluginConfig } from '../core/PluginConfig' import { ApplicationContext } from '../core/Applicatio...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("18...
author: Livid date: 2008-08-02 22:39:45+00:00 title: LTSP wordpress_id: 49 tags: Debian, LTSP ,Debian, Soft, Сеть ... Я сподобился-таки разобраться с этой системой. Как оказалось, она значительно удобнее любых костылей, приделываемых к XDMCP. Правда пришлось немного поколдовать. <!--more--> Во-первых немного обрису...
package com.miviclin.droidengine2d; import android.app.Activity; import com.miviclin.droidengine2d.gamestate.GameStateManager; import com.miviclin.droidengine2d.graphics.GLView; import com.miviclin.droidengine2d.graphics.Graphics; import com.miviclin.droidengine2d.graphics.cameras.Camera; import com.miviclin.droiden...
<?php use yii\db\Schema; use yii\db\Migration; class m150628_201503_update_sites_table_add_user_id extends Migration { public function up() { if ($this->db->schema->getTableSchema ( 'sites', true ) !== null) { $this->addColumn ( 'sites', 'user_id', Schema::TYPE_INTEGER . ' after id' ); } } public function dow...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
package com.dangdang.ddframe.job.cloud.scheduler.statistics; import java.util.Map; import java.util.Properties; import org.quartz.JobDetail; import org.quartz.Scheduler; import org.quartz.SchedulerException; import org.quartz.impl.StdSchedulerFactory; import org.quartz.plugins.management.ShutdownHookPlugin; import ...
<?xml version="1.0" encoding="utf-8"?> <resources> <string name="activity">Son Etkinlikler</string> <string name="hostedALiveStream">Canlı yayın yaptı</string> <plurals name="supportedNbMonths"> <item quantity="one">lichess.org\'u %1$s aylığına %2$s olarak destekledi</item> <item quantity="other">lichess....
namespace YLADRT.Core.Models { /// <summary> /// A container class for all the information needed to create the main item. /// </summary> public sealed class MainItemData { /// <summary> /// Gets or sets the title of the main item. /// </summary> public string Title { get; set; } /// <summary> /// Ge...
/** * Autogenerated by Thrift for thrift/compiler/test/fixtures/emptiable/src/simple_terse_writes.thrift * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @nocommit */ #pragma once #include <thrift/lib/cpp2/gen/module_types_h.h> namespace apache { namespace thrift { namespace i...
<!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_112) on Mon May 01 08:43:56 MST 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Class org.wildfly.s...
from flask import Blueprint api = Blueprint('api_v1', __name__) # Import any endpoints here to make them available #from . import dis_endpoint, dat_endpoint from . import helloworld
 #include <aws/ec2/model/MonitorInstancesResponse.h> #include <aws/core/utils/xml/XmlSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #include <aws/core/utils/logging/LogMacros.h> #include <utility> using namespace Aws::EC2::Model; using namespace Aws::Utils::Xml; u...
/*global QUnit, sinon */ sap.ui.define([ "sap/ui/qunit/QUnitUtils", "sap/ui/qunit/utils/createAndAppendDiv", "sap/ui/model/json/JSONModel", 'sap/ui/unified/calendar/CalendarUtils', "sap/ui/unified/DateTypeRange", "sap/ui/unified/CalendarLegend", "sap/ui/unified/CalendarAppointment", "sap/ui/unified/CalendarLege...
@implementation SMImageCropperView - (void)setCropRegionRect:(CGRect)cropRect { _cropRect = cropRect; _translatedCropRect =CGRectMake(cropRect.origin.x/_scalingFactor, cropRect.origin.y/_scalingFactor, cropRect.size.width/_scalingFactor, cropRect.size.height/_scalingFactor); [_cropView setCropRegionRect:_t...
require 'pmap' require_relative 'profile' require_relative '../rest/rest' require_relative '../mixins/rest_resource' module GoodData class ProjectRole < Rest::Resource include Mixin::Author include Mixin::Contributor include Mixin::Timestamps EMPTY_OBJECT = { 'projectRole' => { 'per...
namespace ash { // An extensions::ExternalLoader that loads apps and extensions for a kiosk // session. It is used to either load primary kiosk app, or secondary kiosk // apps (or extensions). Single instance cannot load both primary and secondary // apps. // It registers a callback with KioskAppManager that is called...
"""Tests for slim.data.parallel_reader.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import tensorflow as tf import tensorflow.contrib.slim as slim from tensorflow.contrib.slim.python.slim.data import test_utils class ParallelReaderTest(tf.test.Tes...
import numpy as np from collections import deque import gym from gym import spaces import cv2 class NoopResetEnv(gym.Wrapper): def __init__(self, env, noop_max=30): """Sample initial states by taking random number of no-ops on reset. No-op is assumed to be action 0. """ gym.Wrapper...
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. #include "vm/dart_api_impl.h" #include "bin/builtin.h" #include "bin/dartutils.h" #include "include/dar...
'use strict'; function Queue( concurrency // number, asynchronous concurrency ) { this.paused = false; this.concurrency = concurrency; this.waitTimeout = 0; this.processTimeout = 0; this.throttleCount = 0; this.throttleInterval = 1000; this.count = 0; this.tasks = []; this.waiting = []; this.fact...
from osf.models.metaschema import MetaSchema # noqa from osf.models.base import Guid, BlackListGuid # noqa from osf.models.user import OSFUser, Email # noqa from osf.models.contributor import Contributor, RecentlyAddedContributor # noqa from osf.models.session import Session # noqa from osf.models.institution impo...
layout: post title: Doing What Matters Without Managing Your Time author: Manal Ghosain created: 2009/12/01 20:29:50 categories: tags: --- ![time](/images/time.jpg) Time management is touted as one of the most important skills to lead a productive life.  My own experience with time management was not a positive one i...
cd ~/angular/Apps1 grunt mask:frogs grunt prod rsync -av ~/angular/Frogs/dist/ gmp26@maths.org:/www/nrich/html/content/00/12/game1/frogs
describe("Env", function() { var env; beforeEach(function() { env = new jasmineUnderTest.Env(); }); describe("#pending", function() { it("throws the Pending Spec exception", function() { expect(function() { env.pending(); }).toThrow(jasmineUnderTest.Spec.pendingSpecExceptionMessage)...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>plugin-utils: 26 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel...
#define LOG_TAG "PcmAudioPlayer" #include "audio/android/cutils/log.h" #include "audio/android/PcmAudioPlayer.h" #include "audio/android/AudioMixerController.h" #include "audio/android/ICallerThreadUtils.h" namespace cocos2d { namespace experimental { PcmAudioPlayer::PcmAudioPlayer(AudioMixerController * controlle...
require 'puppet/indirector/code' require 'hiera/scope' class Puppet::DataBinding::Hiera < Puppet::Indirector::Code desc "Retrieve data using Hiera." def initialize(*args) if ! Puppet.features.hiera? raise "Hiera terminus not supported without hiera library" end super end if defined?(::Psych...
set nocount on; select cast(@@SERVERNAME as varchar(30)) as server_name , cast(SERVERPROPERTY('ServerName') as varchar(30)) as instance_name , cast(DB_NAME() as varchar(30)) as database_name , cast(ds.name as varchar(30)) as file_group , cast(s.name as varchar(30)) as schema_name , cast(o.name as varchar(255)) as objec...
package mil.navy.spawar.swif.testutils; import java.util.HashMap; import java.util.Map; import org.bson.types.Code; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.mongodb.BasicDBObject; import com.mongodb.DB; import com.mongodb.DBCollection; import com.mongodb.DBObject; import com.mongodb.MongoCl...
<?xml version="1.0" encoding="UTF-8"?> <prefs> <!-- Preferenzes "normal" --> <!-- ######################################################################################################################### --> <!-- #################################################### GUI allgemein --> <pref key="INITIAL_REF"...
<?xml version="1.0" encoding="utf-8"?> <!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" xml:lang="en" lang="en"> <head> <title>File: ads_controller.rb</title> <meta http-equiv="Content-Typ...
DBC_DEF_BEGIN(DBC_TransportAnimation) __DBC_TVALUE(uint32, TransportID, 2); __DBC_TVALUE(uint32, TimeIndex, 3); __DBC_TVALUE(float, PositionX, 4); __DBC_TVALUE(float, PositionY, 5); __DBC_TVALUE(float, PositionZ, 6); __DBC_TVALUE(uint32, SequenceID, 7); DBC_DEF_END
<?php namespace App\Security; use App\Repository\User\UserRepository; use Symfony\Component\EventDispatcher\EventSubscriberInterface; use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\HttpFoundation\RedirectResponse; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFounda...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/dataplex/v1/metadata.proto namespace Google\Cloud\Dataplex\V1; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * List metadata entities request. * * G...
using ColossalFramework.Packaging; using ImprovedAssetsPanel.Redirection; namespace ImprovedAssetsPanel.Detours { [TargetType(typeof(PackageManager))] public class PackageManagerDetour { [RedirectMethod] /// <summary> /// Fix for the annoying bug in the default version: the search...
import {AmpStoryInteractiveBinaryPoll} from './amp-story-interactive-binary-poll'; import {AmpStoryInteractiveImgPoll} from './amp-story-interactive-img-poll'; import {AmpStoryInteractiveImgQuiz} from './amp-story-interactive-img-quiz'; import {AmpStoryInteractivePoll} from './amp-story-interactive-poll'; import {Amp...
<resources> <string name="app_name">relea</string> </resources>
package com.winterwell.maths.timeseries; import com.winterwell.maths.IGridInfo; /** * Makes buckets based on evenly slicing the *log* (base 2 or 10 depending on the constructor) of the range. TODO a common * base class with TimeSlicer * * @author daniel * @testedby LogGridInfoTest} */ public final class LogGr...
<!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"/> <title>ublas: boost::numeric::ublas::vector_scalar_unary_functor&lt; V &gt...
layout: post title: "Adding color to your design" excerpt: "Adding color to your design" tags: [visualstudio, dotnet, csharp, windows, design, ux] link: https://blogs.windows.com/buildingapps/2016/07/28/adding-color-to-your-design/ share: true --- ### Intro What is your favorite color? Most of us have been asked this...
<?xml version="1.0" encoding="UTF-8"?> <ldswebml type="image" uri="/media-library/images/parenthood#aa-couple-baby-girl-300016" xml:lang="eng" locale="eng" status="publish"> <search-meta> <uri-title its:translate="no" xmlns:its="http://www.w3.org/2005/11/its">aa-couple-baby-girl-300016</uri-title> <source...
import ReactDOM from 'react-dom'; import React from 'react'; import { Provider } from 'react-redux'; import thunk from 'redux-thunk'; import { Router, Route, IndexRoute, browserHistory } from 'react-router'; import { syncHistory, routeReducer } from 'react-router-redux'; import { createStore, combineReducers, applyMidd...
#import <iCalendar/ICSTransparencyValue.h> @interface ICSTransparencyValue (ICSWriter) - (void)_ICSStringWithOptions:(unsigned long long)arg1 appendingToString:(id)arg2; @end
/* $Log: schedule.h,v $ * Revision 1.4 1993/05/04 12:23:44 foster * Debug stuff removed * * Revision 1.3 1993/05/03 20:26:51 foster * Full functionality * * Revision 1.2 1993/05/03 17:14:24 foster * Restructure functions * * Revision 1.1 1993/05/01 11:35:36 foster * Initial revision * */ #defi...
package com.haulmont.cuba.web.widgets.client.addons.aceeditor; import java.util.Map; import java.util.Map.Entry; import com.haulmont.cuba.web.widgets.addons.aceeditor.AceEditor; import com.haulmont.cuba.web.widgets.client.addons.aceeditor.AceEditorWidget.FocusChangeListener; import com.haulmont.cuba.web.widgets.clie...
import {connect} from 'react-redux'; import RouterRoot from '../components/routerRoot'; import {books} from '../actions/homeActions' import {userBooks} from '../actions/rememberActions'; import {getPostsInit} from '../actions/noteDetailsListActions'; export default connect( undefined, {userBooks: userBooks, getBo...
package org.jsefa.flr.lowlevel; import org.jsefa.common.lowlevel.LowLevelSerializationException; import org.jsefa.rbf.lowlevel.RbfLowLevelSerializer; /** * Low level FLR Serializer. * * @author Norman Lahme-Huetig * */ public interface FlrLowLevelSerializer extends RbfLowLevelSerializer { /** * Writ...
<?php namespace App\Http; use Illuminate\Foundation\Http\Kernel as HttpKernel; class Kernel extends HttpKernel { /** * The application's global HTTP middleware stack. * * @var array */ protected $middleware = [ 'Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode', 'Illuminate\Cookie\Middlewa...
import {NodeModel} from './node-model'; import {TemplateInfo} from './template-info'; export interface TreeViewSettings { compareEquality: ((args: { a: NodeModel, b: NodeModel }) => boolean); expandOnFocus: boolean; multiSelect: boolean; processChildrenKey: string; processChildrenRecursiveK...
package bootstrappolicy import ( "k8s.io/kubernetes/pkg/controller/serviceaccount" "reflect" "testing" ) func TestBootstrappedConstraints(t *testing.T) { expectedConstraints := []string{ SecurityContextConstraintPrivileged, SecurityContextConstraintRestricted, SecurityContextConstraintNonRoot, SecurityCon...
<?xml version="1.0" encoding="UTF-8"?> <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" 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> ...
/* Style HTML --------------- Written by Nochum Sossonko, (nsossonko@hotmail.com) Based on code initially developed by: Einar Lielmanis, <elfz@laacz.lv> http://jsbeautifier.org/ You are free to use this in any way you want, in case you find this useful or working for you. Usage: style_html(html_s...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>pi-agm: 2 m 19 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="...
package org.unittested.cassandra.test.rollback.basic; import java.util.Collections; import java.util.HashSet; import java.util.Set; import org.apache.commons.lang3.ArrayUtils; import org.unittested.cassandra.test.TestRuntime; import org.unittested.cassandra.test.exception.CassandraTestException; import org.unittest...
<?php namespace Bmusialek\NewsBundle\Controller; /** * This code has been auto-generated by the JMSDiExtraBundle. * * Manual changes to it will be lost. */ class DefaultController__JMSInjector { public static function inject($container) { $instance = new \Bmusialek\NewsBundle\Controller\DefaultControl...
""" WRITEME """ import inspect import os import StringIO import theano from theano.sandbox.cuda import CudaNdarrayType from theano.gof import local_optimizer from theano.sandbox.cuda.opt import register_opt from theano.sandbox.cuda import gpu_from_host, host_from_gpu from .unshared_conv import FilterActs from .unshar...
// Copyright (c) 2015 The Gtacoin Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "chain.h" #include "chainparams.h" #include "pow.h" #include "random.h" #include "util.h" #include "test/test_gtacoin...
import * as fs from 'fs'; import * as os from 'os'; import * as path from 'path'; import * as ts from 'typescript'; import * as ng from '../index'; const tmpdir = process.env.TEST_TMPDIR || os.tmpdir(); function getNgRootDir() { const moduleFilename = module.filename.replace(/\\/g, '/'); const distIndex = modul...
Switch::Switch(int _lightNo, int _relayPin, int _switchPin, int _switchInterval, int _turnOnValue) { switchPin = _switchPin; switchInterval = _switchInterval; relayPin = _relayPin; lightNo = _lightNo; state = false; cause = PowerOn; turnOnValue = _turnOnValue; if(turnOnValue == 1) turnOf...
import { ITravelsService } from './travels.service.interface'; import { IAuthenticationService } from './authentication.service.interface'; import { Travel } from '../domain/Travel'; export class TravelsService implements ITravelsService { $http : ng.IHttpService; authentication : IAuthenticationService; constru...
<!doctype html> <!--[if IE 7 ]> <html lang="en-gb" class="isie ie7 oldie no-js"> <![endif]--> <!--[if IE 8 ]> <html lang="en-gb" class="isie ie8 oldie no-js"> <![endif]--> <!--[if IE 9 ]> <html lang="en-gb" class="isie ie9 no-js"> <![endif]--> <!--[if (gt IE 9)|!(IE)]><!--> <html lang="en-gb" class="no-js...
<?php namespace ONGR\ElasticsearchDSL\Query\Compound; use ONGR\ElasticsearchDSL\BuilderInterface; /** * Represents Elasticsearch "boosting" query. * * @link https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-boosting-query.html */ class BoostingQuery implements BuilderInterface { /**...
namespace So.Wpf.Misc { using System; using System.Windows.Input; public class RelayCommand : RelayCommandBase { public RelayCommand(Action<object> action, Predicate<object> condition) : base(action, condition) { } public RelayCommand(Action<object> action) : base(action...
<?php namespace Container; use Swift_Mailer; use Swift_SmtpTransport; class SwiftMailerContainer { /** * Templating constructor. * * @param \Kernel $kernel */ public function __construct(\Kernel $kernel) { $config = $kernel->get('config')['parameters']; $transport = (...
/** * @file testGaussianJunctionTreeB.cpp * @date Jul 8, 2010 * @author nikai */ #include <CppUnitLite/TestHarness.h> #if 0 #include <tests/smallExample.h> #include <gtsam/slam/PriorFactor.h> #include <gtsam/slam/BetweenFactor.h> #include <gtsam/slam/BearingRangeFactor.h> #include <gtsam/nonlinear/NonlinearFac...
category: Components type: Data Display title: Card cols: 1 --- Simple rectangular container. ## When To Use A card can be used to display content related to a single subject. The content can consist of multiple elements of varying types and sizes. ## API ```html <Card title="Card title">Card content</Card> ``` #...
function varargout = filetype_check_uri(filename, ftyp) % FILETYPE_CHECK_URI % % Supported URIs are % buffer://<host>:<port> % fifo://<filename> % global://<varname> % mysql://<user>:<password>@<host>:<port> % rfb://<password>@<host>:<port> % serial:<port>?key1=value1&key2=value2&... % shm://<filename> %...
module MediTAF module Services module Clients class BadName end end end end
package com.romix.scala; /** * Mimic Some in Scala * * @param <V> * @author Roman Levenstein <romixlev@gmail.com> */ public class Some<V> extends Option<V> { final V value; public Some(V v) { value = v; } public V get() { return value; } public boolean nonEmpty() { ...
using namespace std; using namespace MPI; namespace TraceviewerServer { void Communication::sendParseInfo(Time minBegTime, Time maxEndTime, int headerSize) { MPICommunication::CommandMessage Info; Info.command = INFO; Info.minfo.minBegTime = minBegTime; Info.minfo.maxEndTime = maxEndTime; Info.minfo.head...
layout: post title: "Component Kits for React Native" date: 2017-03-07 17:00 excerpt_separator: <!--more--> author: Stephen Grider published: true categories: react, react native --- You won’t find as many styling solutions for React Native as you will for React JS. This stems from two simple realities: 1. React N...
from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('question', '0002_auto_20171115_1559'), ] operations = [ migrations.AddField( model_name='scaleset', name='title', ...
/* globals fileUpload device modal */ import mime from 'mime-type/with-db'; import { VRecDialog } from 'meteor/rocketchat:ui-vrecord'; RocketChat.messageBox.actions.add('Create_new', 'Video_message', { id: 'video-message', icon: 'video', condition: () => (navigator.getUserMedia || navigator.webkitGetUserMedia) && ...
typedef void (^MOGOpenBookSegueCompletionBlock)(BOOL transitionCompleted); @protocol MOGOpenBookSegueAnimatorDelegate <NSObject> - (void)closeCompletion; @end @interface MOGOpenBookAnimator : NSObject <UIViewControllerAnimatedTransitioning> @property (weak, nonatomic) id <MOGOpenBookSegueAnimatorDelegate> delegate; @pr...
<!DOCTYPE html> <html lang="en" > <head> <meta charset="utf-8"/> <title>CSS3 Text, linebreaks: FF5D FULLWIDTH RIGHT CURLY BRACKET</title> <link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'> <meta name='flags' content=''> <style type='text/css'> @font-face { font-family: 'mplus-1p-regular'; src: ur...
import { Component, Input,OnInit } from '@angular/core'; import { ActivatedRoute, Params } from '@angular/router'; import { Hero } from './hero'; import { HeroService } from './hero.service'; @Component({ selector: 'my-hero-detail', templateUrl: 'app/hero-detail.html', styleUrls :['app/hero-detail.css'] }) expo...
package org.springframework.boot.autoconfigure.jdbc; import java.beans.PropertyDescriptor; import java.io.IOException; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.List; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.databind.BeanDescription; import co...
require "changelog_merger/version" require_relative "changelog_merger/parser" module ChangelogMerger # Your code goes here... class Merger def initialize @options = Parser.parse_options end def run_generator begin if @options[:run_wo_pr] generate_change_log exe...
div.blog_item { border: 1px solid #cccccc; -moz-border-radius-topleft: 10px; -moz-border-radius-bottomright: 10px; } div.blog_item div.information_box { float: left; width: 150px; text-align: center; padding: 10px; } div.information_box img.user_image { max-width: 100px; ...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name Amanita farinosa Schwein., 1822 ### Remarks null
import { ConsoleLoggerFactory } from '../utils/Logger'; import { BittrexFeed } from '../exchanges/bittrex/BittrexFeed'; import { ExchangeFeedConfig } from '../exchanges/ExchangeFeed'; import { LiveOrderbook, SkippedMessageEvent } from '../core/LiveOrderbook'; import { Ticker } from '../exchanges/PublicExchangeAPI'; i...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
package com.projects.elad.hacklist.presentation.base; /** * Created by EladKeyshawn on 24/02/2017. */ /** * Base class that implements the Presenter interface and provides a base implementation for * attachView() and detachView(). It also handles keeping a reference to the mvpView that * can be accessed from the...