text
stringlengths
3
1.05M
namespace CSTest { namespace IntegrationTest { namespace { const std::string k_rootDirectory = "IntegrationTest/FileStream/"; const std::string k_testBinaryFileName = k_rootDirectory + "TestBinaryFile.bin"; const std::string k_testBadBinaryFileName = k_rootDir...
/* Includes ------------------------------------------------------------------*/ #include "stm32l1xx_tim.h" #include "stm32l1xx_rcc.h" /** @addtogroup STM32L1xx_StdPeriph_Driver * @{ */ /** @defgroup TIM * @brief TIM driver modules * @{ */ /* Private typedef ---------------------------------------------...
<?xml version="1.0" encoding="utf-8"?> <set xmlns:android="http://schemas.android.com/apk/res/android"> <scale android:duration="400" android:fromXScale="2.0" android:fromYScale="2.0" android:pivotX="50%" android:pivotY="50%" android:toXScale="1.0" android:toY...
package com.microsoft.xrm.sdk.Messages; import com.microsoft.xrm.sdk.OrganizationResponse; public final class CancelSalesOrderResponse extends OrganizationResponse { }
package com.tmg.ebscore.dto.masterlist; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; import com.tmg.ebscore.dto.CoreCommo...
package elegit.treefx; import javafx.beans.binding.DoubleBinding; import javafx.beans.binding.When; import javafx.beans.property.BooleanProperty; import javafx.beans.property.DoubleProperty; import javafx.beans.property.SimpleBooleanProperty; import javafx.beans.property.SimpleDoubleProperty; import javafx.scene.Group...
from pudzu.charts import * df = pd.read_csv("datasets/flagsfoxes.csv") groups = list(remove_duplicates(df.group)) array = [[dict(r) for _,r in df.iterrows() if r.group == g] for g in groups] data = pd.DataFrame(array, index=list(remove_duplicates(df.group))) FONT = calibri or sans fg, bg="black", "#EEEEEE" default_im...
<?xml version="1.0" encoding="utf-8"?> <geo:GeodesyML gml:id="MAUI00USA" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:geo="urn:xml-gov-au:icsm:egeodesy:0.4" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <geo:siteL...
'use strict'; //SOURCE: https://gist.github.com/benmj/6380466 angular.module('treasuremapApp') .factory('Geocoder', ['$localStorage', '$q', '$timeout', 'uiGmapGoogleMapApi', function ($localStorage, $q, $timeout, GoogleMapApi) { var locations = $localStorage.locations ? JSON.parse($localStorage.locations) : {};...
<?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android"> <corners android:radius="8dp" /> <solid android:color="#50000000" /> </shape>
package org.wso2.carbon.dashboards.api.internal; import org.osgi.framework.BundleContext; import org.osgi.service.component.annotations.Activate; import org.osgi.service.component.annotations.Component; import org.osgi.service.component.annotations.Deactivate; import org.osgi.service.component.annotations.Reference;...
require_relative '../../imcmo' require_relative '../../imccoremeta' require_relative '../../imcmeta' class AdaptorUnitConsts ADMIN_STATE_ADAPTOR_RESET = "adaptor-reset" ADMIN_STATE_ADAPTOR_RESET_DEFAULT = "adaptor-reset-default" ADMIN_STATE_POLICY = "policy" PRESENCE_EMPTY = "empty" PRESENCE_EQUIP...
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("Az...
namespace cwhttp { class HeaderContainer { public: using NameValuePredicate = std::function<void(const std::string&, const std::string&)>; using LinePredicate = std::function<void(const std::string&)>; private: using HeaderMap = std::multimap<std::string, std::string>; Head...
import CommunicationEnvironment from "./CommunicationEnvironment"; import FileDependencies from "./FileDependencies"; import CompilationNode, { Degraded } from './CompilationNode'; import ArgumentParser from './ArgumentParser'; import Generator from "./Generator"; im...
/** * @file * * ODP pool */ #ifndef ODP_API_POOL_H_ #define ODP_API_POOL_H_ #include <odp/visibility_begin.h> #ifdef __cplusplus extern "C" { #endif #include <odp/api/std_types.h> /** @defgroup odp_pool ODP POOL * Operations on a pool. * @{ */ /** * @typedef odp_pool_t * ODP pool */ /** * @def ODP...
/* This file was generated by SableCC (http://www.sablecc.org/). */ package minipython.node; import minipython.analysis.*; public final class TPrint extends Token { public TPrint() { super.setText("print"); } public TPrint(int line, int pos) { super.setText("print"); setL...
using Codge.BasicModel.CS.Serialisation; namespace Serialisers.rootNs { public static class Registrar { public static void RegisterSerialisers(SerialisationContext context) { context.RegisterSerialiser<Types.rootNs.myType2>(new Serialisers.rootNs.myType2()); context.RegisterSerialiser<Types.rootNs.nestedN...
<?php namespace Hail\Filesystem; use Hail\Filesystem\{ Exception\FileExistsException, Exception\FileNotFoundException }; /** * Class PluginTrait * * @package Hail\Filesystem */ trait PluginTrait { /** * Copies a file, overwriting any existing files. * * @param string $path Path to the e...
class ElasticsearchClientAdapter def initialize(index) if ENV['SEARCHBOX_SSL_URL'] @client = Elasticsearch::Client.new host: ENV['SEARCHBOX_SSL_URL'] else @client = Elasticsearch::Client.new log: true end @index = index end def search(type: type, body: body, size: size) @client.se...
Rails.application.configure do # Settings specified here will take precedence over those in config/application.rb. # Code is not reloaded between requests. config.cache_classes = true # Eager load code on boot. This eager loads most of Rails and # your application in memory, allowing both threaded web serve...
// Copyright 2014 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MIT or ...
Remove an event listener. That is, remove a callback previously registered with `addEventListener` from being triggered on the corresponding event. This also free-up the corresponding ressources. The callback given is optional: if not given, _every_ registered callback to that event will be removed. ## Syntax ```js ...
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ Licensed to the Apache Software Foundation (ASF) under one ~ or more contributor license agreements. See the NOTICE file ~ distributed with this work for additional information ~ regarding copyright ownership. The ASF licenses this file ~ to you under the Apache...
import { browser, element, by } from 'protractor'; export class TourDeFrancePage { navigateTo() { return browser.get('/'); } getParagraphText() { return element(by.css('tdf-root h1')).getText(); } }
package com.intellij.diff.requests; import com.intellij.diff.contents.DiffContent; import com.intellij.diff.contents.FileContent; import com.intellij.diff.merge.BinaryMergeRequest; import com.intellij.diff.merge.MergeCallback; import com.intellij.diff.merge.MergeResult; import com.intellij.diff.merge.MergeUtil; impor...
currentUser.friends = function(callback){ return $.get("/friends", callback); } currentUser.logout = function(){ return $.ajax({ type: "DELETE", url: "/logout" }) }
package net.sundell.otter; /** * Any inline tag that supports the <code>x</code> attribute. */ public interface NumberedTag extends TagContent { public int getX(); public NumberedTag setX(int x); }
<?php namespace SocialiteProviders\Naver; use SocialiteProviders\Manager\SocialiteWasCalled; class NaverExtendSocialite { /** * Register the provider. * * @param \SocialiteProviders\Manager\SocialiteWasCalled $socialiteWasCalled */ public function handle(SocialiteWasCalled $socialiteWasCa...
Simple MEAN Stack Application for educational purposes. Application was created within 3 weeks for a univerity project. ![alt tag](http://i.imgur.com/vh48opm.png)
package com.tkmtwo.snops.json; /** * */ public final class JsonLocation extends JsonEntity { }
<?xml version='1.0' encoding='utf-8'?> <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> <hibernate-configuration> <session-factory> <!-- Database connection settings -->...
package org.openqa.selenium; import static org.hamcrest.Matchers.containsString; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertThat; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import static org.junit.Assume.assumeTrue; import static org.openqa....
set -euo pipefail # A local installation of maven prefers to run the global installation, if available. sudo rm -f /etc/mavenrc # We redirect maven test output to file, because Travis CI limits stdout log size to 4MB. mvn --settings ./travis/maven-settings.xml -U install -DskipTests > /dev/null case $TRAVIS_BRANCH ...
package autolift.cats import autolift.{LiftTraverse, LiftTraverseSyntax} import cats.{Functor, Applicative, Traverse} trait CatsLiftTraverse[Obj, Fn] extends LiftTraverse[Obj, Fn] with Serializable object CatsLiftTraverse extends LowPriorityCatsLiftTraverse{ def apply[Obj, Fn](implicit lift: CatsLiftTraverse[Obj, ...
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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.apa...
from crispy_forms.helper import FormHelper from crispy_forms.layout import Submit from django import forms class VoteForm(forms.ModelForm): def __init__(self, *args, **kwargs): super(VoteForm, self).__init__(*args, **kwargs) self.helper = FormHelper() self.helper.form_class = 'blueForms' ...
"""Buganizer tests for yapf.reformatter.""" import textwrap import unittest from yapf.yapflib import reformatter from yapf.yapflib import style from yapftests import yapf_test_helper class BuganizerFixes(yapf_test_helper.YAPFTest): @classmethod def setUpClass(cls): style.SetGlobalStyle(style.CreateChromiu...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
find_path(GPGME_INCLUDE_DIR gpgme.h) find_library(GPGME_GPGERROR_LIBRARY gpg-error) find_library(GPGME_ASSUAN_LIBRARY assuan) find_library(GPGME_LIBRARY gpgme) set(GPGME_INCLUDE_DIRS ${GPGME_INCLUDE_DIR}) set(GPGME_LIBRARIES ${GPGME_LIBRARY} ${GPGME_ASSUAN_LIBRARY} ${GPGME_GPGERROR_LIBRARY}) mark_as_advanced(GPGME_I...
#include "taichi/program/function.h" #include "taichi/program/program.h" #include "taichi/ir/transforms.h" #include "taichi/analysis/offline_cache_util.h" namespace taichi::lang { Function::Function(Program *program, const FunctionKey &func_key) : func_key(func_key) { this->program = program; } void Function::...
<?php /** * File NodeNotFoundException.php */ namespace Tebru\Tree\Exception; /** * Class NodeNotFoundException * * Throw this exception if a node resource cannot be found * * @author Nate Brunette <n@tebru.net> * @package Tebru\Tree */ class NodeNotFoundException extends \RuntimeException { }
*ss33* helps you use a local S3-compatible store in front of real S3 for speedier uploads and downloads. ## Installation ``` $ go get github.com/mark-rushakoff/ss33 $ go install github.com/mark-rushakoff/ss33 ``` ## Usage To upload a file that is on neither the permanent nor cache store: ``` $ ss33 put \ --fil...
class Cat < ActiveRecord::Base def to_s "Cat number ${self.id} with a name of ${self.name}. " end end
import { run } from '@ember/runloop'; import { test } from 'qunit'; import moduleForAcceptance from '../../tests/helpers/module-for-acceptance'; let container, store; moduleForAcceptance('Acceptance | github branch', { beforeEach() { container = this.application.__container__; store = run(container, 'lookup...
============ Contributing ============ Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given. You can contribute in many ways: Types of Contributions ---------------------- Report Bugs ~~~~~~~~~~~ Report bugs at https://github.com/shearichard/tagweed/...
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="ProjectModuleManager"> <modules> <module fileurl="file://$PROJECT_DIR$/GoogleMapDirectionSimple-master.iml" filepath="$PROJECT_DIR$/GoogleMapDirectionSimple-master.iml" /> <module fileurl="file://$PROJECT_DIR$/app/app.iml" f...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using Mic...
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orie...
package io.mappedbus; import io.mappedbus.MappedBusReader; import io.mappedbus.MappedBusWriter; import java.io.File; import java.util.Arrays; import org.junit.After; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.fail; import static org.junit.Assert.assertEqu...
import unittest from w0rplib.url import redir, redir_temp from django.urls.resolvers import URLPattern from django.http import HttpRequest class URLFunctionTestCase(unittest.TestCase): def test_301_redirect(self): url_object = redir(r"^page/0*1/$", "/blog", name='blog-redir') self.assertIsInstan...
module.exports = mixinDiscovery; function mixinDiscovery(Crate) { var async = require('async'); function paginateSQL(sql, orderBy, options) { options = options || {}; var limit = ''; if (options.offset || options.skip || options.limit) { limit = ' LIMIT ' + (options.offset || options.skip || 0...
package com.google.api.services.dataplex.v1.model; /** * Settings to manage the security policy applied to data in a zone. * * <p>This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Cloud Dataplex API. For a detailed explanati...
<?xml version="1.0" encoding="UTF-8"?> <LearningStandards> <LearningStandardItem xml:lang="en" RefID="6FC2501BA58B4695979EA68AC7E2C988"> <RefURI>http://corestandards.org/Math/Content/7/RP/A/1/</RefURI> <StandardHierarchyLevel> <number>7</number> <description>Standard</description> </StandardHi...
#ifndef KAZMATH_AABB3D_H_INCLUDED #define KAZMATH_AABB3D_H_INCLUDED #include "vec3.h" #include "utility.h" #ifdef __cplusplus extern "C" { #endif /** * A struture that represents an axis-aligned * bounding box. */ typedef struct kmAABB3 { kmVec3 min; /** The max corner of the box */ kmVec3 max; /** The ...
package lite.erp.system.controller; import lite.erp.system.service.IUserService; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; @Controller public class UserController { private static final L...
<?php App::uses('AppModel', 'Model'); class Building extends AppModel { /* * basic definitions */ //<editor-fold defaultstate="collapsed" desc="basic definitions"> public $order = 'short'; //</editor-fold> /* * database functions */ //<editor-fold defaultstate="collap...
package au.com.cartoncloud.interview.server; import static org.assertj.core.api.Assertions.assertThat; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework....
<!-- jQuery 2.1.4 --> <script src="<?php echo base_url(); ?>assets/admin/js/plugins/jQuery/jQuery-2.1.4.min.js"></script> <!-- jQuery UI 1.11.4 --> <script src="<?php echo base_url(); ?>assets/admin/js/jquery-ui.min.js"></script> <script src="<?php echo base_url(); ?>assets/admin/js/bootstrap-toggle.js"...
// Copyright (c) 2012 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 Login UI header bar implementation. */ cr.define('login', function() { /** * Creates a header bar element. * @construct...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/analyticshub/v1/analyticshub.proto package com.google.cloud.bigquery.analyticshub.v1; public interface ListOrgDataExchangesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery....
namespace Amib.Threading { #region WorkItemInfo class /// <summary> /// Summary description for WorkItemInfo. /// </summary> public class WorkItemInfo { /// <summary> /// The option to run the post execute /// </summary> private CallToPostExec...
<?php namespace Aws\Test\Integ; class PromisesTest extends \PHPUnit_Framework_TestCase { use IntegUtils; public function testSendsSynchronously() { $client = $this->getSdk()->createClient('s3'); $result = $client->listBuckets(); $this->assertInstanceOf('Aws\Result', $result); ...
export datadir='/Users/rbiswas/data/LSST/RutgersFullSkyPixels/fullskypix/OpSim2.168_DithDDF'
<?php namespace Magento\Framework\Notification; /** * Default notifiers. Iterates through all registered notifiers to process message * * Class NotifierPool */ class NotifierPool implements NotifierInterface { /** * @var NotifierList */ protected $notifierList; /** * @param NotifierLi...
package iso20022 // Choice between the identification of a person and the identification of a non-financial institution. type Party2Choice struct { // Unique and unambiguous way of identifying an organisation. OrganisationIdentification *OrganisationIdentification2 `xml:"OrgId"` // Unique and unambiguous identifi...
.. _related: Related Projects ================ NeuPrint on github ------------------ The `NeuPrint <https://github.com/connectome-neuprint>`_ organization on github is home to several repositories, including `neuprint-python <https://github.com/connectome-neuprint/neuprint-python>`_. - `CBLAST <https://github.com/...
package server; import java.net.ServerSocket; import java.net.Socket; public class Server { public static void main(String[] args) throws Exception{ ServerSocket serverSocket = new ServerSocket(8899); boolean running = true; while(running){ Socket socket = serverSocket.accept(); System.out.println("Clien...
import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "fazz.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE server PUBLIC "-//JBoss//DTD MBean Service 4.2//EN" "http://www.jboss.org/j2ee/dtd/jboss-service_4_2.dtd"> <!-- $Id: dcm4chee-mppsscu-service.xml 16152 2011-10-25 10:44:24Z javawilli $ --> <server> <mbean code="org.jboss.jms.server.destination.Queue...
package org.apache.camel.spring.interceptor; import org.apache.camel.Exchange; import org.apache.camel.Processor; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.spring.SpringRouteBuilder; import org.slf4j.MDC; /** * Easier transaction configuration as we do not have to setup a transaction err...
layout: post date: 2015-08-03 title: "Jovani Sleeveless Jersey Gown 89983 Sleeveless Sweep/Brush Train Sheath/Column" category: Jovani tags: [Jovani ,Jovani,Sheath/Column,Illusion,Sweep/Brush Train,Sleeveless] --- ### Jovani Sleeveless Jersey Gown 89983 Just **$469.98** ### Sleeveless Sweep/Brush Train Sheath/Column...
import threading import sublime from ..info import Repr from ..logger import Log from ..constants import WorkerStatus from .interpreter import Interpreter from .local_worker import LocalWorker from .remote_worker import RemoteWorker from .vagrant_worker import VagrantWorker from ..helpers import active_view, get_inte...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
<?php namespace Magento\Payment\Model\Config; class ReaderTest extends \PHPUnit_Framework_TestCase { /** * @var \Magento\Payment\Model\Config\Reader */ protected $_model; /** @var \Magento\Framework\Config\FileResolverInterface/PHPUnit_Framework_MockObject_MockObject */ protected $_fileRes...
package com.google.cloud.securitycenter.v1p1beta1.samples; // [START securitycenter_v1p1beta1_generated_SecurityCenter_CreateNotificationConfig_StringNotificationconfig_sync] import com.google.cloud.securitycenter.v1p1beta1.NotificationConfig; import com.google.cloud.securitycenter.v1p1beta1.OrganizationName; import...
/* -*- C++ -*- */ //============================================================================= /** * @file Process_Strategy_Test.h * * This file contains the definition of Counting_Service and * Options. Some compilers need it in a .h file for template * instantiation (such as AIX C Set ++). * * @au...
""" Solve a linear equation system with the kinetic energy operator. """ import numerical_methods as nm import sys from scipy.sparse.linalg import LinearOperator import time import numpy import cmath import matplotlib.pyplot as pp from matplotlib import rc rc("text", usetex=True) rc("font", family="serif") import mat...
import {enumerationDeserializer} from '../../styles/deserializers.js'; const expect = chai.expect; suite('deserializers', () => { suite('enumerationDeserializer', () => { type Animal = 'elephant'|'octopus'|'chinchilla'; let animals: Animal[]; let deserializeAnimals: (input: string) => Set<Animal>; ...
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("Teh...
@class NSString, SBAppSwitcherStatusBarViewCache, SBFakeStatusBarView; @interface SBAppSwitcherHomePageCellView : UIView <SBWallpaperObserver, SBAppSwitcherPageContentView> { UIView *_possiblyRotatedContainer; UIView *_nonRotatedContainer; UIView *_homeScreenView; UIView *_homeSnapshot; UIView *_wa...
<?php namespace Oro\Component\ChainProcessor; /** * This applicable checker is used to skip processors are included in groups are requested to be skipped. * Use skipGroup and undoGroupSkipping of the execution context to manage groups to be skipped. */ class SkipGroupApplicableChecker implements ApplicableCheckerI...
from office365.sharepoint.listitems.listitem import ListItem class UserInfoItem(ListItem): pass
<?php namespace Chamilo\Core\Repository\Common; use Chamilo\Core\Repository\Common\Rendition\ContentObjectRendition; use Chamilo\Core\Repository\Common\Rendition\ContentObjectRenditionImplementation; use Chamilo\Core\Repository\Storage\DataClass\ContentObject; use Demo\Annotation\Deprecated; use DOMDocument; use DOMXP...
package org.sinmetal.pullqueue.controller; import java.util.*; import java.util.concurrent.*; import org.apache.commons.codec.binary.*; import org.slim3.controller.*; import org.slim3.util.*; import com.google.appengine.api.taskqueue.*; import com.google.appengine.api.taskqueue.Queue; public class LeaseController e...
package com.comandante.creeper.merchant.playerclass_selector; import com.comandante.creeper.core_game.GameManager; import com.comandante.creeper.player.PlayerClass; import java.util.Arrays; import java.util.List; import java.util.stream.Collectors; public class PlayerClassCommandRegistry { private final PlayerC...
package main import ( "bufio" "bytes" "fmt" "io/ioutil" "net" "os" "os/exec" "path" "path/filepath" "reflect" "regexp" "sort" "strconv" "strings" "sync" "time" "github.com/docker/docker/pkg/integration/checker" "github.com/docker/docker/pkg/mount" "github.com/docker/docker/runconfig" "github.com/d...
using JetBrains.Annotations; namespace MvvmValidation { /// <summary> /// Represents a formatter that can be used to format an instance of <see cref="ValidationResult"/> to a string. /// </summary> public interface IValidationResultFormatter { /// <summary> /// Converts t...
var arrayUtil = require('./util/array') , numberUtil = require('./util/number') , Moment = require('moment'); var data = { capitals: require('./data/capitals'), celebrities: require('./data/celebrities'), countries: require('./data/countries'), words: require('./data/words'), sizes: require...
using System; using System.Collections.Generic; using System.Text; public class Card { public Card(string name, int damage, int score, int level) { this.Name = name; this.Damage = damage; this.Score = score; this.Level = level; this.Health = 20; } public string...
"""Script to regrid a NetCDF file""" from improver import cli @cli.clizefy @cli.with_output def process( cube: cli.inputcube, target_grid: cli.inputcube, land_sea_mask: cli.inputcube = None, *, regrid_mode="bilinear", extrapolation_mode="nanmask", land_sea_mask_vicinity: float = 25000, ...
<?xml version="1.0" encoding="utf-8"?> <android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/toolbar" android:layout_width="match_parent" android:layout_height="wrap_content" android:minHeight="?attr/actionBarSize" android:background="?attr/co...
body { background-image: url(../img/background.png); background-size: contain; width:100%; height:100%; font-family: "myPictionaryFont", Arial, sans-serif; } /*.pencilsHorizontalImg{ margin-left: 20px; margin-right: 20px; height: 200px; background-image: url(../img/pencils-horizontal...
package me.danieth.bstvisualized; import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; public class TreeNodeFunctionButton extends JButton { public TreeNodeFunctionButton(final BstObjPanel bstObjPanel, final JFrame topFrame, final String command) { super(comm...
package com.planet_ink.coffee_mud.Races; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.planet...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Contact extends Model { protected $table = 'contacts'; /** * The attributes that should be hidden for arrays. * * @var array */ }
<html> <body> <applet code="EasyPuzzle.class" width="100%" height="100%"> <param name="archive" value="EasyPuzzle.jar"> <param name="img" value="zebra.jpg"> <param name="mould" value="mould3X2_di120.gif"> <param name="nbcolumns" value="3"> <param name="nbrows" value="2"> <param name="piecedistance" value="120"> </app...
require 'bonekit' photo_resistor = Pin.new P9_39 # AIN0 light_readings = [0.0] light_threshold = 0.05 # Log all changes above threshold loop do light_reading = photo_resistor.analog_value if (light_reading - light_readings.last).abs > light_threshold light_readings << light_reading puts "Light is at #...
<?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_enabled="false"> <shape> <solid android:color="#FFBB33" /> <stroke android:width="1dp" android:c...
///////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////// //// (c) 2016, Axel Zschutschke //// //// This software is provided under the terms of the BSD-3 lic...