text stringlengths 3 1.05M |
|---|
class Solution {
public:
// Parameters:
// numbers: an array of integers
// length: the length of array numbers
// duplication: (Output) the duplicated number in the array number
// Return value: true if the input is valid, and there are some duplications in the a... |
#include "FAST/Streamers/ImageFileStreamer.hpp"
#include "FAST/Visualization/TriangleRenderer/TriangleRenderer.hpp"
#include "FAST/Testing.hpp"
#include "FAST/Importers/MetaImageImporter.hpp"
#include "FAST/Algorithms/GaussianSmoothing/GaussianSmoothing.hpp"
#include "FAST/Visualization/SliceRenderer/SliceRenderer.hpp"... |
/**
* myApp directives
*/
/**
* Directive for injecting the DOM with materialize toasts
*/
angular.module('myApp').directive('tdToasts', function() {
return {
// restice this directive to an attribute
restrict: 'A',
link: function(scope, element, attrs) {
/... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Dexel.Model.DataTypes;
using Dexel.Model.Manager;
using Roslyn.Analyser;
namespace Roslyn.Generators
{
public static class Names
{
public static string NewAction(DataStreamDefiniti... |
function abort () {
echo $@
echo "Aborting."
exit 1
}
echo "Gathering all translation strings. Note that this will probably take a while"
./manage.py makemessages --all --ignore 'corehq/apps/app_manager/tests/data/v2_diffs*' --ignore 'node_modules' --ignore 'docs/_build' --ignore 'coverage-report' --ignor... |
<!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_20) on Sun Dec 12 16:57:27 GMT 2010 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class com.hp.hpl.jena.gra... |
<!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_74) on Sat Jul 16 01:21:01 CEST 2016 -->
<title>graphics.nim.volterra.font</title>
<meta name="date" content="2016-07-16">
<link rel="styleshee... |
package example.springdata.mongodb.querybyexample;
import static org.assertj.core.api.Assertions.*;
import static org.springframework.data.domain.ExampleMatcher.*;
import static org.springframework.data.domain.ExampleMatcher.GenericPropertyMatchers.*;
import example.springdata.mongodb.util.MongoContainers;
import j... |
package org.teavm.incremental;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
import java.io.ByteArrayOutputStream;
import java.io.OutputStream;
import java.nio.charset.StandardCharsets;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Li... |
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
namespace EZOper.NetSiteUtilities.AopApi
{
/// <summary>
/// AlipayInsMarketingCampaignPrizeSendModel Data Structure.
/// </summary>
[Serializable]
public class AlipayInsMarketingCampaignPrizeSendModel : AopObject
{... |
var ws = new WebSocket("ws://" + location.host + "/ws")
ws.onmessage = function (event) {
console.log(event.data);
$("#events").append("<p>" + event.data + "</p>");
$("#events").scrollTop($("#events")[0].scrollHeight);
}
|
<?php
/*
Unsafe sample
input : backticks interpretation, reading the file /tmp/tainted.txt
sanitize : use of the function htmlspecialchars. Sanitizes the query but has a high chance to produce unexpected results
construction : use of sprintf via a %s with simple quote
*/
/*Copyright 2015 Bertrand STIVALET
Permiss... |
class PixelError(Exception):
pass
|
<?php
require "../../vendor/autoload.php";
// namespace Ibonly\Blog;
use Ibonly\PotatoORM\Schema;
$table = new Schema;
$table->field('increments', 'id');
$table->field('strings', 'username', 50);
$table->field('strings', 'password', 500);
$table->field('dateTime', 'date_created');
$table->field('primaryKey', 'id');
... |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Unsplash</title>
<meta name="description" content="The open source component library for RiotJS">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--<link rel="stylesheet" type="text/css" href="/css/normalize.css">-->
<link rel="st... |
name = "compactLumiumPlate";
addToCreative[0] = true;
creativeTab = "materials";
maxStack = 64;
textureFile[0] = "compactLumiumPlate.png"; |
<div class="ink-shade fade">
<div id="network-modal" class="ink-modal fade" data-trigger="#network-modal-trigger" data-width="80%" data-height="80%" role="dialog" aria-hidden="true" aria-labelled-by="modal-title">
<div class="modal-header">
<button class="modal-close ink-dismiss"></button>
<h2 id="mod... |
<!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_45) on Fri Jan 10 21:37:07 UTC 2014 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Interface org.apache.hado... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using ArmA.Studio.Data.UI;
using Xceed.Wpf.AvalonDock;
using Xceed.Wpf.AvalonDock.Layout;
namespace ArmA.Studio
{
class LayoutUpdateStrategy : ILayoutUpdateStrategy
{
... |
#include "config.h"
#include "compat.h"
#define P11_DEBUG_FLAG P11_DEBUG_PROXY
#define CRYPTOKI_EXPORTS
#include "debug.h"
#include "dict.h"
#include "library.h"
#include "message.h"
#include "modules.h"
#include "pkcs11.h"
#include "pkcs11x.h"
#include "p11-kit.h"
#include "private.h"
#include "proxy.h"
#include "... |
# Copyright (c) 2011 OpenStack Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to ... |
Wikidata Toolkit Release Notes
==============================
Version 0.5.0
-------------
New features:
* Support for getting live entity data from wikidata.org (or any other Wikibase site)
* New example WorldMapProcessor that shows the generation of maps from geographic data
* Improved output file naming for example... |
using System;
using Xamarin.Forms;
namespace ViewGalleryInst
{
public partial class ButtonPage : ContentPage
{
public ButtonPage()
{
InitializeComponent();
}
async void OnButtonClicked(object sender, EventArgs args)
{
Button button = (Button)sen... |
//
// FIFTagHandlerPlugin
// Fifty-five
//
// Created by Med on 09/12/14.
// Copyright (c) 2014 Med. All rights reserved.
package com.fiftyfive.fiftaghandler;
import android.content.Context;
import java.util.concurrent.TimeUnit;
import java.util.HashMap;
import java.util.Map;
import com.google.android.gms.com... |
<html>
<head>
<title>OGRE: OgreAlignedAllocator.h File Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link type="text/css" rel="stylesheet" href="doxygen.css">
<link type="text/css" rel="stylesheet" href="tabs.css">
</head>
<body>
<!-- Generated by Dox... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
package eu.knux.passmanager;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import javax.swing.JFrame;
import javax.swing.SwingUtilities;
import javax.swing.UIManager;
import org.pushingpixels.substance.api.skin.SubstanceGraphiteGlassLookAndFeel;
import eu.knux.passmanager.Objects.Category;
import eu.k... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
import Ember from 'ember';
export default Ember.Controller.extend({
alertBoxData: {
message: 'Default message',
status: 'Default status',
isAlertOn: false,
messageDisplayTime: 5500
},
actions: {
showMessageOnControl(message, status) {
let alertBoxData = this.get('alertBoxData');
E... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" />
<link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media... |
package eu.bcvsolutions.idm.rpt.service;
import org.springframework.context.annotation.Description;
import org.springframework.stereotype.Component;
import eu.bcvsolutions.idm.rpt.api.renderer.AbstractJsonRenderer;
import eu.bcvsolutions.idm.rpt.api.renderer.RendererRegistrar;
/**
* Renders test report into json
*... |
CREATE USER 'labtrove'@'localhost' IDENTIFIED BY 'labtrove';
CREATE DATABASE `labtrove` ;
GRANT SELECT , INSERT , UPDATE , DELETE ON `labtrove` . * TO 'labtrove'@'localhost';
FLUSH PRIVILEGES;
|
<?xml version="1.0" encoding="utf-8"?>
<paths>
<files-path name="exports" path="exports/"/>
</paths> |
package scalaz.stream
import scalaz.stream.actor.{WyeActor, message, actors}
import scala.collection.immutable.{IndexedSeq,SortedMap,Queue,Vector}
import scala.concurrent.duration._
import scalaz.{Catchable,Functor,Monad,Cobind,MonadPlus,Monoid,Nondeterminism,Semigroup}
import scalaz.concurrent.{Strategy, Task}
impor... |
package com.github.setial.intellijjavadocs.ui.settings;
import com.github.setial.intellijjavadocs.model.settings.JavaDocSettings;
import com.github.setial.intellijjavadocs.model.settings.Level;
import com.github.setial.intellijjavadocs.model.settings.Mode;
import com.github.setial.intellijjavadocs.model.settings.Visib... |
import { Writer, Reader } from 'protobufjs/minimal';
export declare const protobufPackage = "zigbeealliance.distributedcomplianceledger.vendorinfo";
export interface VendorInfo {
vendorID: number;
vendorName: string;
companyLegalName: string;
companyPreferredName: string;
vendorLandingPageURL: strin... |
'use strict';
const expect = require('chai').expect;
const Adapter = require('../lib/Adapter');
const Application = require('../lib/Application');
describe('class Adapter', function() {
let adapter, app;
let noop = function(){};
beforeEach(function() {
app = new Application('test');
adapter = new Adapt... |
package io.groundhog.replay;
import com.google.common.base.Optional;
import io.netty.buffer.ByteBuf;
import io.netty.handler.codec.DecoderResult;
import io.netty.handler.codec.http.HttpContent;
import io.netty.handler.codec.http.HttpHeaders;
import io.netty.handler.codec.http.LastHttpContent;
import org.jsoup.nodes.... |
const char *msgu_msgtype_str(const enum msgu_msgtype type) {
switch (type) {
case msgtype_init_local:
return "init_local";
case msgtype_init_remote:
return "init_remote";
case msgtype_init_remote_reply:
return "init_remote_reply";
case msgtype_peer_connect:
return "pe... |
from __future__ import unicode_literals
from sqlalchemy.dialects.postgresql import JSONB
from sqlalchemy.ext.declarative import declared_attr
from sqlalchemy.ext.hybrid import hybrid_property
from indico.core.db import db
from indico.util.string import format_repr, return_ascii
def _get_next_position(cls):
def ... |
package com.zhenzong.coolweather.util;
import android.text.TextUtils;
import android.util.Log;
import com.google.gson.Gson;
import com.zhenzong.coolweather.bean.City;
import com.zhenzong.coolweather.bean.County;
import com.zhenzong.coolweather.bean.Province;
import com.zhenzong.coolweather.bean.Weather;
import org.j... |
<component name="libraryTable">
<library name="POS1 node_modules" type="javaScript">
<properties>
<option name="frameworkName" value="node_modules" />
<sourceFilesUrls>
<item url="file://$PROJECT_DIR$/node_modules" />
</sourceFilesUrls>
</properties>
<CLASSES>
<root url="fi... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Code Coverage for C:\xampp\htdocs\kppl\application/models/Fungsi_model.php</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/bootstrap-respon... |
#pragma once
#include "genericFpgaSubtarget.h"
#include <llvm/Analysis/TargetTransformInfo.h>
#include <llvm/IR/DataLayout.h>
#include <llvm/Target/TargetMachine.h>
namespace llvm {
class StringRef;
/**
* An LLVM representation of the target for an GenericFpga
* */
class GenericFpgaTargetMachine final : public LLV... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_BITCOINCONSENSUS_H
#define BITCOIN_BITCOINCONSENSUS_H
#if defined(BUI... |
layout: default
---
Version Specific Upgrade Information
====================================
- Upgrading to 3.x:
[3.4](upgrading-version-specific-upgrading34.html),
[3.3](upgrading-version-specific-upgrading33.html),
[3.2](upgrading-version-specific-upgrading32.html),
[3.1](upgrading-version-specific-upgradin... |
package org.xdi.oxauth.service.uma.authorization;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.AutoCreate;
import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Logger;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
import org.jboss.seam.log.L... |
FROM balenalib/raspberrypi-alpine:3.10-run
ENV NODE_VERSION 15.10.0
ENV YARN_VERSION 1.22.4
# Install dependencies
RUN apk add --no-cache libgcc libstdc++ libuv \
&& apk add --no-cache libssl1.0 || apk add --no-cache libssl1.1
RUN buildDeps='curl' \
&& set -x \
&& for key in \
6A010C5166006599AA17F08146C2130DFD2... |
<?xml version="1.0" encoding="UTF-8"?>
<recipeml version="0.5">
<recipe>
<head>
<title>B-B-Q Seitan</title>
<categories>
<cat>Main dish</cat>
<cat>Vegan</cat></categories>
<yield>4</yield></head>
<ingredients>
<ing>
<amt>
<qty>1 1/4</qty>... |
package org.exist.util;
public class ReadOnlyException extends Exception {
/**
* Constructor for ReadOnlyException.
*/
public ReadOnlyException() {
super();
}
/**
* Constructor for ReadOnlyException.
* @param message
*/
public ReadOnlyException(String message) {
super(message... |
<code>MAXLOC</code> — Location of the maximum value within an array
<h3>Description</h3>
Determines the location of the element in the array with the maximum
value, or, if the <var>DIM</var> argument is supplied, determines the
locations of the maximum element along each row of the array in the
<var>DIM</var> directio... |
package javax.portlet.tck.filters;
import java.io.IOException;
import javax.portlet.EventRequest;
import javax.portlet.EventResponse;
import javax.portlet.PortletException;
import javax.portlet.filter.EventFilter;
import javax.portlet.filter.FilterChain;
import javax.portlet.filter.FilterConfig;
/**
* Filter for... |
smartcomments.github.io
=======================
SmartComments Oficial Page
|
<link rel="import" href="../bower_components/iron-ajax/iron-ajax.html">
<link rel="import" href="../bower_components/iron-flex-layout/iron-flex-layout-classes.html">
<link rel="import" href="../bower_components/paper-card/paper-card.html">
<link rel="import" href="shared-styles.html">
<script type="text/javascript" src... |
This tutorial provides detailed instructions to perform the following tasks :
- Run a mongodb statefulset on OpenEBS storage in a Kubernetes cluster
- Generate standard OLTP load on mongodb using a custom sysbench tool
- Test the data replication across the mongodb instances.
## Prerequisites
Prerequisites includ... |
package com.jflyfox.modules.admin.video.service;
import java.util.List;
import com.jflyfox.modules.admin.video.model.TbVideoAlbum;
public class VideoAlbumService {
/**
* 查询专辑
*
* 2016年2月10日 上午1:13:09
* flyfox 369191470@qq.com
* @param albumId
* @return
*/
public TbVideoAlbum getAlbu... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
C. F. P. von Martius, Fl. bras. 14(1):461. 1857
#### Original name
null
### Remarks
null |
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2006 Ferdinando Ametrano
Copyright (C) 2006 Cristina Duminuco
Copyright (C) 2005, 2006 Klaus Spanderen
Copyright (C) 2007 Giorgio Facchinetti
This file is part of QuantLib, a free-software/open-source library
for fi... |
namespace Google.Cloud.Dialogflow.V2Beta1.Snippets
{
// [START dialogflow_v2beta1_generated_SessionEntityTypes_ListSessionEntityTypes_async_flattened]
using Google.Api.Gax;
using Google.Cloud.Dialogflow.V2Beta1;
using System;
using System.Linq;
using System.Threading.Tasks;
public sealed pa... |
var React = require('react');
var Link = require('react-router').Link;
var Menu = require('grommet/components/Menu');
var Header = require('grommet/components/Header');
var DocsMenu = React.createClass({
propTypes: {
contents: React.PropTypes.arrayOf(React.PropTypes.object),
direction: React.PropTypes.oneOf... |
/* @noflow */
/* eslint-disable flowtype/require-return-type */
const report = require('../dist');
function sitOnIt(ms) {
return new Promise((resolve) => setTimeout(resolve, ms));
}
async function waitForIt(steps) {
let count = 0;
const tick = report.progress(steps);
report.info('🥚 Wait for it...');
whil... |
<ns0:eml xmlns:ns0="eml://ecoinformatics.org/eml-2.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" packageId="ecotrends.706.2" scope="system" system="https://pasta.lternet.edu" xsi:schemaLocation="eml://ecoinformatics.org/eml-2.1.0 http://nis.lternet.edu/schemas/eml/eml-2.1.0/eml.xsd">
<access authSystem="... |
package com.zhigu.model;
import java.util.Date;
public class ClickOn {
private Integer id;
private Integer userid;
private Date clickdate;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getUserid() {
return userid;
}
public void setUserid(Int... |
package longestcommonprefix
import (
"testing"
"github.com/WindomZ/testify/assert"
)
func Test_longestCommonPrefix(t *testing.T) {
assert.Equal(t, "", longestCommonPrefix([]string{}))
assert.Equal(t, "", longestCommonPrefix([]string{"ca", "a"}))
assert.Equal(t, "a", longestCommonPrefix([]string{"aa", "a"}))
as... |
angular
.module('openeApp.files')
.controller('AddFileDialogController', AddFileDialogController);
function AddFileDialogController($mdDialog, notificationUtilsService, $translate, filesAddDialogService) {
var addFileVm = this;
addFileVm.params = filesAddDialogService;
addFileVm.model = {
... |
/**********************************
* SCAENA FRAMEWORK
* Author: Marco Andrés Lotto
* License: MIT - 2016
**********************************/
#include <glm/glm.hpp>
#include "GLSLProgram.h"
#include "LightingManager.h"
#include <string>
using namespace std;
#include "PhongLightingWithSSAOShader.h"
#include "MeshFact... |
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* @fileoverview 'settings-omnibox-extension-entry' is a component for showing
* an omnibox extension with its name and keyword.
*/
import 'chrome:/... |
package com.smartstudio.deviceinfo.controllers.dashboard.screeninfo;
import android.view.View;
import com.smartstudio.deviceinfo.BuildConfig;
import com.smartstudio.deviceinfo.analytics.dashboard.screeninfo.ScreenInfoAnalytics;
import com.smartstudio.deviceinfo.injection.qualifiers.ForFabric;
import com.smartstudio... |
import json
from django import forms
from django.utils.safestring import mark_safe
class CodeMirrorTextarea(forms.Textarea):
"""A textarea that is edited via the CodeMirror editor.
:type mode: str or dict
:param mode:
The language mode to use. Either a string, e.g. `'python'` or
`'javasc... |
package com.dickthedeployer.dick.worker.service;
import com.dickthedeployer.dick.worker.util.ArgumentTokenizer;
import org.junit.Test;
import rx.Observable;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import static com.dickthedeployer.dick.worker.ContextTestBase.isW... |
README
======
[](https://travis-ci.org/Nachtfeuer/concept-py)
[](https://coveralls.io/r/Nachtfeuer/concept-py?branch=master)
[
{
parent::__construct($env);
$this->parent = false;
$this->blocks... |
package kkok
import (
"time"
"github.com/cybozu-go/well"
)
const (
defaultInitialInterval = 30
defaultMaxInterval = 30
defaultAddr = ":19898"
)
// Config is a struct to load TOML configuration file for kkok.
type Config struct {
// InitialInterval specifies the initial interval seconds
// to p... |
package com.palantir.atlasdb.timelock;
import com.palantir.lock.LockService;
import com.palantir.timestamp.TimestampManagementService;
import com.palantir.timestamp.TimestampService;
import org.immutables.value.Value;
@Value.Immutable
public interface TimeLockServices {
static TimeLockServices create(
... |
package com.ThirtyNineEighty.Game.Worlds;
import com.ThirtyNineEighty.Base.Subprograms.ISubprogram;
import com.ThirtyNineEighty.Base.Map.IMap;
import com.ThirtyNineEighty.Base.Objects.WorldObject;
import com.ThirtyNineEighty.Base.Resources.Entities.ContentNames;
import com.ThirtyNineEighty.Base.Resources.Sources.FileC... |
package com.crescentflare.appconfigexample.test.model;
import android.os.SystemClock;
import com.crescentflare.appconfigexample.R;
import com.crescentflare.appconfigexample.appconfig.ExampleAppConfigRunType;
import com.crescentflare.appconfigexample.test.helper.CheckViewHelper;
import com.crescentflare.appconfigexamp... |
RESPONSE=$(df --local -P | awk {'if (NR!=1) print $6'} | xargs -I '{}' find '{}' -xdev -type f -perm -0002)
if [ "$RESPONSE" != '' ]; then
CHANGED="yes"
COMMENT="--WARNING-- there are some world writable files: see page: 164 of CIS_Red_Hat_Enterprise_Linux_6_Benchmark_v1.1.0.pdf"
else
CHANGED="no"
COMMENT="N... |
layout: post
title: "Spring Boot 소개"
categories: java
---
## What is Spring Boot?
> Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run".
`Spring Boot`를 사용하면 "단순히 실행"할 수 있는 독립 실행형 Spring 기반 애플리케이션을 쉽게 만들 수 있다.
> We take an opinionated view of the Sp... |
int main()
{
MAD::UGameEngine gameEngine;
eastl::shared_ptr<MAD::UGameWindow> gameWindow = eastl::make_shared<MAD::UGameWindow>();
if (!MAD::UGameWindow::CreateGameWindow("A MAD Game", 1600, 900, *gameWindow))
{
return false;
}
if (!gameEngine.Init(gameWindow))
{
return 1;
}
// ================= Game En... |
<?php
namespace Tests\Homie\Gpio;
use Homie\Node;
use Homie\Node\Gateway;
use PHPUnit\Framework\TestCase;
use PHPUnit_Framework_MockObject_MockObject as MockObject;
use Homie\Gpio\Controller;
use Homie\Gpio\Pin;
use Homie\Gpio\PinsCollection;
use Symfony\Component\HttpFoundation\Request;
use Homie\Gpio\GpioManager;
... |
package com.boylesoftware.catalina.authenticator.openid;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* HTTP response content handler.
*
* @author Lev Himmelfarb
*
* @param <T> Type of the... |
(function () {
angular.module('myApp')
.controller('AppCtrl', AppController);
AppController.$inject = ['$log', '$state', '$rootScope', '$scope', '$location', 'favstoreService'];
function AppController($log, $state, $rootScope, $scope, $location, favstoreService) {
vm = this;
vm.app... |
module Camel {
_module.controller("Camel.PropertiesComponentController", ["$scope", "workspace", "localStorage", "jolokia", "documentBase", ($scope, workspace:Workspace, localStorage:WindowLocalStorage, jolokia, documentBase) => {
var log:Logging.Logger = Logger.get("Camel");
$scope.hideHelp = Camel.hideOpt... |
require 'ansuz/j_adams/theme_repository_manager'
module Ansuz
module JAdams
class AnsuzTheme < ActiveRecord::Base
validates_uniqueness_of :name
before_save :clean_up_name
after_save :update_theme_repository_xml
# FIXME: The theme installer and repository plugins are intermingled and gros... |
import { PlatzreservierungPage } from './app.po';
describe('platzreservierung App', () => {
let page: PlatzreservierungPage;
beforeEach(() => {
page = new PlatzreservierungPage();
});
it('should display welcome message', () => {
page.navigateTo();
expect(page.getParagraphText()).toEqual('Welcome ... |
import { configure, addDecorator } from '@kadira/storybook'
import centered from './centered'
require('app/styl')
addDecorator(centered)
const req = require.context('../component-lab', true, /\.story\.(js|coffee)$/)
const loadStories = () => req.keys().forEach(req)
configure(loadStories, module)
|
layout: post
title: 'Postscript V (Berlin), 2015'
category: hahn-huhn
published: true
---

Installation at Presentation House Gallery, Vancouver, 23 April - 31 May 2015 (photo by Henri Robideau)
|
require 'simplecov'
SimpleCov.start do
add_filter 'spec'
end
require 'codeclimate-test-reporter'
CodeClimate::TestReporter.start
require 'tmpdir'
require 'webmock/rspec'
require 'fileutils'
require 'java_buildpack/diagnostics/common'
require 'java_buildpack/diagnostics/logger_factory'
RSpec.configure do |config|
... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Diagnostics;
using System.Globalization;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.PooledObjects;
using... |
exit;
param(
[Parameter(Mandatory=$False)]
[string[]] $InstallGroups=@()
)
# Application details
$appFilePath = "bin\Debug\ConcurrentTaskQueue.mfappx"
$appGuid = "5ebbec7f-ede3-4d6d-9ff4-58d90a254d26"
# Target vault
$vaultName = "Sample Vault"
# Connection details
$authType = 1 # 1 = MFAuthTypeLoggedOnWi... |
package lego.Algorithms;
import lego.Direction;
import lego.Edge;
import lego.Graph;
import lego.Results.DegreeResult;
import org.junit.Test;
import java.util.stream.Stream;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.junit.Assert.*;
public class DegreeTest {
@Test
public void shouldS... |
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
/**
* TODO
*/
@ExportPackage
package com.yahoo.container.jdisc.messagebus;
import com.yahoo.osgi.annotation.ExportPackage;
|
FROM balenalib/firefly-rk3288-ubuntu:bionic-run
ENV NODE_VERSION 12.21.0
ENV YARN_VERSION 1.22.4
RUN buildDeps='curl libatomic1' \
&& set -x \
&& for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$k... |
<?php
namespace CloudCreativity\LaravelJsonApi\Rules;
use Illuminate\Contracts\Validation\Rule;
/**
* Class DisallowedParameter
*
* @package CloudCreativity\LaravelJsonApi
*/
class DisallowedParameter implements Rule
{
/**
* @var string
*/
private $name;
/**
* DisallowedParameter co... |
@Version("1.3.1")
@Export(optional = "provide:=true")
package org.apache.jackrabbit.oak.util;
import aQute.bnd.annotation.Version;
import aQute.bnd.annotation.Export;
|
package main
import (
"bytes"
"errors"
"flag"
"fmt"
"go/build"
"io/ioutil"
"log"
"os"
"os/exec"
"path"
"path/filepath"
"regexp"
"runtime"
"sort"
"strconv"
"strings"
"time"
"unicode"
)
var (
verbose = flag.Bool("v", false, "verbose. if set, parallelism is set to 1.")
numParallel = flag.In... |
/**
* @fileoverview Tests for api.
* @author Gyandeep Singh
*/
"use strict";
var assert = require("chai").assert,
api = require("../../lib/api");
describe("api", function() {
it("should contain 4 exposed keys", function() {
assert.lengthOf(Object.keys(api), 4);
});
});
|
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |