text stringlengths 3 1.05M |
|---|
using System.Collections.Generic;
using SuperGlue;
using SuperGlue.Configuration;
using SuperGlue.Configuration.Ioc;
using SuperGlue.RavenDb;
namespace JaJo.Migrations.Storage.SuperGlue.RavenDb
{
public class SetupRavenDbMigrationsStorage : ISetupConfigurations
{
public IEnumerable<ConfigurationSetupRe... |
// Copyright © 2010 onwards, Andrew Whewell
// All rights reserved.
//
// Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
// * Redistributions of source code must retain the above copyright notice, th... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Xml.Linq;
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.Common;
using Microsoft.Wi... |
package edu.pdx.cs410J.apptbook;
import org.junit.jupiter.api.Test;
import static org.hamcrest.CoreMatchers.*;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
/**
* Unit tests for the {@link Appointment} class.
*
* You'll need to update these unit ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>float: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... |
public class Solution {
public int integerReplacement(int n) {
if (n == 1) return 0;
if (n % 2 == 0) return integerReplacement(n / 2) + 1;
return Math.min(integerReplacement((n - 1) / 2), integerReplacement((n - 1) / 2 + 1)) + 2;
}
}
|
package com.google.googlemobileads.protocol;
import com.google.googlemobileads.GADCustomEventRequest;
import com.google.googlemobileads.struct.GADAdSize;
import org.moe.natj.general.ann.ByValue;
import org.moe.natj.general.ann.Generated;
import org.moe.natj.general.ann.Library;
import org.moe.natj.general.ann.Mapped;... |
<?php
namespace Storage;
class Directory {
private $error;
public $path;
public function get($repository_id,$path) {
$this->repository_id = $repository_id;
$this->path = $path;
$this->name = preg_replace('/^\//','',$this->path);
}
public function files() {
$filelist = new FileList();
$file... |
import ListFormController from 'ember-flexberry/controllers/list-form';
export default ListFormController.extend({
/**
* Name of related edit form route.
*
* @property editFormRoute
* @type String
* @default 'ember-flexberry-dummy-suggestion-type-edit'
*/
editFormRoute: 'ember-flexberry-dummy-sug... |
<?php
namespace core\session\handler;
use core\util\param\Validator as Validator;
use core\util\file\File as File;
/**
* This class is used to override the present session handler to be able to
* e.g. bind the session handling onto databases in further work but mainly
* to control the any session operation upon in... |
using System;
namespace SoundLibrary.Mathematics.Function
{
using ValueType = System.Double;
/// <summary>
/// 定数×関数。
/// </summary>
public class Multiple : Function
{
#region フィールド
/// <summary>
/// 加算対象関数リスト。
/// </summary>
ValueType factor;
/// <summary>
/// 内包している関数。
/// </summary>
Fu... |
from django.conf.urls import url
from main import views as main_views
download_urlpatterns = ([
url(r'templates/site/lat-long/?',
main_views.SiteTemplateView.as_view(model='lat_long'),
name="site-template-lat-long"
),
url(r'templates/site/easting-northing/?',
main_views.SiteTem... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>nfix: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... |
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="/style/style.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.2/semantic.min.css"></link>
</head>
<body>
<div class="container"></div>
</body>
<script src="/bundle.js"></script>
</html>
|
use std::net::Shutdown;
use std::os::unix::io::AsRawFd;
use std::os::unix::io::IntoRawFd;
use std::os::unix::net::UnixStream;
use std::os::unix::process::CommandExt;
use std::process::Command;
use std::io::prelude::*;
use nix::fcntl::{fcntl, FdFlag};
use nix::fcntl::FcntlArg::{F_GETFD, F_SETFD};
fn main() {
// Cr... |
@interface AppDelegate ()
@end
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.
return YES;
}
- (void)applicationWillResignActive:(UIApplication *)applicat... |
<?php
namespace App\Http\Requests\AlloyTransactions;
use Illuminate\Validation\Rule;
use \App\Http\Requests\FormRequest;
class Show extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return ($... |
/**
* Pipedrive API v1
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* ... |
module Apruve
class OrderItem < Apruve::ApruveObject
attr_accessor :id, :title, :price_total_cents, :price_ea_cents, :quantity, :description, :merchant_notes,
:variant_info, :sku, :vendor, :view_product_url, :plan_code, :line_item_api_url,
:subscription_url
def validate
... |
package org.openstack.atlas.api.atom;
public enum FeedType {
PARENT_FEED,
LOADBALANCER_FEED,
NODES_FEED,
NODE_FEED,
VIRTUAL_IPS_FEED,
ACCESS_LIST_FEED,
CONNECTION_THROTTLE_FEED,
HEALTH_MONITOR_FEED,
SESSION_PERSISTENCE_FEED;
}
|
package com.jcommerce.gwt.client.panels.privilege;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import com.extjs.gxt.ui.client.Style.HorizontalAlignment;
... |
__author__ = "Osman Baskaya"
import sys
from nlp_utils import fopen
import gzip
from itertools import count, izip
from collections import defaultdict as dd
if len(sys.argv) != 6:
print >> sys.stderr, "{}: Wrong number of arg".format(sys.argv[0])
exit(1)
pseudo_word_file = fopen(sys.argv[1])
tok_f, pos_f, le... |
#include <linux/slab.h>
#include <scsi/scsi.h>
#include <scsi/scsi_eh.h>
#include <scsi/scsi_dh.h>
#include <scsi/scsi_device.h>
#define CLARIION_NAME "emc"
#define CLARIION_TRESPASS_PAGE 0x22
#define CLARIION_BUFFER_SIZE 0xFC
#define CLARIION_TIMEOUT (60 * HZ)
#define CLARIION_RETRIES 3
#define CLARIION_UNBOU... |
using ObjCRuntime;
[assembly: LinkWith ("libVK-ios-sdk.a",
Frameworks = "Foundation UIKit SafariServices CoreGraphics Security",
LinkTarget = LinkTarget.Arm64 | LinkTarget.ArmV7 | LinkTarget.ArmV7s | LinkTarget.Simulator | LinkTarget.Simulator64,
ForceLoad = true)]
|
namespace arc {
namespace input_overlay {
namespace test {
ArcTestWindow::ArcTestWindow(exo::test::ExoTestHelper* helper,
aura::Window* root,
const std::string& package_name) {
surface_ = std::make_unique<exo::Surface>();
buffer_ = std::make_unique<exo::Buf... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>interval: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... |
package com.xjeffrose.xio.client.loadbalancer.strategies;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableSet;
import com.xjeffrose.xio.client.loadbalancer.Node;
import com.xjeffrose.xio.client.loadbalancer.Strategy;
import java.util.ArrayList;
import java.util.Collections;
im... |
#include "CCLuaEngine.h"
#include "cocos2d.h"
#include "CCArray.h"
#include "CCScheduler.h"
#include "LuaScriptHandlerMgr.h"
#include "extensions/GUI/CCControlExtension/CCControl.h"
#include "LuaOpengl.h"
#include "lua_cocos2dx_extension_manual.h"
#include "lua_cocos2dx_coco_studio_manual.hpp"
NS_CC_BEGIN
LuaEngine... |
module Refinery
module <%= namespacing %>
module Admin
class <%= class_name.pluralize %>Controller < Refinery::AdminController
crudify :'refinery/<%= namespacing.underscore %>/<%= singular_name %>', <% if (title = attributes.detect { |a| a.type.to_s == "string" }).present? %>
:title... |
require 'spec_helper'
describe Gares::Search do
describe "search by station name" do
context 'with multiple search results' do
subject do
Gares::Search.new('saint étienne')
end
it 'should remember the query' do
expect(subject.query).to eql('saint étienne')
end
it '... |
body {
background: url('../images/back.jpg') no-repeat center center scroll;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
display: flex;
min-height: 100vh;
flex-direction: column;
padding-top: 50px;
}
.wrap {
fle... |
class SampleMail < MailForm::Base
attributes :name, :email, :nickname
validates :nickname, absence: true
before_deliver do
callbacks << :before
end
after_deliver do
callbacks << :after
end
def callbacks
@callbacks ||= []
end
def headers
{ to: "recipient@example.com", from: self.ema... |
=======
Lookups
=======
Stacker provides the ability to dynamically replace values in the config via a
concept called lookups. A lookup is meant to take a value and convert
it by calling out to another service or system.
A lookup is denoted in the config with the ``${<lookup type> <lookup
input>}`` syntax. If ``<look... |
<form id="lab" class="span12 well" method="post" action="/lab/filmes/incphp/admin.php" enctype="multipart/form-data">
<div class="sombra parte titulo row-fluid">
<div class="well">Adicionar filme</div>
</div>
<div class="sombra parte row-fluid">
<div class="well">
<input type="te... |
import * as types from '../constants/ActionTypes';
export default function (state = new AudioContext(), action) {
switch (action.type) {
case types.SET_AUDIO_CONTEXT:
return action.value;
default:
return state;
}
}
|
<?php
namespace PHPExiftool\Driver\Tag\DICOM;
use JMS\Serializer\Annotation\ExclusionPolicy;
use PHPExiftool\Driver\AbstractTag;
/**
* @ExclusionPolicy("all")
*/
class RadionuclideCodeSequence extends AbstractTag
{
protected $Id = '0054,0300';
protected $Name = 'RadionuclideCodeSequence';
protecte... |
<?php
namespace Arrilot\BitrixModels\Models\Traits;
trait HidesAttributes
{
/**
* The attributes that should be hidden for serialization.
*
* @var array
*/
protected $hidden = [];
/**
* The attributes that should be visible in serialization.
*
* @var array
*/
... |
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<title>AnWord - ScalaTest 2.1.1 - org.scalatest.MustMatchers.AnWord</title>
<meta name="description" content="AnWord - ScalaTest 2.1.1 - org.... |
'use strict';
var fs = require('fs'),
path = require('path'),
_ = require('lodash'),
winston = require('winston'),
Poller = require('./poller'),
ServiceError = require('./error').ServiceError;
/**
* Recurse through the passed method dir,
* finding method config.
* @param {String} dir methods ro... |
// Copyright 2000-2017 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.build.output;
import com.intellij.build.FilePosition;
import com.intellij.build.events.BuildEvent;
import com.intellij.build.events.MessageEvent;
import com.... |
package cmd
import (
"bufio"
"context"
"errors"
"fmt"
"github.com/kobtea/go-todoist/cmd/util"
"github.com/kobtea/go-todoist/todoist"
"github.com/spf13/cobra"
"os"
"strings"
)
// labelCmd represents the label command
var labelCmd = &cobra.Command{
Use: "label",
Short: "subcommand for label",
}
var labelL... |
Clazz.declarePackage ("JS");
Clazz.load (["JS.ScriptExt"], "JS.CmdExt", ["java.lang.Boolean", "$.Float", "$.Long", "java.util.Hashtable", "JU.AU", "$.BS", "$.Base64", "$.Lst", "$.M3", "$.M4", "$.Measure", "$.P3", "$.P4", "$.PT", "$.Quat", "$.SB", "$.V3", "J.api.Interface", "J.atomdata.RadiusData", "J.c.STER", "$.VDW", ... |
h1 {
font-variant: small-caps !important;
font-family: 'Play', sans-serif;
padding-top: 75px;
}
.bg-img {
background-image: url('https://source.unsplash.com/1600x900/?nature,mountain');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
main {
overflow: scroll;
}
ma... |
#pragma once
#include <chrono>
#if defined(_WIN32)
// We don't have C++14 on Windows yet.
// Reimplement std::chrono_literals ourselves until we do.
// Silence the following warning (which gets promoted to an error):
// error: literal operator suffixes not preceded by ‘_’ are reserved for future standardization
#p... |
{% extends "volunteers/base.html" %}
{% load staticfiles %}
{% block cssfiles %}
<link rel="stylesheet" type="text/css" href="{% static 'volunteers/css/staffPages.css' %}" />
{% block specificCss %}
{% endblock specificCss %}
{% endblock cssfiles %}
{% block tabs %}
<a href="{% url 'logout' %}"><button class="logo... |
cask "downie" do
version "4.2.2,4235"
sha256 "a30d4f12b20c6995d7b5d73e1e5bd4e0b991a94fb8c6fc5c8f11ebd1fcd3434c"
url "https://charliemonroesoftware.com/trial/downie/v#{version.major}/Downie_#{version.major}_#{version.after_comma}.dmg",
verified: "charliemonroesoftware.com/"
name "Downie"
desc "Downloads... |
// Copyright (c) Pavel Bakshy, Valeriy Ogiy. All rights reserved. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using OpenQA.Selenium;
using Selenol.Extensions;
namespace Selenol.Elements
{
/// <summary>The base select element.<... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
#include <aws/devicefarm/model/UpdateDevicePoolResult.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/core/utils/UnreferencedParam.h>
#include <utility>
using namespace Aws::DeviceFarm::Model;
using namespace Aws:... |
<?php
/**
* 接口统一入口
* @author: dogstar 2014-10-04
*/
/** ---------------- 根目录定义,自动加载 ---------------- **/
defined('API_ROOT') || define('API_ROOT', dirname(__FILE__));
//自动加载
require_once API_ROOT . '/../PhalApi.php';
$loader = new PhalApi_Loader(API_ROOT, array('Service'));
date_default_timezone_set('Asia/Shang... |
\documentclass[examenvragen.tex]{subfiles}
\begin{document}
\section{Conditie van nulpunten}
\subsection{Opgave}
Gegeven de volgende tweedegraads functie $f(x)$.
\[
f(x) = x^{2} + 2x + c \text{ met } c < 1
\]
Bespreek de conditie van de nulpunten van deze functie $f(x)$.
\subsection{Informatie}
\begin{itemize}
\ite... |
FOUNDATION_EXPORT double AppKitExtrasVersionNumber;
//! Project version string for AppKitExtras.
FOUNDATION_EXPORT const unsigned char AppKitExtrasVersionString[];
// In this header, you should import all the public headers of your framework using statements like #import <AppKitExtras/PublicHeader.h>
|
/**
* Created by mikedanylov on 4/16/16.
*/
import { Mongo } from 'meteor/mongo';
/**
* create Songs collection on a client as well
*/
export const Songs = new Mongo.Collection('songs');
/**
* create Places collection on a client as well
*/
export const Places = new Mongo.Collection('places');
/**
* create Ord... |
<?php
/**
* sfSympalContentListPlugin configuration.
*
* @package sfSympalContentListPlugin
* @subpackage config
* @author Your name here
* @version SVN: $Id: PluginConfiguration.class.php 17207 2009-04-10 15:36:26Z Kris.Wallsmith $
*/
class sfSympalContentListPluginConfiguration extends sfPlugin... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... |
<?xml version='1.0' encoding='utf-8'?><!--
============================================================================================
House of Commons - Canada
- - - - - - - - - - - - - - - - - - - - - - - - -
The data contained in this document is provided in a standard XM... |
package org.codehaus.groovy.runtime.callsite;
import groovy.lang.GroovyObject;
import groovy.lang.GroovyRuntimeException;
import org.codehaus.groovy.runtime.InvokerHelper;
import org.codehaus.groovy.runtime.ScriptBytecodeAdapter;
/**
* Call site for GroovyInterceptable
*/
public class PogoInterceptableSite extends ... |
import random
import sqlalchemy as sa
from neutron.db.vm import vm_db
from neutron.openstack.common import log as logging
from neutron.plugins.common import constants
LOG = logging.getLogger(__name__)
class ChanceScheduler(object):
"""Select a Device that can serve a service in a random way."""
def sche... |
function [ testimages, testlabels, trainimages, trainlabels ] = readMNIST()
%UNTITLED2 Summary of this function goes here
% Detailed explanation goes here
% file format described at the website http://yann.lecun.com/exdb/mnist/
% Read the training images.
fid = fopen('train-images.idx3-ubyte', 'r');
info = dir('tra... |
package org.idreambox.model;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;
import javax.persistence.OneToMany;
impo... |
namespace iControl {
using System.Xml.Serialization;
using System.Web.Services;
using System.ComponentModel;
using System.Web.Services.Protocols;
using System;
using System.Diagnostics;
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepTh... |
var fs = require('fs');
var path = require('path');
var dom = require('xmldom').DOMParser;
var axios = require('axios');
var Promise = require('bluebird');
var xpath = require('xpath');
var scriptDir = path.dirname(require.main.filename);
var p = require(path.join(scriptDir, 'lib', 'sitePaths'));
var lunr = require(pat... |
require 'active_support/core_ext/hash'
module Ufo
module Util
# The default cluster normally defaults to the Ufo.env value.
# But it can be overriden by ufo/settings.yml cluster
#
# More info: http://ufoships.com/docs/settings/
def default_cluster(service)
# to_s.to_sym in case service is n... |
package boofcv.io.wrapper.images;
import boofcv.io.image.ConvertBufferedImage;
import boofcv.io.image.SimpleImageSequence;
import boofcv.io.image.UtilImageIO;
import boofcv.struct.image.ImageBase;
import boofcv.struct.image.ImageType;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.Filename... |
#ifndef SIDECAR_ALGORITHMS_PROCESSTRACKS_H // -*- C++ -*-
#define SIDECAR_ALGORITHMS_PROCESSTRACKS_H
#include <list>
#include "Algorithms/Algorithm.h"
#include "Messages/Video.h"
#include "Parameter/Parameter.h"
namespace SideCar {
namespace Algorithms {
/** Documentation for the algorithm ProcessTracks This task s... |
import isCordova from './isCordova.js'
import readAsByteArray from './readAsByteArray.js'
export default class FileSource {
// Make this.size a method
constructor (file) {
this._file = file
this.size = file.size
}
slice (start, end) {
// In Apache Cordova applications, a File must be resolved usin... |
Automatically find and replace in selection depending on whether or not you have selected text when opening the find and replace panel

|
package com.jakewharton.rxbinding3.appcompat;
import android.app.Activity;
import android.os.Bundle;
import androidx.appcompat.widget.Toolbar;
public final class RxToolbarTestActivity extends Activity {
static final String NAVIGATION_CONTENT_DESCRIPTION = "click me!";
Toolbar toolbar;
@Override protected void... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
<!doctype html>
<html>
<head>
<meta charset="utf-8">
</head>
<body>
<?php
require("functions.php");
error_reporting(config_error_reporting_level);
if(session_id() == '') {
session_start();
}
date_default_timezone_set(config_default_timezone);
$user=get_user_data($_SESSION['login'],$_SESSION[... |
<?php
/*
* Pagination : Start here
*/
$page = form_int("page",1)+0;
$sortby = form_int("sortby",0,0,7);
$sortdir = form_int("sortdir",0,0,1);
if (form_isset("reverse")) {
$sortdir = 1-$sortdir;
}
switch($sortdir) {
case 0 : $orderDir = "ASC"; break;
case 1 : $orderDir = "DESC"; break;
}
switch($sortby) {... |
namespace rocksdb {
class GetContext;
struct KeyContext {
const Slice* key;
LookupKey* lkey;
Slice ukey;
Slice ikey;
Status* s;
MergeContext merge_context;
SequenceNumber max_covering_tombstone_seq;
bool key_exists;
SequenceNumber seq;
void* cb_arg;
PinnableSlice* value;
GetContext* get_context... |
{-# OPTIONS_GHC -fno-warn-orphans #-}
{-# LANGUAGE BangPatterns #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE FlexibleInstances #-}
module Game.Halma.Board.Tests (tests) where
import Control.Monad (forM_)
import Data.List (permutations, sortBy)
import Data.Maybe (isJust, fromJust)
import Data.Function (on)
import Game.... |
'use strict'
var EventEmitter = require('events').EventEmitter
var helper = require('../test-helper')
var Connection = require('../../lib/connection')
global.MemoryStream = function () {
EventEmitter.call(this)
this.packets = []
}
helper.sys.inherits(MemoryStream, EventEmitter)
var p = MemoryStream.prototype
p... |
package com.google.android.gms.drive.internal;
import org.microg.safeparcel.AutoSafeParcelable;
public class CheckResourceIdsExistRequest extends AutoSafeParcelable {
public static Creator<CheckResourceIdsExistRequest> CREATOR = new AutoCreator<CheckResourceIdsExistRequest>(CheckResourceIdsExistRequest.class);
... |
import { createAction, handleAction } from 'vuex-actions'
import * as API from 'apis/counter'
// ------------------------------------
// States
// ------------------------------------
const state = {
fetching: false,
counter: 0
}
// ------------------------------------
// Getters
// ------------------------------... |
/*!@addtogroup mindsensors
* @{
* @defgroup msmtrmx RCX Motor MUX
* RCX Motor MUX
* @{
*/
/** \file mindsensors-rcxmotormux.h
* \brief RobotC Mindsensors RCX Motor MUX Driver
*
* mindsensors-rcxmotormux.h provides an API for the Mindsensors RCX Motor MUX Driver.
* License: You may use this code as you wish, p... |
<?php
namespace Phpug\Controller;
use Doctrine\Common\Collections\ArrayCollection;
use \DateTime;
use Doctrine\ORM\EntityManager;
use Zend\Mvc\Controller\AbstractActionController;
use Zend\View\Model\JsonModel;
use Zend\Json\Json;
/**
* The Controller for de default actions
*
* @category php.ug
* @package Ph... |
package netutil
import (
"errors"
"net"
)
// InterfaceByIP return the interface matched by the IP address.
func InterfaceByIP(ip net.IP) (*net.Interface, error) {
interfaces, err := net.Interfaces()
if err != nil {
return nil, err
}
for _, intf := range interfaces {
addrs, err := intf.Addrs()
if err != ni... |
package de.codecentric.boot.admin.server.eventstore;
import java.util.List;
import java.util.stream.Collectors;
import com.hazelcast.core.EntryAdapter;
import com.hazelcast.core.EntryEvent;
import com.hazelcast.map.IMap;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import de.codecentric.boot.admin.serv... |
using System;
using System.Collections;
using UnityEngine;
using strange.extensions.mediation.impl;
namespace tikal.game {
public class CameraMediator : Mediator {
[Inject]
public ICamera model { get; set; }
[Inject]
public CameraView view { get; set; }
[Inject]
public CameraStateSignal cameraState... |
require 'spec_helper'
RSpec.describe AwardEmojis::AddService do
let_it_be(:user) { create(:user) }
let_it_be(:project) { create(:project) }
let_it_be(:awardable) { create(:note, project: project) }
let(:name) { 'thumbsup' }
subject(:service) { described_class.new(awardable, name, user) }
describe '#execu... |
@interface CMAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@property (strong, nonatomic) UINavigationController *navigationController;
@property (strong, nonatomic) UISplitViewController *splitViewController;
@end
|
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
.. _device-configuration:
===================================
Supported devices and configuration
===================================
Napalm-logs can process syslog messages from the following network operating
systems:
.. toctree::
:maxdepth: 1
junos
iosxr
eos
nxos
ios
netiron
huawei
son... |
function RelationsViewCtrl($scope, $routeParams, $location, $http, $modal, core) {
$scope.navSection = 'relations';
$scope.loadProject($routeParams.slug);
$scope.relation = {};
$scope.reloadRelation = function(id) {
$http.get(core.call('/relations/' + id)).then(function(res) {
$sco... |
<template name="viewActivity">
<span class="text">
<strong>{{data.ownerName}}</strong> - {{data.activityTitle}}
</span>
</template>
|
typedef AliFemtoAnalysisLambdaKaon AFALK;
bool DEFAULT_DO_KT = kFALSE;
struct MacroParams {
std::vector<int> centrality_ranges;
std::vector<int> pair_codes;
float qinv_bin_size_MeV;
float qinv_max_GeV;
bool do_qinv_cf;
bool do_q3d_cf;
bool do_deltaeta_deltaphi_cf;
bool do_avg_sep_cf;
bool do_kt_q3d;... |
package com.amazonaws.services.cloudfront.model.transform;
import javax.xml.stream.events.XMLEvent;
import javax.annotation.Generated;
import com.amazonaws.services.cloudfront.model.*;
import com.amazonaws.transform.Unmarshaller;
import com.amazonaws.transform.StaxUnmarshallerContext;
import com.amazonaws.transform... |
.. _PlatformConfiguration:
VOLTTRON Environment
====================
By default, the VOLTTRON projects bases its files out of VOLTTRON\_HOME
which defaults to "~/.volttron".
- ``$VOLTTRON_HOME/agents`` contains the agents installed on the
platform
- ``$VOLTTRON_HOME/certificates`` contains the certificates for u... |
package com.google.sprint1;
import android.content.Context;
import android.net.nsd.NsdServiceInfo;
import android.net.nsd.NsdManager;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.util.Log;
public class NsdHelper {
Context mContext;
Handler mUpdateHandler;
NsdMana... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.communication.models;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
/... |
package space.kyu.crawlaway;
import java.util.Iterator;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import space.kyu.crawlaway.entity.Page;
import space.kyu.crawlaway.en... |
#if LESSTHAN_NET35
// 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.
using System.Diagnostics;
using System.Dynamic.Utils;
namespace System.Linq.Expressions
{
... |
tinyMCELang['lang_insert_emotions_title'] = 'Insèrer un émoticon';
tinyMCELang['lang_emotions_desc'] = 'Émoticons';
|
module Catcon
class List < Array
end
end
|
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright 2016 Red Hat Inc. and/or its affiliates and other contributors.
-
- 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/... |
id: 619692ff79f5770fc6d8c0b4
title: Step 10
challengeType: 0
dashedName: step-10
---
# --description--
Above the `.ground` element, add a `div` with a `class` of `penguin`. This `div` will contain Flappy Penguin.
# --hints--
You should add a new `div` within the `body`.
```js
assert.equal(document.querySelectorAll... |
#include "uv.h"
#include "task.h"
#include <string.h>
#define PATHMAX 4096
#define SMALLPATH 1
TEST_IMPL(tmpdir) {
char tmpdir[PATHMAX];
size_t len;
char last;
int r;
/* Test the normal case */
len = sizeof tmpdir;
tmpdir[0] = '\0';
ASSERT(strlen(tmpdir) == 0);
r = uv_os_tmpdir(tmpdir, &len);
... |
<?php
// Warning! This code was generated by WSDL2PHP tool.
// author: Filippov Andrey <afi.work@gmail.com>
// see https://solo-framework-lib.googlecode.com
namespace Moneta\Types;
/**
* Тип для запроса на отмену операций в пакетном режиме.
* Request parameters for canceling transactions in
* batch mode.
*... |