text stringlengths 3 1.05M |
|---|
This small lab deploys Remote Desktop Services and a session collection called AutomatedLab.
After the deployment, the environment can be accessed through the modern RDWeb client.
```powershell
[CmdletBinding()]
param
(
# Select platform, defaults to HyperV
[AutomatedLab.VirtualizationHost]
$Hypervisor = '... |
/*
* 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 in writing, software
* distribut... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateAdminLanguageTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('admin_lan... |
package org.auraframework.util.validation;
import java.util.Map;
import org.auraframework.test.UnitTestCase;
import org.auraframework.util.javascript.JavascriptProcessingError.Level;
import org.auraframework.util.json.Json;
import org.auraframework.util.json.JsonReader;
public final class ValidationErrorTest extend... |
package me.ivanyu
import me.ivanyu.common.Tuple0
import scala.language.implicitConversions
package object typed_queries {
val beginQuery = QueryBuilder.begin _
// Implicit conversions to make execute() and execute(value) more convenient.
implicit def unitToTuple0(u: Unit): Tuple0 = new Tuple0
implicit def v... |
package freescale.ks.remoteeye.streaming.video;
import java.util.ArrayList;
import java.util.HashMap;
import android.annotation.SuppressLint;
import android.media.MediaCodecInfo;
import android.media.MediaCodecList;
import android.os.Build;
import android.util.Log;
import android.util.SparseArray;
@SuppressLint("I... |
var fs = require('fs')
var path = require('path')
// add bash completions to your
// yargs-powered applications.
module.exports = function (yargs, usage) {
var self = {
completionKey: 'get-yargs-completions'
}
// get a list of completion commands.
self.getCompletion = function (done) {
var completion... |
#include "BitParameter.h"
#include "BitParameterType.h"
#include "ParameterAccessContext.h"
#include "ConfigurationAccessContext.h"
#include "ParameterBlackboard.h"
#include "BitParameterBlock.h"
#include "BitwiseAreaConfiguration.h"
#define base CBaseParameter
using std::string;
CBitParameter::CBitParameter(const ... |
"""A simple, direct connection to the vtgate proxy server, using gRPC.
"""
import logging
import re
from urlparse import urlparse
from vtdb import prefer_vtroot_imports # pylint: disable=unused-import
import grpc
from vtproto import vtgate_pb2
from vtproto import vtgateservice_pb2
from vtdb import dbexceptions
fr... |
layout: docs
title: Reboot
group: content
redirect_from: "/content/"
---
Part of Bootstrap's job is to provide an elegant, consistent, and simple baseline to build upon. We use Reboot, a collection of element-specific CSS changes in a single file, to kickstart that.
Reboot builds upon Normalize, providing many HTML e... |
layout: event
title: Advanced HTML5/CSS3 Session
category: events
speaker: [Pritam Baral]
starttime: 2013-08-16 18:00:00
endtime: 2013-08-16 19:30:00
venue: NSL
---
##Agenda##
###HTML5###
* Canvas
* Audio & Video Tags
* Local Storage
* Session Storage
###CSS3###
* Gradients
* 3D Effects
##Prerequisites##
Sinc... |
require File.dirname(__FILE__) + '/../../spec_helper'
require File.dirname(__FILE__) + '/fixtures/classes'
require 'bigdecimal'
describe "BigDecimal#add" do
before(:each) do
@one = BigDecimal("1")
@zero = BigDecimal("0")
@two = BigDecimal("2")
@three = BigDecimal("3")
@ten = BigDecimal("10")
... |
require 'active_support/core_ext/class/attribute'
module CleverElements
class Model
class_attribute :proxy
end
end |
using System.Collections.Generic;
using System.Numerics;
namespace Eth.Rpc
{
public class EthTransactionReceipt
{
public byte[] TransactionHash { get; set; }
public BigInteger TransactionIndex { get; set; }
public BigInteger BlockNumber { get; set; }
public byte[] BlockHash ... |
package Google::Ads::GoogleAds::V12::Common::AppFeedItem;
use strict;
use warnings;
use base qw(Google::Ads::GoogleAds::BaseEntity);
use Google::Ads::GoogleAds::Utils::GoogleAdsHelper;
sub new {
my ($class, $args) = @_;
my $self = {
appId => $args->{appId},
appStore => $args->{ap... |
DEPRECATED. Use "Block File - Generic v2" playbook instead. Blocks files from running on endpoints. This playbook currently supports Carbon Black Enterprise Response.
## Dependencies
This playbook uses the following sub-playbooks, integrations, and scripts.
## Sub-playbooks
* Block File - Carbon Black Response
## In... |
{{ define "content" }}
<div class="mdl-grid">
<div class="mdl-cell mdl-cell--12-col"><h2 class="card-header">{{ .Name }}</h2></div>
<div class="mdl-cell mdl-cell--12-col mdl-cell--4-col-desktop mdl-card mdl-shadow--2dp">
<div class="mdl-card__title">
<h3 class="mdl-card__title-text">When and Where</h2>
... |
package pl.lukpra.resttable.errorresponses.model;
public class ExceptionMessage {
private String message;
private String userMessage;
private String info;
public ExceptionMessage(String message, String userMessage, String info) {
this.message = message;
this.userMessage = userMessage;
... |
int main(int argc, char *argv[])
{
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AZPlotDemoAppDelegate class]));
}
}
|
require_relative 'services_helper'
module Kontena::Cli::Services
class DeployCommand < Kontena::Command
include Kontena::Cli::Common
include Kontena::Cli::GridOptions
include ServicesHelper
parameter "NAME", "Service name"
option '--[no-]wait', :flag, 'Do not wait for service deployment', defaul... |
package io.joern.benchmarks.ifspec.java
import io.joern.benchmarks.BenchmarkTags.{Aliasing, ExplicitFlows, ImplicitFlows}
import io.joern.benchmarks.testfixtures.BenchmarkFixture._
import io.joern.benchmarks.testfixtures.IfspecAliasingFixture
import io.shiftleft.semanticcpg.language._
// AliasingControlFlowInsecure
c... |
eventsApp.factory('eventData', function($http, $q, $resource, $timeout, $parse){
var resource = $resource('/data/event/:id', {id:'@id'});
return {
getEvent: function(eventId) {
//return $resource('/data/event/:id', {id:'@id'}).get({id:1});
var deferred = $q.defer();
resource.get({id: eventId},... |
package org.openkilda.floodlight.command.group;
import org.openkilda.floodlight.command.SpeakerCommand;
import org.openkilda.floodlight.command.SpeakerCommandReport;
public class GroupRemoveReport extends SpeakerCommandReport {
public GroupRemoveReport(SpeakerCommand<?> command) {
super(command);
}
... |
module Gitlab
class GitAccess
DOWNLOAD_COMMANDS = %w{ git-upload-pack git-upload-archive }
PUSH_COMMANDS = %w{ git-receive-pack }
attr_reader :params, :project, :git_cmd, :user
def check(actor, cmd, project, changes = nil)
case cmd
when *DOWNLOAD_COMMANDS
download_access_check(ac... |
require 'remit/common'
module Remit
module GetPrepaidBalance
class Request < Remit::Request
action :GetPrepaidBalance
parameter :prepaid_instrument_id, :required => true
end
class Response < Remit::Response
class GetPrepaidBalanceResult < Remit::BaseResponse
class PrepaidBalanc... |
<?php require_once('user.php'); $user->require_login(); ?>
<?php
/* This is where you would inject your sql into the database
but we're just going to format it and send it back
*/
$USER_ID = $_SESSION['user']['id'];
$db = new PDO('sqlite:'.dirname(dirname(__FILE__)).'/dbs/users.db');
$db->setAttribute(PDO::ATTR_E... |
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace Google.Cloud.OrgPolicy.V2 {
/// <summary>Holder for reflection information generated from google/cloud/orgpolicy/v2/orgpolicy.... |
package armnetwork_test
import (
"context"
"log"
"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork/v2"
)
// Generated from example definition: https://github.com/Azure/azure-rest-api-spec... |
package com.nutricampus.app.activities;
import android.content.Context;
import android.net.ConnectivityManager;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.Gravity;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.... |
package com.shiningtrapezohedron.overthetop.commands;
import java.util.Random;
import com.shiningtrapezohedron.overthetop.commands.metadata.command;
@command(alias = {"dice", "roll", "d20"})
public class dice {
/** The parsed args. */
private static String parsedArgs;
public static void main(String[] args) {
... |
struct InterfaceType; \
namespace ppapi { namespace thunk { \
PPAPI_THUNK_EXPORT const InterfaceType* Get##InterfaceType##_Thunk(); \
} }
#define PROXIED_IFACE IFACE
#define UNPROXIED_IFACE IFACE
#include "ppapi/thunk/interfaces_ppb_private.h"
#include "ppapi/thunk/interfaces_ppb_public_stable.h"
#include "ppa... |
object NameKinds {
abstract class NameInfo
abstract class NameKind(val tag: Int) { self =>
type ThisInfo <: Info
class Info extends NameInfo { this: ThisInfo =>
def kind = self
}
}
class ClassifiedNameKind(tag: Int, val infoString: String) extends NameKind(tag) {
type ThisInfo = Info
... |
package com.linkedin.cruisecontrol.monitor.sampling.aggregator;
import com.linkedin.cruisecontrol.IntegerEntity;
import com.linkedin.cruisecontrol.metricdef.MetricDef;
import com.linkedin.cruisecontrol.metricdef.MetricInfo;
import com.linkedin.cruisecontrol.metricdef.AggregationFunction;
import com.linkedin.cruiseco... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
layout: documentation
---
# Plugins
At some point in your life you're going to interact with the *Ensemble* plugin system. You have two options: load a plugin or define your own.
## Loading a Plugin
Loading a plugin is pretty easy to do. It will happen automatically for you if you put it in one of the predefined js f... |
<div class="badges">
<a href="http://travis-ci.org/jpadilla/django-rest-framework-jsonp?branch=master">
<img src="https://travis-ci.org/jpadilla/django-rest-framework-jsonp.svg?branch=masterr">
</a>
<a href="https://pypi.python.org/pypi/djangorestframework-jsonp">
<img src="https://img.shiel... |
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using RDS.CaraBus.AsyncEx.Nito.AsyncEx.SyncTasks;
using RDS.CaraBus.AsyncEx.Nito.AsyncEx.Tasks;
// Original idea by Stephen Toub: http://blogs.msdn.com/b/pfxteam/archive/2012/02/11/10266923.aspx
namespace RDS.CaraBus.AsyncEx.Nito.AsyncEx... |
package application.events;
import framework.IEvent;
import framework.audio.AudioClip;
import framework.graphics.Button;
public class MuteEvent implements IEvent {
private static Button button;
public MuteEvent(Button button) {
MuteEvent.button = button;
}
public MuteEvent() {
this(n... |
<?php
namespace Haven\Bundle\CoreBundle\Lib\Handler;
class CategoryReadHandler extends ReadHandler {
protected function getDefaultEntityClass() {
return "Haven\Bundle\CoreBundle\Entity\Category";
}
}
?>
|
var express = require('express');
var router = express.Router();
var models = require('../models');
router.post('/', function(req, res) {
// first fill the database with this new user's information
//console.log(JSON.stringify(req.body));
models.User.find({
where: { username: req.body.username },
att... |
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<!-- encoders are assigned the type
ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
</encoder>
</a... |
require 'rails_helper'
RSpec.feature 'Agent places a realtime booking' do
scenario 'Seeing a descriptive failure message when unauthorised' do
travel_to '2018-11-03 13:00' do
given_the_user_identifies_as_a_resource_manager
and_available_realtime_slots_exist_within_the_booking_window
when_they_a... |
// Copyright 2014 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... |
<?php
namespace Windwalker\Http;
/**
* The CurlFile class.
*
* @since 3.5.13
*/
class CurlFile
{
/**
* Property file.
*
* @var string
*/
protected $file;
/**
* Property mimetype.
*
* @var string
*/
protected $mimetype;
/**
* Property filename.
... |
package models;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import models.forms.AgendaFormData;
import models.forms.Fo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using USTA.Dal;
using USTA.Common;
using USTA.Model;
using USTA.PageBase;
using System.Data;
namespace USTA.WebApplication.Administrator
{
public partial class E... |
import asyncio
import contextlib
import gc
import re
import types
from unittest import mock
import pytest
from multidict import CIMultiDict, MultiDict
from yarl import URL
import aiohttp
from aiohttp import web
from aiohttp.client import ClientSession
from aiohttp.connector import BaseConnector, TCPConnector
from aio... |
import os
import unittest
import decimal
from lxml import etree
from apps.sepa.sepa import SepaAccount, SepaDocument
from .base import SepaXMLTestMixin
class ExampleXMLTest(SepaXMLTestMixin, unittest.TestCase):
""" Attempt to test recreating an example XML file """
def setUp(self):
super(ExampleXML... |
body.landing {
background-color: rgb(58,23,63);
}
.hero-content {
position: relative;
min-height: 600px;
background-image: url(../assets/images/bloc_jams_bg.jpg);
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
}
.hero-content .hero-title {
posit... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
"""Interfaces for Kaldi's readers and writers
This subpackage contains a factory function, :func:`open`, which is intended to behave
similarly to python's built-in :func:`open` factory. :func:`open` gives the specifics
behind Kaldi's different read/write styles. Here, they are described in a general way.
Kaldi's stre... |
package com.xhy.weibo.adapter;
import android.support.v4.view.PagerAdapter;
import android.view.View;
import android.view.ViewGroup;
import android.widget.GridView;
import java.util.List;
/**
* Created by xuhaoyang on 16/5/31.
*/
public class EmotionPagerAdapter extends PagerAdapter {
private List<GridView> g... |
<?php
namespace ConnectHolland\OpenAPISpecificationGenerator\Path;
use ConnectHolland\OpenAPISpecificationGenerator\ExternalDocumentation;
use ConnectHolland\OpenAPISpecificationGenerator\Parameter\ParameterInterface;
use JsonSerializable;
/**
* Operation.
*
* @author Niels Nijens <niels@connectholland.nl>
*/
cl... |
// ------------------------------------------------------------------------
package com.thinkgem.jeesite.common.wx.aes;
import java.security.MessageDigest;
import java.util.Arrays;
/**
* SHA1 class
*
* 计算公众平台的消息签名接口.
*/
public class SHA1 {
/**
* 用SHA1算法生成安全签名
* @param token 票据
* @par... |
package nl.gogognome.textsearch.criteria;
import java.util.Iterator;
/**
* <p>Use this class to parse a string representations of a {@link Criterion}.</p>
*
* <p>Typical usage:</p>
* <pre>
* Criterion searchCriterion = new Parser().parse("foo AND bar");
* </pre>
*/
public class Parser {
private Token ... |
namespace Microsoft.Azure.Management.DataBoxEdge.Models
{
using Microsoft.Rest;
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
/// <summary>
/// Metric configuration.
/// </summary>
public partial class MetricConfiguration
{... |
<?php
require "config.php";
require "edan.php";
$query = '';
$facetedquery = '';
$rows = 250;
$start = 0;
// Make call to EDAN servers
$Meta = new edan($server,$user,$pass);
?><textarea rows="5" cols="5"><?php echo $Meta->metadataQuery($query,$facetedquery,$rows,$start); ?></textarea><?php
$Results = json_decode($Me... |
// Copyright (C) 2022 Fievus
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
using System.Reflection;
namespace Carna.Runner;
[Specification("FixtureBuilder Spec")]
class FixtureBuilderSpec : FixtureSteppable
{
IFixtureBuilder Builder ... |
var fails = require('../internals/fails');
var replacement = /#|\.prototype\./;
var isForced = function (feature, detection) {
var value = data[normalize(feature)];
return value == POLYFILL ? true
: value == NATIVE ? false
: typeof detection == 'function' ? fails(detection)
: !!detection;
};
var norma... |
package co.cask.cdap.gateway.apps;
import co.cask.cdap.api.annotation.ProcessInput;
import co.cask.cdap.api.annotation.UseDataSet;
import co.cask.cdap.api.app.AbstractApplication;
import co.cask.cdap.api.common.Bytes;
import co.cask.cdap.api.data.stream.Stream;
import co.cask.cdap.api.dataset.lib.KeyValueTable;
impo... |
package com.molo17.customizablecalendar.library.interactors;
import com.molo17.customizablecalendar.library.model.Calendar;
import com.molo17.customizablecalendar.library.model.CalendarFields;
import org.joda.time.DateTime;
import java.util.ArrayList;
import java.util.List;
import io.reactivex.BackpressureStrategy;... |
module VMCManifests
VERSION = "0.6.2".freeze
end
|
require 'test_helper'
class SlidesTest < Test::Unit::TestCase
should "probably rename this file and start testing for real" do
flunk "hey buddy, you should probably rename this file and start testing for real"
end
end
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<feed><tipo>Rua</tipo><logradouro>1</logradouro><bairro>Arboreto</bairro><cidade>Barreiras</cidade><uf>BA</uf><cep>47811600</cep></feed>
|
package sink
/*
import (
//"fmt"
"sync"
)
type FilterSink interface {
Sink(data Payload)
AddFilter(filter Filter)
RemoveFilter(filterName string) error
}
type FilterMap map[Bucket][]*Filter
type defaultFilterSink struct {
sync.RWMutex
filters FilterMap
}
func NewFilterSink() FilterSink {
return &defaultFil... |
// Copyright © Microsoft Corporation. All Rights Reserved.
// This code released under the terms of the
// Microsoft Public License (MS-PL, http://opensource.org/licenses/ms-pl.html.)
using System;
using System.Collections.Generic;
using System.ComponentModel.Design;
using System.Diagnostics;
using System.Globaliza... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model backend\models\Graduation */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="graduation-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'name')->textInput(['maxlength' => true]) ... |
$composerDir = App-Dir "Bench.Composer"
if (Test-Path $composerDir) { del $composerDir -Recurse -Force }
|
package javax.swing.text;
import gnu.java.lang.CPStringBuilder;
import java.awt.Color;
import java.awt.Font;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.Iterator;
import java.util.Stack;
import java.util.Vector;
import javax.swing.event.ChangeEvent;
impo... |
<?php
define('DOC_ROOT', realpath(dirname(__FILE__) . '/../'));
//
require DOC_ROOT.'/includes/master.inc.php'; // do login or not
$time = microtime();
$time = explode(' ', $time);
$time = $time[1] + $time[0];
$start = $time;
define ('AREA',2);
if (!isset($_GET['tabs']))
{
//die ("use default");
}
elseif (intval($... |
'use strict';
import 'vs/css!./gitlessView';
import nls = require('vs/nls');
import git = require('vs/workbench/parts/git/common/git');
import platform = require('vs/base/common/platform');
import winjs = require('vs/base/common/winjs.base');
import ee = require('vs/base/common/eventEmitter');
import view = require(... |
// Copyright Hugh Perkins 2012, hughperkins -at- gmail
//
// This Source Code Form is subject to the terms of the Mozilla Public License,
// v. 2.0. If a copy of the MPL was not distributed with this file, You can
// obtain one at http://mozilla.org/MPL/2.0/.
package jeigen;
/**
* You can import this statically fo... |
//
// ObjectiveLibModbus.m
// LibModbusTest
//
// Created by Lars-Jørgen Kristiansen on 22.02.12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
//#define modbusQueue dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0)
#import "ObjectiveLibModbus.h"
@implementation ObjectiveLibMod... |
\begin{figure}[H]
\centering
\includegraphics[width=6in]{figs/run_45/run_45_comparison}
\caption{Theoretical vortex profile fits to experimental data at $z/c$=9.00, $V_{free}$=23.24, station 5.}
\label{fig:run_45_comparison}
\end{figure}
|
package com.bitgirder.pipeline;
public
interface PipelineInitializer< V >
{
public
void
initialize( PipelineInitializerContext< V > ctx );
}
|
SELECT TRY_PARSE('Jabberwokkie' AS datetime2 USING 'en-US') AS Result;
SELECT
CASE WHEN TRY_PARSE('Aragorn' AS decimal USING 'sr-Latn-CS') IS NULL
THEN 'True'
ELSE 'False'
END
AS Result;
SET LANGUAGE English;
SELECT IIF(TRY_PARSE('01/01/2011' AS datetime2) IS NULL, 'True', 'False') AS Result;
|
/* $Id: config.h 4795 2014-03-14 06:58:10Z riza $ */
/*
* Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publish... |
import assign from "lodash.assign";
import EventEmitter from "wolfy87-eventemitter";
import * as ddp from "./base-mixins/ddp";
import * as login from "./base-mixins/login";
import * as methods from "./base-mixins/methods";
import * as loginWithPassword from "./base-mixins/password-login";
import * as subscriptions fro... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Kew Bull. 37:547. 1983
#### Original name
null
### Remarks
null |
<?php
/**
* Base Class of Signer Infrastructure.
*
*
* @author Xavier De Cock <xdecock@gmail.com>
*/
interface Swift_Signer
{
public function reset();
}
|
<?php
namespace App\Http\Controllers;
class CalendarController extends Controller
{
public function index()
{
return view('calendar.view');
}
} |
const actions = require('./index');
const utils = require('../utils');
const InteractEvent = require('../InteractEvent');
const Interactable = require('../Interactable');
const Interaction = require('../Interaction');
const defaultOptions = require('../defaultOptions');
const gesture = {
defaul... |
package org.fundacionjala.enforce.sonarqube.apex.parser.grammar;
import org.fundacionjala.enforce.sonarqube.apex.parser.ApexRuleTest;
import org.junit.Before;
import org.junit.Test;
import static org.fundacionjala.enforce.sonarqube.apex.api.grammar.ApexGrammarRuleKey.TYPE;
import static org.sonar.sslr.tests.Asserti... |
<resources>
<string name="app_name">pobooks</string>
<string name="title_activity_book_city">BookCityActivity</string>
</resources>
|
<?php
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
namespace Twilio\Rest\Pricing\V1;
use Twilio\Page;
class PhoneNumberPage extends Page {
public function __construct($version, $response, $solution) {
parent::__construct($ver... |
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc.Rendering;
namespace AuthorizationServer.ViewModels.Manage
{
public class ConfigureTwoFactorViewModel
{
public string SelectedProvider { get; set; }
public ICollection<SelectListItem> Providers { get; set; }
}
}
|
def to_digits(n):
"""Takes an integer n and returns a list, containing the digits of n."""
digitsList = []
while n > 0:
digitsList.append(n % 10)
n = n // 10
digitsList.reverse()
return digitsList
if __name__ == "__main__":
print (to_digits(99999))
|
<?php
namespace Ibrows\HmacBundle\Tests\app;
use Symfony\Component\Config\Loader\LoaderInterface;
use Symfony\Component\Filesystem\Filesystem;
use Symfony\Component\HttpKernel\Kernel;
/**
* App Test Kernel for functional tests.
*
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
*/
class AppKernel extends K... |
void memory_cleanse(void *ptr, size_t len);
#endif // INFINITUM_SUPPORT_CLEANSE_H
|
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build
# Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4
PAPEROPT_letter = -D latex_paper_size=letter
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
# the i18n builder cannot share the environment ... |
// flow-typed signature: 38263a19fcf32dec1e7ff5c143c35b09
// flow-typed version: <<STUB>>/webpack-isomorphic-tools_v^2.6.5/flow_v0.35.0
/**
* This is an autogenerated libdef stub for:
*
* 'webpack-isomorphic-tools'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you ... |
<?php
/**
* Created by PhpStorm.
* User: gpl
* Date: 15/10/26
* Time: 下午5:49
*/
namespace Dy\Ring\Test\Backend\Data;
use GuzzleHttp\Client;
class LocalDataStorageTest extends \PHPUnit_Framework_TestCase
{
public function testUploadFile()
{
$client = new Client(array(
'base_uri' => 'h... |
#import <UIKit/UIKit.h>
#import "RCTViewNodeProtocol.h"
//TODO: let's try to eliminate this category if possible
@interface UIView (ReactKit) <RCTViewNodeProtocol>
/**
* Used by the UIIManager to set the view frame.
* May be overriden to disable animation, etc.
*/
- (void)reactSetFrame:(CGRect)frame;
/**
* T... |
BioTaxIDMapper is a simple tool for mapping taxonomy information onto files containing FASTA-like headers. It keeps local database containing links between protein accessions and taxonomy identifiers, as well as whole taxonomic lineages. Scripts provided together with the tool allows to constantly update local database... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Uromyces malvicola Speg.
### Remarks
null |
<?php
namespace AppBundle\Tests\Unit\Service;
use AppBundle\Entity\Project;
use AppBundle\Entity\Role;
use AppBundle\Entity\User;
use AppBundle\Service\ProjectService;
class ProjectServiceTest extends \PHPUnit_Framework_TestCase
{
/**
* @var ProjectService
*/
protected $object;
/**
* @var... |
package basicgraph;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
/** A class that implements a directed graph.
* The graph may have self-loops, parallel edges.
* Vertices are labeled by integers 0 .. n-1
* and may also have String labels.
* The edges of the gr... |
-- phpMyAdmin SQL Dump
-- version 4.2.5
-- http://www.phpmyadmin.net
--
-- Host: localhost:8889
-- Generation Time: Nov 05, 2014 at 06:49 PM
-- Server version: 5.5.38
-- PHP Version: 5.5.14
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT... |
<component name="libraryTable">
<library name="support-media-compat-24.2.1">
<ANNOTATIONS>
<root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/support-media-compat/24.2.1/annotations.zip!/" />
</ANNOTATIONS>
<CLASSES>
<root url="jar://$PROJECT_DIR$/app/build... |
Import legacy orders
The legacy_order_id field will be the legacy order number
The columns b_firstname, b_lastname, b_street etc are billing address fields
The same columns exist for shipping if shipping address is different s_firstname, s_lastname, s_street etc.
If street address has more than one line you can spl... |