text
stringlengths
3
1.05M
require "rails_helper" describe "Managing Dialysates", type: :system do describe "creating a new dialysate" do it do login_as_super_admin visit admin_dashboard_path within ".side-nav--admin" do click_on "Dialysates" end click_on t("btn.add") fill_in "Name", with: "...
using Microsoft.ApplicationInsights; using Microsoft.ApplicationInsights.DataContracts; using SendGrid; using SendGrid.Helpers.Mail; using SM.COMS.Models; using SM.COMS.Utilities.Interfaces; using System.Collections.Generic; using System.Threading.Tasks; namespace SM.COMS.Utilities { public class MailUtil : IMailUti...
@interface PodsDummy_Pods_krugozor_visitorsApp : NSObject @end @implementation PodsDummy_Pods_krugozor_visitorsApp @end
namespace SFA.DAS.EmployerUsers.Support.Core.Domain.Model { public enum UserStatus { Unverified = 0, Active = 1, Locked = 2, Suspended = 3 } }
#ifndef PEGR_PEPPERGRAINSENGINE_HPP #define PEGR_PEPPERGRAINSENGINE_HPP #include <stdint.h> #include "pegr/misc/WindowInputSystemLibrary.hpp" #include "pegr/misc/GameLayerMachine.hpp" #include "pegr/sound/SoundEndpoint.hpp" namespace pegr { namespace Engine { extern const char* mEngineName; extern co...
package org.psliwa.idea.composerJson.intellij import com.intellij.patterns.{PatternCondition, StringPattern} import com.intellij.patterns.StandardPatterns._ import com.intellij.util.ProcessingContext import scala.util.matching.Regex private object Patterns { def stringContains(s: String): StringPattern = { str...
#include <errno.h> #include <stdint.h> #include <unistd.h> /* Defined in brk.c. */ extern void *__curbrk; extern int __brk (void *addr); /* Defined in init-first.c. */ extern int __libc_multiple_libcs attribute_hidden; /* Extend the process's data space by INCREMENT. If INCREMENT is negative, shrink data spac...
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:jdbc="http://www.springframework.org/schema/jdbc" xmlns:jee="http://www.springframework.org/schema/...
package laol.ast; import apfe.runtime.Acceptor; import java.util.List; import laol.test.TestRunner; import org.junit.Test; import static org.junit.Assert.*; /** * * @author kpfalzer */ public class RegexpPrimaryTest extends TestRunner { private final String TESTS[] = { "1%r{abc+def}", "1/xxx\...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
package iurii.job.interview.leetcode; import org.junit.Test; import static org.assertj.core.api.Assertions.assertThat; public class GenerateParenthesesTest { @Test public void testWithClosureNumber() { GenerateParentheses generateParentheses = new GenerateParentheses(); assertThat(generatePa...
package diplomacy import Chisel._ import scala.collection.mutable.ListBuffer import chisel3.internal.sourceinfo.SourceInfo // DI = Downwards flowing Parameters received on the inner side of the node // UI = Upwards flowing Parameters generated by the inner side of the node // EI = Edge Parameters describing a conne...
<?xml version="1.0" encoding="utf-8"?> <set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/cycle_interpolator" android:ordering="together"> <objectAnimator android:duration="1500" android:propertyName="alpha" android:valueFrom="0" ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>monae: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" ...
@import url("common.css"); @import url("modules/cupcakebridge.css");
package to.cwa.trocado.expense.om; import com.google.appengine.api.datastore.Category; import com.googlecode.objectify.Ref; import com.googlecode.objectify.annotation.*; import to.cwa.trocado.account.om.Account; import to.cwa.trocado.om.HasId; import to.cwa.trocado.util.ObjectsUtil; import java.math.BigDecimal; impor...
require 'spec_helper' class UnsortableObject def initialize(id) @id = id end def inspect @id.to_s end def ==(other) false end end describe "using match_array with expect" do it_behaves_like "an RSpec matcher", :valid_value => [1, 2], :invalid_value => [1] do let(:matcher) { match_array...
using HL7Enumerator.Extensions; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace HL7Enumerator { public static class Constants { public const string MSHSeparators = "|^~\\&"; public const string Separators = "\r|~^&\\"; // note: the ~ is delibera...
// Copyright (c) 2022, WNProject Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // clang-format off #ifndef ROCKETCORESTYLESHEETNODESELECTOREMPTY_H #define ROCKETCORESTYLESHEETNODESELECTOREMPTY_H #include "StyleSheetNodeSelector...
django-mvtester ================= Django-mvtester is an app to facilitate multivariate testing or a/b testing. Installation ---------------- Right now you have to get it from github Add the middleware like this:: MIDDLEWARE_CLASSES = ( 'mvtester.middleware.MVTesterMiddleware' ) Make sure it is after the sessio...
import {NotImplementedError} from '../errors/NotImplementedError'; /** * Abstract class to define CommandBus interface */ export class AbstractCommandBus { /** * Execute command, return promise that will be resolved with execution result. * @param {AbstractCommand} command * @returns {Promise.<Abs...
<!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 (version 1.7.0_21) on Sat May 11 22:08:48 BST 2013 --> <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> <title>Uses of Package com...
package org.apache.bookkeeper.benchmark; import io.netty.buffer.ByteBuf; import io.netty.buffer.PooledByteBufAllocator; import io.netty.buffer.Unpooled; import io.netty.channel.EventLoopGroup; import io.netty.channel.epoll.EpollEventLoopGroup; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.util.concur...
import { Coord } from "@turf/helpers"; /** * Takes two {@link Point|points} and finds the geographic bearing between them, * i.e. the angle measured in degrees from the north line (0 degrees) * * @name bearing * @param {Coord} start starting Point * @param {Coord} end ending Point * @param {Object} [options={}] ...
RSpec.describe Taxonomy::LevelOneTaxonsRetrieval do let(:child_contents) { Array.new(2) { { "content_id" => SecureRandom.uuid } } } before do stub_publishing_api_has_expanded_links({ "content_id" => GovukTaxonomy::ROOT_CONTENT_ID, "expanded_links" => { "level_one_taxons" => child_contents, ...
<?php if ($mapel->num_rows() > 0 ) : ?> <form action='nilai/filterNilai'> <select class="mapels"> <?php foreach($mapel->result_array() as $row) :?> <option value="<?php echo $row['kd_pelajaran']?>"> <?php echo $row['nama_pelajaran']; ?></option>'; <?php endforeach;?> </select> <select class="mapels"> ...
<?php /** * Modified: 2020-05-26T22:07:25+00:00 */ namespace Office365\OneDrive\Columns; use Office365\Runtime\ClientValue; class ChoiceColumn extends ClientValue { /** * @var bool */ public $AllowTextEntry; /** * @var array */ public $Choices; /** * @var string */...
/* help.js * * Atomic OS WASH command * * Simple help utility * * @author Scott Elcomb <psema4@gmail.com (http://www.psema4.com) * @version 2.0.0 */ window.system = window.system || {}; system.bin = system.bin || {}; /* Dummy constructor * * Access programmatically via system.bin.help.!!methodName!! * @con...
<html> <head> <title> Rhythm of resistance </title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <?php include "../../legacy-includes/Script.htmlf" ?> </head> <body bgcolor="#FFFFCC" text="000000" link="990000" vlink="660000" alink="003366" leftmargin="0" topmargin="0"> <table width="744"...
{% extends "base.html" %} {% load articles %} {% load markup %} {% load pagination_tags %} {% load thumbnail %} {% load typogrify %} {% block title %}Writing &mdash; {{ object.get_full_name }} &mdash; {{ block.super }}{% endblock %} {% block extra_head %}{{ block.super }}<link rel="alternate" type="application/atom+xml...
package browser import ( "os/exec" "strings" ) func openBrowser(url string) error { providers := []string{"xdg-open", "x-www-browser", "www-browser"} // There are multiple possible providers to open a browser on linux // One of them is xdg-open, another is x-www-browser, then there's www-browser, etc. // Look ...
<?xml version="1.0" encoding="utf-8"?> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" android:fillViewport="true"> ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Boost.Geometry (aka GGL, Generic Geometry Library)</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type=...
package org.apache.crunch; import static junit.framework.Assert.assertTrue; import java.io.IOException; import java.util.Map; import org.apache.crunch.impl.mem.MemPipeline; import org.apache.crunch.impl.mr.MRPipeline; import org.apache.crunch.test.TemporaryPath; import org.apache.crunch.test.TemporaryPaths; import ...
<!doctype html> <!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]--> <!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]--> <!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<!...
<!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>hmac &mdash; ArcherBashPYDocs 1.0.0. documentatio...
<configuration> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <encoder> <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg {%mdc}%n</pattern> </encoder> </appender> <root level="trace"> <appender-ref ref="STDOUT" /> </root> </con...
import logging class SubtleFormatter(logging.Formatter): """Formats log records with a more subtle format for select levels. Shows the name of the following levels in red: ERROR, CRITICAL and FATAL. """ def __init__(self, fmt, subtle_format, subtle_levels=None, datefmt=None, style='%'): "...
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <TextView android:layout_width="fill_parent" android:layout_height="wrap_cont...
from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('workshops', '0004_workshop_applicants'), ] operations = [ migrations.AddField( model_name='workshop', name='joindin_url', ...
var chai = require('chai'); var should = chai.should(); var expect = chai.expect; var describe = require("mocha").describe; var it = require("mocha").it; var afterEach = require("mocha").afterEach; var beforeEach = require("mocha").beforeEach; var config = require("../../../config_test.js"); var MockExpressRequest = re...
<div class="header"> <div class="header-appswitch"> <div class="clearfix"></div> <div class="header-appswitch-title-holder"> <div class="header-appswitch-title header-appswitch-title--appname space-Out-Left">Quick References</div> </div> <div class="header-appswitch-acti...
package org.apache.mahout.classifier.chi_rw.data; import org.apache.mahout.math.Vector; /** * Represents one data instance. */ public class Instance { /** attributes, except LABEL and IGNORED */ private final Vector attrs; public Instance(Vector attrs) { this.attrs = attrs; } /** * Retur...
package node import ( "encoding/json" "fmt" log "github.com/Sirupsen/logrus" "github.com/flexiant/concerto/api/types" "github.com/flexiant/concerto/utils" ) // NodeService manages node operations type NodeService struct { concertoService utils.ConcertoService } // NewNodeService returns a Concerto node service...
<?php class ReviewController extends yupe\components\controllers\FrontController { /** * Текущая просматриваемая страница */ public $currentReview; /** * экшн для отображения конкретной страницы, отображает опубликованные страницы и превью */ public function actionShow() { ...
using NUnit.Framework; using System; using NamespaceHashTable; namespace hw2_3 { /// <summary> /// Test that checks class 'SimpleHashFunction: IHashFunction'. /// </summary> [TestFixture()] public class SimpleHashFunctionTest { [SetUp()] public void InitialTest() { ...
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/activity_weather" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertic...
 using Globals; using Softv.Entities; using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel; using System.Text; namespace SoftvWCFService.Contracts { [ServiceContract] public interface ItblClasificacionProblema { [Ope...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE122_Heap_Based_Buffer_Overflow__cpp_src_wchar_t_cat_67b.cpp Label Definition File: CWE122_Heap_Based_Buffer_Overflow__cpp_src.label.xml Template File: sources-sink-67b.tmpl.cpp */ /* * @description * CWE: 122 Heap Based Buffer Overflow * BadSource: Initialize...
layout: page title: Shade Shadow Technologies Executive Retreat date: 2016-05-24 author: Roy Levy tags: weekly links, java status: published summary: Suspendisse fringilla ornare nisi, suscipit. banner: images/banner/office-01.jpg booking: startDate: 03/05/2019 endDate: 03/07/2019 ctyhocn: LASNOHX groupCode: SS...
package iapi import ( "encoding/json" "fmt" ) // GetHost ... func (server *Server) GetHost(hostname string) ([]HostStruct, error) { var hosts []HostStruct results, err := server.NewAPIRequest("GET", "/objects/hosts/"+hostname, nil) if err != nil { return nil, err } // Contents of the results is an interfa...
FROM balenalib/artik520-ubuntu:focal-build ENV NODE_VERSION 12.21.0 ENV YARN_VERSION 1.22.4 RUN for key in \ 6A010C5166006599AA17F08146C2130DFD2497F5 \ ; do \ gpg --keyserver pgp.mit.edu --recv-keys "$key" || \ gpg --keyserver keyserver.pgp.com --recv-keys "$key" || \ gpg --keyserver ha.pool.sks-keyservers.ne...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in Zametki Sist. Geogr. Rast. 34:38. 1977 #### Original name null ### Remarks null
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
package org.apache.ivy.core.module.descriptor; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import java.io.File; import java.util.HashSet; import java.util.Set; import javax.xml.xpath...
import locale, copy, os, re, struct, sys from errno import ENOENT __all__ = ['NullTranslations', 'GNUTranslations', 'Catalog', 'find', 'translation', 'install', 'textdomain', 'bindtextdomain', 'dgettext', 'dngettext', 'gettext', 'ngettext'] _default_localedir = os.path.join(sys.prefix, 'share',...
package com.microrisc.simply.iqrf.dpa.v22x.typeconvertors; import com.microrisc.simply.iqrf.dpa.v22x.types.LED_State; import com.microrisc.simply.protocol.mapping.ConvertorFactoryMethod; import com.microrisc.simply.typeconvertors.PrimitiveConvertor; import com.microrisc.simply.typeconvertors.ValueConversionException...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
'use strict'; const path = require('path'); const fs = require('fs'); const url = require('url'); // Make sure any symlinks in the project folder are resolved: // https://github.com/facebookincubator/create-react-app/issues/637 const appDirectory = fs.realpathSync(process.cwd()); const resolveApp = relativePath => pa...
<?php namespace FBN\GuideBundle\Tests\Manager; use Doctrine\Common\Persistence\ObjectManager; use Doctrine\ORM\EntityRepository; use FBN\GuideBundle\Entity\Bookmark; use FBN\GuideBundle\Entity\Restaurant; use FBN\GuideBundle\Entity\Shop; use FBN\GuideBundle\Entity\Winemaker; use FBN\GuideBundle\Manager\BookmarkManage...
module Inviteable module ApplicationHelper end end
$('#modal').on('show.bs.modal', function(e) { var id = $(e.relatedTarget).data('id'); var action = $(e.relatedTarget).data('action'); document.getElementById("id-span").innerHTML = id; if(action == 'open') { document.getElementById("text-span").innerHTML = 'Czy chcesz otworzyc to zgloszenie ?'; } else if(acti...
package com.xruby.runtime.builtin; import junit.framework.TestCase; public class RubyFixnumTest extends TestCase { public void testPow() { assertEquals(ObjectFactory.FIXNUM8, ObjectFactory.FIXNUM2.pow(ObjectFactory.FIXNUM3)); assertEquals(ObjectFactory.createFloat(0.5), ObjectFactory.FIXNUM2.pow(Obje...
"""Object utilities.""" from __future__ import absolute_import, unicode_literals from copy import copy from .connection import maybe_channel from .exceptions import NotBoundError from .five import python_2_unicode_compatible from .utils.functional import ChannelPromise __all__ = ['Object', 'MaybeChannelBound'] def...
package org.vaadin.addons.md_stepper.demo; import com.vaadin.server.Page; import com.vaadin.ui.CheckBox; import com.vaadin.ui.ComboBox; import com.vaadin.ui.Component; import com.vaadin.ui.CustomComponent; import com.vaadin.ui.Label; import com.vaadin.ui.Notification; import com.vaadin.ui.Slider; import com.vaadin.ui....
`import mods.ic2.SemiFluidGenerator;` ## Methoden - **[ILiquidStack](/Vanilla/Liquids/ILiquidStack/) liquid** The liquid which can be used as fuel in semi-fluid generator - **double powerOutput** The power output, measured in EU/tick ## Add Fluid ```zenscript mods.ic2.SemiFluidGenerator.addFluid(ILiquidStack liquid...
**Stone to Flesh** **School** transmutation; **Level** sorcerer/wizard 6 **Casting Time** 1 standard action **Components** V, S, M (a drop of blood mixed with earth) **Range** medium (100 ft. + 10 ft./level) **Target** one [petrified](../glossary#_petrified) creature or a cylinder of stone from 1 ft. to 3 ft. in ...
// import { render } from 'rtlUtils'; // import MetricBar from './MetricBar'; // describe('MetricBar', () => { // const minimalProps = { // progress: 0, // className: 'customClassname', // isProgressBar: false, // isLarge: false // }; // it('should render with minimal props without exploding', ...
package com.hazelcast.internal.crdt; import java.util.List; import java.util.Random; public class MergingOperation<C extends CRDT<C>, S> extends Operation<C, S> { private final int sourceIdx; MergingOperation(Random rnd) { super(rnd); this.sourceIdx = rnd.nextInt(); } @Override ...
package org.apache.activemq.management; import java.util.List; import java.util.concurrent.CopyOnWriteArrayList; import org.apache.activemq.ActiveMQConnection; import org.apache.activemq.util.IndentPrinter; /** * Statistics for a number of JMS connections * * */ public class JMSStatsImpl extends StatsImpl { ...
require 'spec_helper' RSpec.describe 'Vinex integration specs' do let(:client) { Cryptoexchange::Client.new } let(:eth_btc_pair) { Cryptoexchange::Models::MarketPair.new(base: 'ETH', target: 'BTC', market: 'vinex') } it 'fetch pairs' do pairs = client.pairs('vinex') expect(pairs).not_to be_empty pa...
package net.openhft.chronicle.bytes; import net.openhft.chronicle.core.annotation.NonNegative; @FunctionalInterface public interface NewChunkListener { void onNewChunk(String filename, @NonNegative int chunk, @NonNegative long delayMicros); }
using UnityEngine; using System.Collections; public class OrcBehaviorControllerScript : MonoBehaviour { private OrcBehaviorScript orcScript; void Start () { orcScript = transform.root.GetComponentInChildren<OrcBehaviorScript>(); } public void SetState(OrcBehaviorScript.State state) { if(orcScript == null)...
/*! @name videojs-contrib-quality-levels @version 2.2.1 @license Apache-2.0 */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('video.js')) : typeof define === 'function' && define.amd ? define(['video.js'], factory) : (global.videojsCo...
<!DOCTYPE HTML> <html lang="de"> <head> <!-- Generated by javadoc (18) on Tue Sep 27 22:25:26 CEST 2022 --> <title>Uses of Class com.restfb.WebRequestor.Response (RestFB 2022.9.0 API)</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="Content-Type" content="text/html; charset...
ACCEPTED #### According to World Register of Marine Species #### Published in null #### Original name null ### Remarks null
<component name="InspectionProjectProfileManager"> <profile version="1.0" is_locked="false"> <option name="myName" value="Project Default" /> <option name="myLocal" value="false" /> <inspection_tool class="AndroidDomInspection" enabled="false" level="ERROR" enabled_by_default="false" /> <inspection_to...
package org.springframework.core.io; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.URI; import java.net.URL; import java.nio.file.Files; import java.nio.file.OpenOption; import java.nio.file.Path; import...
package com.itmuch.cloud.study; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.netflix.turbine.EnableTurbine; @SpringBootApplication @EnableTurbine public class TurbineApplication { public static void main(Stri...
<?php /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ namespace Application\Form\Fieldset; /** * Description of Login fieldset * * @author hkumwembe */ use Zen...
@implementation UIImage (OrientationFix) - (UIImage *)OrientationFix { if (self.imageOrientation == UIImageOrientationUp) return self; CGAffineTransform transform = CGAffineTransformIdentity; switch (self.imageOrientation) { case UIImageOrientationDown: case UIImageOrientationDown...
name: Bug report about: Create a report to help us improve title: '' labels: '' assignees: '' --- **Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: **Expected behavior** A clear and concise description of what you expected to happen. **Screen...
import os import sys import unittest from pyorient.exceptions import PyOrientCommandException, PyOrientException, PyOrientDatabaseException from pyorient import OrientSocket from pyorient.messages.connection import ShutdownMessage from pyorient.messages.database import DbExistsMessage, DbOpenMessage, DbCreateMessage, ...
/*external modules*/ import { expect } from 'chai'; /*types*/ /*utils*/ /*lib*/ /*other*/ function expectOwnProperty(targetObject: unknown, path: string, value: unknown) { return expect(targetObject).to.have.ownProperty(path, value); } export default expectOwnProperty;
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.ide.plugins.newui; import com.intellij.ide.IdeBundle; import com.intellij.ide.plugins.IdeaPluginDescriptor; import com.intellij.ide.plugins.PluginManagerCore...
.label { -fx-font-family: verdana; -fx-font-size: 18px; -fx-text-fill: black; } .list-view { -fx-background-color: transparent; -fx-border-color: transparent; -fx-border-width: 0 0 0 0; -fx-background-insets: 0 0 0 0; -fx-background-radius: 0 0 0 0; -fx-focus-color: transparent; } ...
package tranquvis.simplesmsremote.CommandManagement.Commands; /** * Created by Kaltenleitner Andreas on 30.10.2016. */ public class CommandGetLocationCoordinatesTest extends CommandTest { @Override public void testPattern() throws Exception { assertThat("\n Get location \r").matches(); asse...
package blog import ( "github.com/astaxie/beego" "myblog/models" "os" "strings" ) type baseController struct { beego.Controller moduleName string controllerName string actionName string options map[string]string } func (this *baseController) Prepare() { controllerName, actionName := this.Get...
package com.example.kanjuice.activities; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.ObjectAnimator; import android.app.Activity; import android.app.ActivityManager; import android.content.BroadcastReceiver; import android.content.Context; import androi...
 namespace HelixToolkit.UWP { using Model; using Shaders; using SharpDX; using SharpDX.Direct3D11; using System.IO; using System.Runtime.Serialization; using Windows.UI.Xaml; /// <summary> /// Implments a phong-material with its all properties /// Includes Diffuse, Normal, Disp...
package com.tpxl.protocol.packets; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import com.tpxl.protocol.Packet; import com.tpxl.protocol.PacketType; public class LoginStatusPacket extends Packet { boolean success; String message; int ID; String nickname; public LoginS...
<?php namespace Ticketpark\DynamicRoleBundle\Security\Exception; /** * Base RoleProvider exception * * @author Stefan Paschke <stefan.paschke@gmail.com> */ class Exception extends \Exception { }
require 'spec_helper' describe Voog::API::Comments do let(:client) { voog_client } describe '#comments' do before do request_fixture(:get, 'articles/1/comments', fixture: 'comments/comments') end it 'returns a list of comments' do expect(client.comments(1).length).to eql(2) end end...
package net.sourceforge.plantuml.postit; import java.awt.geom.Dimension2D; import net.sourceforge.plantuml.Dimension2DDouble; import net.sourceforge.plantuml.FontParam; import net.sourceforge.plantuml.SkinParam; import net.sourceforge.plantuml.SpriteContainerEmpty; import net.sourceforge.plantuml.cucadiagram.Display...
package com.zzn.aeassistant.fragment; import java.util.List; import com.google.gson.reflect.TypeToken; import com.zzn.aeassistant.R; import com.zzn.aeassistant.activity.task.TaskAdapter; import com.zzn.aeassistant.activity.task.TaskDetailEditActivity; import com.zzn.aeassistant.activity.task.TaskDetailViewActivity; i...
export class Voting { constructor( public id: number, public name: string, public address: string, public zip: string, public description: string, public lat: number, public long: number ) {} }
r"""Command-line tool to parse and process testplan Hjson """ import argparse import sys from testplanner import testplan_utils def main(): parser = argparse.ArgumentParser( description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter) parser.add_argument( 'testplan', ...
import os import os.path import platform import sys def machine(): """Return type of machine.""" if os.name == 'nt' and sys.version_info[:2] < (2,7): return os.environ.get("PROCESSOR_ARCHITEW6432", os.environ.get('PROCESSOR_ARCHITECTURE', '')) else: return platform.machine()...
import React from "react"; type NumeralContextType = { disableErrorBorder?: boolean; }; export default React.createContext<NumeralContextType>({});
import os import hashlib import time from numpy import mean from datetime import timedelta from functools import wraps from sql_assurance.connectors.connection import ConnectionPoolBuilder from sql_assurance.config import path_to_config_file def set_connector(connection): def wrapper(f): @wraps(f) ...