text
stringlengths
3
1.05M
#!/usr/bin/env python # # Copyright 2007 The Closure Linter 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 #...
using Orchard.ContentManagement; namespace Orchard.Warmup.Models { public class WarmupSettingsPart : ContentPart<WarmupSettingsPartRecord> { public string Urls { get { return Record.Urls; } set { Record.Urls = value; } } public bool Scheduled { get { r...
<?php namespace FOS\RestBundle\Decoder; use Symfony\Component\Serializer\Encoder\XmlEncoder; use Symfony\Component\Serializer\Exception\UnexpectedValueException; /** * Decodes XML data * * @author Jordi Boggiano <j.boggiano@seld.be> * @author John Wards <jwards@whiteoctober.co.uk> * @author Fabian Vogler <fab...
/* ============================================================= Tabby 3.2 Simple, mobile-first toggle tabs by Chris Ferdinandi. http://gomakethings.com Free to use under the MIT License. http://gomakethings.com/mit/ * ============================================================= */ /* Hid...
<?php /** * The contents of this file was generated using the WSDLs as provided by eBay. * * DO NOT EDIT THIS FILE! */ namespace DTS\eBaySDK\BulkDataExchange\Types; /** * * @property integer $errorId * @property string $domain * @property \DTS\eBaySDK\BulkDataExchange\Enums\ErrorSeverity $severity * @propert...
<div class="apiDetail"> <div> <h2><span>Function(event, treeId, treeNode)</span><span class="path">setting.callback.</span>onCollapse</h2> <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3> <div class="desc"> <p></p> <div class="longdesc"> <p...
<!-- ~ Copyright 2005-2006 The Apache Software Foundation. ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless req...
// 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 Network drop-down implementation. */ cr.define('cr.ui', function() { /** * Whether keyboard flow is in use. When setting t...
/* * 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...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; namespace Microsoft.CodeAnalysis { public sealed class WorkspaceRegistration { private Workspace _registeredWorkspace; ...
// Reference: // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html // http://dev.w3.org/html5/spec/the-canvas-element.html // If the browser is IE and does not support HTML5 Canvas if (window["ActiveXObject"] && !window["CanvasRenderingContext2D"]) { (function() { 'use strict' ...
/** * @module ol/geom/flat/length */ /** * @param {Array<number>} flatCoordinates Flat coordinates. * @param {number} offset Offset. * @param {number} end End. * @param {number} stride Stride. * @return {number} Length. */ export function lineStringLength(flatCoordinates: number[], offset: number, end: number, ...
:host { display: block; position: relative; border-right: 1px solid silver; } core-header-panel { position: absolute; top: 0; left: 0; height: 100%; width: 100%; } core-toolbar { background-color: #eeeeee; }
exports.render = function(req, res) { "use strict"; res.render('index', { title : 'Minhas tarefas' }); }
package grpcproxy import ( "context" "math" "sync" "github.com/coreos/etcd/clientv3" "github.com/coreos/etcd/etcdserver/api/v3rpc/rpctypes" "golang.org/x/time/rate" "google.golang.org/grpc" ) const ( lostLeaderKey = "__lostleader" // watched to detect leader loss retryPerSecond = 10 ) type leader struct ...
layout: post title: "My First Post!" date: 2019-01-20 tags: - Jekyll - Blogging - Vim --- Today, I'm setting up this site using Jekyll, and hosting it in GitHub. In this small blog, I plan to make regular posts about coding projects, mainly related to my research in computational biochemistry. My main motivat...
using System; using System.Collections.Generic; using System.Threading.Tasks; using Orleans.Runtime.Configuration; namespace Orleans.Runtime { /// <summary> /// Interface for system management functions of silos, /// exposed as a grain for receiving remote requests / commands. /// </summary> p...
function [distance, intersection] = DistanceEllipse(points, ellipse, plotme) %DistanceEllipse distance from points to ellipse. % % inputs % points the polar coordinates of the poitns [x, y]. % ellipse ellipse parameters; [cx, cy, ax, ay, rx] % plotme if true it plots the poitns and the ellipse. % % outputs ...
.oo-ui-icon-bell { background-image: /* @embed */ url(themes/mediawiki/images/icons/bell.png); } .oo-ui-icon-bell-invert { background-image: /* @embed */ url(themes/mediawiki/images/icons/bell-invert.png); } .oo-ui-icon-bellOn { background-image: /* @embed */ url(themes/mediawiki/images/icons/bellOn-rtl.png); } .oo...
#include <Box2D/Collision/b2Collision.h> #include <Box2D/Collision/b2Distance.h> #include <Box2D/Collision/b2TimeOfImpact.h> #include <Box2D/Collision/Shapes/b2CircleShape.h> #include <Box2D/Collision/Shapes/b2PolygonShape.h> #include <Box2D/Common/b2Timer.h> #include <stdio.h> float32 b2_toiTime, b2_toiMaxTime; in...
package net.nemerosa.ontrack.jenkins.steps; import com.google.common.collect.ImmutableSet; import groovy.lang.Binding; import groovy.lang.GroovyShell; import hudson.AbortException; import hudson.Extension; import hudson.model.TaskListener; import net.nemerosa.ontrack.jenkins.dsl.OntrackDSLConnector; import net.nemeros...
#pragma once #include <draw3d/node.h> namespace osg { class Geode; class Geometry; class DrawElementsUInt; } namespace Parsley { namespace Draw3D { public ref class PointCloud : public NodeT<osg::Geode> { public: PointCloud(); /// Add point to point-cloud ...
/** * @author mrdoob / http://mrdoob.com/ */ import { UIPanel, UIButton } from './libs/ui.js'; import { UIBoolean } from './libs/ui.three.js'; var Toolbar = function ( editor ) { var signals = editor.signals; var strings = editor.strings; var container = new UIPanel(); container.setId( 'toolbar' ); container...
""" Creates the default Site object. """ from django.apps import apps as global_apps from django.conf import settings from django.core.management.color import no_style from django.db import DEFAULT_DB_ALIAS, connections, router def create_default_site(app_config, verbosity=2, interactive=True, using=DEFAULT_DB_ALIAS...
<?php if (!defined('THINK_PATH')) exit();?><form id="pagerForm" method="post" action="<?php echo U('goods_attr/index');?>"> <input type="hidden" name="status" value="${param.status}"> <input type="hidden" name="keywords" value="${param.keywords}" /> <input type="hidden" name="pageNum" value="1" /> <input type="hidd...
> [Normalize](http://en.wikipedia.org/wiki/URL_normalization) a URL Useful when you need to display, store, deduplicate, sort, compare, etc, URLs. ## Install ``` $ npm install --save normalize-url ``` ## Usage ```js const normalizeUrl = require('normalize-url'); normalizeUrl('sindresorhus.com'); //=> 'http://si...
<Namespace Name="Banshee.Streaming"> <Docs> <summary>To be added.</summary> <remarks>To be added.</remarks> </Docs> </Namespace>
#include "sfx/sfxDevice.h" #endif #ifndef _SFXFMODVOICE_H_ #include "sfx/fmod/sfxFMODVoice.h" #endif #ifndef _SFXFMODBUFFER_H_ #include "sfx/fmod/sfxFMODBuffer.h" #endif #ifndef _SFXFMODPLUGIN_H_ #include "sfx/fmod/sfxFMODPlugin.h" #endif #include "core/util/tDictionary.h" // Disable warning for unused s...
package util import ( "fmt" "os" "path" "github.com/golang/glog" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/kubernetes/pkg/api/v1" storage "k8s.io/kubernetes/pkg/apis/storage/v1beta1" "k8s.io/kubernetes/pkg/client/clientset_generated/clientset" "k8s.io/kubernetes/pkg/util/mount" ) const readyFi...
// Copyright 2011-2012 James Michael Callahan // See LICENSE-2.0 file for licensing information. package org.scalagfx.io import java.net._ import java.io._ import java.util.jar._ //-------------------------------------------------------------------------------------------------- // R E S O U R C E S ...
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://www.netbeans.org/ns/project/1"> <type>org.netbeans.modules.java.j2seproject</type> <configuration> <data xmlns="http://www.netbeans.org/ns/j2se-project/3"> <name>ObserverSample</name> <source-roots> <ro...
// 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.Collections.Generic; using System.Collections.Immutable; using System...
from __future__ import unicode_literals try: import unittest2 as unittest except ImportError: import unittest from mwparserfromhell.compat import str from mwparserfromhell.nodes import ExternalLink, Text from ._test_tree_equality import TreeEqualityTestCase, wrap, wraptext class TestExternalLink(TreeEqualit...
package org.appcelerator.titanium.view; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.lang.ref.SoftReference; import java.net.URI; import java.net.URISyntaxException; import java.util.Collections; import java.util.HashMap; import java.util.Map; import org.appcelerator.kroll...
var _ = require('lodash'), Promise = require('bluebird'), errors = require('../errors'), ghostBookshelf = require('./base'), events = require('../events'), Tag, Tags; function addPostCount(options, obj) { if (options.include && options.include.indexOf('p...
package org.terasology.entitySystem.entity; import com.google.common.collect.Maps; import org.terasology.entitySystem.Component; import org.terasology.entitySystem.MutableComponentContainer; import org.terasology.entitySystem.entity.internal.EngineEntityManager; import org.terasology.entitySystem.entity.internal.Enti...
int main(int argc, char * argv[]) { @autoreleasepool { return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); } }
package io.shardingsphere.opentracing.hook; import com.google.common.base.Joiner; import io.opentracing.ActiveSpan; import io.opentracing.Span; import io.opentracing.tag.Tags; import io.shardingsphere.core.metadata.datasource.DataSourceMetaData; import io.shardingsphere.core.routing.RouteUnit; import io.shardingsphe...
package de.seven.fate.message.route; import de.seven.fate.message.dto.MessagesDTO; import lombok.extern.log4j.Log4j2; import org.apache.camel.Exchange; import org.apache.camel.Processor; import org.springframework.stereotype.Component; @Log4j2 @Component public class XmlMessageProcessor implements Processor { @O...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <link rel="icon" href="http://fian.my.id/static/favicon.png" /> <meta name="msapplication-tap-highlight" content="no"/> <title>Waves</title> <meta name="desc...
item | info | notes ------------------------------|------------|--------------------------------------------------------------------------------------------- **node** version | | *output from `node --version`* **npm** version | | *output fr...
<div class="page-head"> <div class="container"> <!-- BEGIN PAGE TITLE --> <div class="page-title"> <h1>Search Results <small>search results</small></h1> </div> <!-- END PAGE TITLE --> <!-- BEGIN PAGE TOOLBAR --> <div class="page-toolbar"> <!-- BEGIN THEME PANEL --> <div class="btn-group ...
/***************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___...
<?php defined('BX_DOL') or die('hack attempt'); /** * Profile forms helper functions */ class BxBaseModProfileFormsEntryHelper extends BxBaseModGeneralFormsEntryHelper { protected $_sAutoApproval = false; public function __construct($oModule) { parent::__construct($oModule); $CNF = &$t...
<?php /* Copyright 2011 Thomas Griffin (thomasgriffinmedia.com) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, bu...
using System; using UnityEngine; namespace UnityStandardAssets.ImageEffects { [ ExecuteInEditMode] [RequireComponent (typeof(Camera))] [AddComponentMenu ("Image Effects/Rendering/Screen Space Ambient Obscurance")] class ScreenSpaceAmbientObscurance : PostEffectsBase { [Range (0,3)] publ...
<a href='https://github.com/angular/angular.js/edit/v1.6.x/src/ngMessages/messages.js?message=docs(ngMessageExp)%3A%20describe%20your%20change...#L624' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit">&nbsp;</i>Improve this Doc</a> <a href='https://github.com/angular/angular.js/tree/v1.6.2/sr...
#include "nsconfig.h" #ifdef HAVE_THREAD #include "thread_beacon.h" #include "thread_config.h" #include "common_functions.h" #include "thread_meshcop_lib.h" #include <string.h> #include "ns_trace.h" /*service lib includes */ #include "Service_Libs/utils/ns_crc.h" #define TRACE_GROUP "Tbcn" //#define TRACE_DEEP #ifdef...
/* Based on the theme at http://bonsaiden.github.com/JavaScript-Garden */ #multi.theme-midnight .content { background: #0F192A; } #multi.theme-midnight .list .active, #multi.theme-midnight .list li:hover { background:#0F192A; color:#D1EDFF; } #multi.theme-midnight .list .dirty { color:#4DD; } /*<!--match-->*/ .cm-s-m...
"""zmq Context class""" # Copyright (C) PyZMQ Developers # Distributed under the terms of the Modified BSD License. import weakref from ._cffi import C, ffi from .constants import EINVAL, IO_THREADS, LINGER from zmq.error import ZMQError, InterruptedSystemCall, _check_rc class Context(object): _zmq_ctx = None...
const std::string CLIENT_NAME("Satoshi"); // Client version number #define CLIENT_VERSION_SUFFIX "-beta" // The following part of the code determines the CLIENT_BUILD variable. // Several mechanisms are used for this: // * first, if HAVE_BUILD_INFO is defined, include build.h, a file that is // generated by the ...
namespace System.Data { using System; using System.ComponentModel; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; internal sealed class NameNode : ExpressionNode { internal char open = '\0'; internal char close = '\0'; internal st...
<?php if ( ! class_exists( 'GFForms' ) ) { die(); } class GF_Field_Email extends GF_Field { public $type = 'email'; public function get_form_editor_field_title() { return __( 'Email', 'gravityforms' ); } function get_form_editor_field_settings() { return array( 'conditional_logic_field_setting', 'p...
End-to-end (e2e) tests for Kubernetes provide a mechanism to test end-to-end behavior of the system, and is the last signal to ensure end user operations match developer specifications. Although unit and integration tests provide a good signal, in a distributed system like Kubernetes it is not uncommon that a minor cha...
package org.apache.flink.runtime.executiongraph.failover.flip1; import org.apache.flink.runtime.jobgraph.IntermediateResultPartitionID; /** This checker helps to query result partition availability. */ public interface ResultPartitionAvailabilityChecker { /** * Returns whether the given partition is avail...
"""A more or less complete user-defined wrapper around list objects.""" import collections class UserList(collections.MutableSequence): def __init__(self, initlist=None): self.data = [] if initlist is not None: # XXX should this accept an arbitrary sequence? if type(initlis...
using base::ASCIIToUTF16; namespace content { class ResourceDispatcherHostBrowserTest : public ContentBrowserTest, public DownloadManager::Observer { public: ResourceDispatcherHostBrowserTest() : got_downloads_(false) {} protected: virtual void SetUpOnMainThread() OVER...
oldfile="$1" [ ! -f "$oldfile" ] && { echo "Could not find $oldfile"; exit -1 ; } LOADSTR= if grep -q CATEOF "$oldfile"; then sed -n '/<<CATEOF/,/^CATEOF/p' "$oldfile" | grep -v "CATEOF" > data.1 LOADSTR='--load data.1' echo found data, saved as data.1 wc -l data.1 fi str=$( echo "$oldfile" | sed 's/^t[0-9...
\section{Processor Load} Associated external model: \texttt{stress.py} The entire purpose of this model is to keep a processor at 100 percent utilization for a specified interval. It can be coupled with other models via an ensemble model to assure a calculation takes at least a certain period of time. The input to th...
'use strict'; describe("ngAnimate $$animateCssDriver", function() { beforeEach(module('ngAnimate')); beforeEach(module('ngAnimateMock')); function int(x) { return parseInt(x, 10); } function hasAll(array, vals) { for (var i = 0; i < vals.length; i++) { if (array.indexOf(vals[i]) === -1) retu...
require 'spec_helper' module Alchemy shared_examples_for "has image transformations" do describe "#thumbnail_size" do context "picture is 300x400 and has no crop size" do it "should return the correct recalculated size value" do allow(picture).to receive(:image_file_width) { 400 } ...
// // NSDecimalNumber+Extensions.m // CocoaExtensions // // Created by Lars Kuhnt on 11.03.14. // Copyright (c) 2014 Promptus. All rights reserved. // #import "NSDecimalNumber+Extensions.h" @implementation NSDecimalNumber (Extensions) /** * @brief 四舍五入 NSRoundPlain * * @param scale 限制位数 * * @return 返回结果 ...
using Xunit; namespace System.IO.Tests { public class FileInfo_AppendText : File_ReadWriteAllText { protected override void Write(string path, string content) { var writer = new FileInfo(path).AppendText(); writer.Write(content); writer.Dispose(); } ...
// apiserver is the main api server and master for the cluster. // it is responsible for serving the cluster management API. package main import ( "fmt" "math/rand" "os" "time" "k8s.io/apimachinery/pkg/util/wait" "k8s.io/apiserver/pkg/util/flag" "k8s.io/apiserver/pkg/util/logs" "k8s.io/kubernetes/cmd/kube-a...
package com.mossle.keyvalue; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import com.mossle.api.form.FormDTO; import org.springframework.util.MultiValueMap; import org.springframework.web.multipart.MultipartFile; public class FormParameter { public static...
require 'active_resource/connection' require 'cgi' require 'set' module ActiveResource # ActiveResource::Base is the main class for mapping RESTful resources as models in a Rails application. # # For an outline of what Active Resource is capable of, see link:files/vendor/rails/activeresource/README.html. # #...
var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; var Rule = (function (_super) { __extends(Rule, _super); ...
<?php namespace Symfony\Component\Validator\Mapping\Loader; use Symfony\Component\Validator\Exception\MappingException; abstract class FileLoader implements LoaderInterface { protected $file; /** * Contains all known namespaces indexed by their prefix * @var array */ protected $namespac...
namespace gfx { ImageSkiaRep::ImageSkiaRep() : scale_(0.0f) {} ImageSkiaRep::ImageSkiaRep(const gfx::Size& size, float scale) : scale_(scale) { bitmap_.allocN32Pixels(static_cast<int>(size.width() * this->scale()), static_cast<int>(size.height() * this->scale())); bitmap_.eraseColor(kPlac...
namespace i18n { namespace addressinput { namespace { const char kSlashDelim[] = "/"; const char kDashDelim[] = "--"; const char kData[] = "data"; const char kUnknown[] = "ZZ"; // Assume the language_tag has had "Latn" script removed when this is called. bool ShouldSetLanguageForKey(const std::string& language_tag, ...
<?php namespace Symfony\Bundle\SecurityBundle\DependencyInjection; use Symfony\Bundle\SecurityBundle\DependencyInjection\Security\Factory\AbstractFactory; use Symfony\Component\Security\Core\Authorization\AccessDecisionManager; use Symfony\Component\Config\Definition\Builder\TreeBuilder; use Symfony\Component\Confi...
<?php /** * Squiz_Sniffs_Strings_ConcatenationSpacingSniff. * * Makes sure there are no spaces between the concatenation operator (.) and * the strings being concatenated. * * @category PHP * @package PHP_CodeSniffer * @author Greg Sherwood <gsherwood@squiz.net> * @author Marc McIntyre <mmcintyre@sq...
require 'spec_helper' describe CBS::Configuration do describe '.configure' do it 'lets you configure options' do CBS.configure do |config| config.sport = 'tennis' config.timeout = 1 config.open_timeout = 20 end client = CBS::Client.new expect(client.sport).to eq(...
//------------------------------------------------------------------------------ // File: CtlUtil.cpp // // Desc: DirectShow base classes. // // Copyright (c) 1992-2001 Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ // Base classe...
/*********************************************************************** created: 27/3/2005 author: Tomas Lindquist Olsen (based on code by Paul D Turner) purpose: Interface to base class for Menubar widget *************************************************************************/ /*******************************...
import React, { Component } from 'react'; import Cookies from 'js-cookie'; import fetch from 'isomorphic-fetch'; import Dexie from 'dexie'; class Provider extends Component { componentDidMount = async () => { const db = new Dexie('kindle-newrelease-chekcer-webapp-db'); db.version(1).stores({ sessions: '&iden...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>User agent detail - Mozilla/5.0 (Linux; Android 4.1.1; SCH-I925 Build/JRO03C) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Safari/535.19</title> <link rel="stylesheet" href="https://cdnjs.cloudflare....
This post is part of a daily series of posts introducing the most exciting new parts of iOS8 for developers - [#iOS8DayByDay](https://twitter.com/search?q=%23iOS8DayByDay). To see the posts you've missed check out the [index page](http://shinobicontrols.com/iOS8DayByDay), but have a read through the rest of this post f...
namespace sandbox { struct SandboxInterfaceInfo; } namespace content { class ContentMainDelegate; struct ContentMainParams { explicit ContentMainParams(ContentMainDelegate* delegate) : delegate(delegate), #if defined(OS_WIN) instance(NULL), sandbox_info(NULL), #elif !defined(OS_ANDROID) ...
<?php namespace Symfony\Component\Validator\Tests\Constraints; use Symfony\Component\Validator\Constraints\Luhn; use Symfony\Component\Validator\Constraints\LuhnValidator; use Symfony\Component\Validator\Validation; class LuhnValidatorTest extends AbstractConstraintValidatorTest { protected function getApiVers...
<?php /** * Created by PhpStorm. * User: Jenner * Date: 2015/10/17 * Time: 14:33 */ $reader = new \Jenner\LogMonitor\Reader\Reader('/var/log/messages'); $filter = new Jenner\LogMonitor\Filter\MatchFilter("exception"); $notify = new \Jenner\LogMonitor\Notification\EchoNotification(); $task = new \Jenner\LogMonito...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * The `$$` command is a short way to call the [`elements`](/api/protocol/elements.html) command in order * to fetch multiple elements on the page. It returns an array with element results that will have an * extended prototype to c...
<html> <head> <script src="../../../editing/editing.js" language="JavaScript" type="text/JavaScript" ></script> <script src="../../../resources/js-test.js"></script> </head> <body> <p id="description"></p> <div id="console"></div> <br></br> <div contenteditable id="source">Text to copy-paste-undo.</div> <input type="t...
/** * Wait until the test condition is true or a timeout occurs. Useful for waiting * on a server response or for a ui change (fadeIn, etc.) to occur. * * @param testFx javascript condition that evaluates to a boolean, * it can be passed in as a string (e.g.: "1 == 1" or "$('#bar').is(':visible')" or * as a callb...
<?php namespace LaraComponents\Seo\Entities; use LaraComponents\Seo\Traits\HasLimit; use LaraComponents\Seo\Contracts\Title as TitleContract; class Title implements TitleContract { use HasLimit; /** * @var array */ protected $segments = []; /** * @var string */ protected $se...
package io.truthencode.ddo.model.religions import io.truthencode.ddo.model.item.weapon.{FavoredWeapon, WeaponCategory} import io.truthencode.ddo.model.worlds.Eberron /** * Created by adarr on 4/9/2017. */ trait SilverFlame extends Eberron with FavoredWeapon { override val favoredWeapon: WeaponCategory ...
package main import ( "github.com/dotcloud/docker/sysinit" ) var ( GITCOMMIT string VERSION string ) func main() { // Running in init mode sysinit.SysInit() return }
package org.jrimum.bopepo.parametro; import org.jrimum.bopepo.BancosSuportados; import org.jrimum.domkee.financeiro.banco.ParametroBancario; /** * Parâmetros bancários específicos para o * {@link BancosSuportados#BANCO_SICREDI}. * * @author <a href="http://gilmatryx.googlepages.com/">Gilmar P.S.L.</a> * *...
package org.apache.ignite.internal.visor.verify; import java.io.IOException; import java.io.ObjectInput; import java.io.ObjectOutput; import org.apache.ignite.internal.util.typedef.internal.S; import org.apache.ignite.internal.util.typedef.internal.U; import org.apache.ignite.internal.visor.VisorDataTransferObject; ...
/** * Benchmark client module * @module */ 'use strict'; var fs = require('fs'); var path = require('path'); var util = require('util'); var EventEmitter = require('events'); var async = require('async'); var _ = require('lodash'); var PoissonProcess = require('poisson-process'); var Histogram = require('./hist...
/*! * \file attribute_name.hpp * \author Andrey Semashev * \date 28.06.2010 * * The header contains attribute name interface definition. */ #ifndef BOOST_LOG_ATTRIBUTE_NAME_HPP_INCLUDED_ #define BOOST_LOG_ATTRIBUTE_NAME_HPP_INCLUDED_ #include <iosfwd> #include <string> #include <boost/assert.hpp> #include ...
<?php /** * Created by PhpStorm. * User: karlvaniseghem * Date: 26/06/15 * Time: 11:12 */ namespace Bakgat\Notos\Domain\Model; interface KindRepository { /** * Get the kind by name * * @param $name * @return Kind */ public function get($name); }
package org.apache.curator.x.rpc.idl.structs; import com.facebook.swift.codec.ThriftField; import com.facebook.swift.codec.ThriftStruct; @ThriftStruct public class GetDataSpec { @ThriftField(1) public String path; @ThriftField(2) public boolean watched; @ThriftField(3) public String asyncCo...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/main_nav_drawer" android:layout_height="match_parent" android:layout_width="match_parent"> <FrameLayout android:layout_...
package com.stratio.crossdata.streaming.helpers import com.github.nscala_time.time.Imports._ import com.stratio.common.utils.components.logger.impl.SparkLoggerComponent import com.stratio.crossdata.streaming.constants.KafkaConstants._ import com.stratio.crossdata.streaming.kafka.{KafkaInput, KafkaProducer} import com...
package com.amazonaws.services.cloudwatch.model; import java.io.Serializable; import com.amazonaws.AmazonWebServiceRequest; /** * Container for the parameters to the {@link com.amazonaws.services.cloudwatch.AmazonCloudWatch#putMetricAlarm(PutMetricAlarmRequest) PutMetricAlarm operation}. * <p> * Creates or updat...
<?php namespace WindowsAzure\Common\Internal\Atom; use WindowsAzure\Common\Internal\Validate; use WindowsAzure\Common\Internal\Resources; use WindowsAzure\Common\Internal\Atom\AtomLink; /** * The base class of ATOM library. * * @category Microsoft * @package WindowsAzure\Common\Internal\Atom * @author Az...
require 'flickraw' Riiif::Image.file_resolver = Riiif::HTTPFileResolver.new Riiif::Image.file_resolver.id_to_uri = lambda do |id| FlickRaw.url_o(flickr.photos.getInfo(photo_id: id)) end
LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2010-2012 Jo-Philipp Wich <xm@subsignal.org> 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://w...