text
stringlengths
3
1.05M
/* AnythingSlider v1.8+ Minimalist Square theme By Rob Garrison */ /***************************** SET DEFAULT DIMENSIONS HERE *****************************/ /* change the ID & dimensions to match your slider */ #slider { width: 700px; height: 390px; list-style: none; /* Prevent FOUC (see FAQ page) and keep thi...
#import "POPBasicAnimation.h" #import "POPPropertyAnimationInternal.h" // default animation duration static CGFloat const kPOPAnimationDurationDefault = 0.4; // progress threshold for computing done static CGFloat const kPOPProgressThreshold = 1e-6; static void interpolate(POPValueType valueType, NSUInteger count,...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.5.0_22) on Sun Oct 21 11:03:15 GMT+01:00 2012 --> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <TITLE> Uses of Interface org.apach...
/* http://keith-wood.name/datepick.html Finnish localisation for jQuery Datepicker. Written by Harri Kilpiö (harrikilpio@gmail.com). */ (function($) { $.datepick.regional['fi'] = { monthNames: ['Tammikuu','Helmikuu','Maaliskuu','Huhtikuu','Toukokuu','Kes&auml;kuu', 'Hein&auml;kuu','Elokuu','Sy...
// ---------------------------------------------------------------------------------- // // 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 contextlib import contextmanager import zlib import io from socket import timeout as SocketTimeout from ._collections import HTTPHeaderDict from .exceptions import ( ProtocolError, DecodeError, ReadTimeoutError, ResponseNotChunked ) from .packages.six import string_types as basestring, binary_type, PY3 from ....
.. 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 License, Version 2.0 (the "License"); y...
<html> <body> Reports local variables named identically to visible fields of their class or surrounding classes if it is a local variable inside of an inner or anonymous class. Such a variable name may be confusing. <!-- tooltip end --> <p> Use the first checkbox below to ignore local variables hiding a super class fie...
public class CompositeFile extends CompositeEntry { private String name; private int size; public CompositeFile(String name, int size) { this.name = name; this.size = size; } public String getName() { return name; } public int getSize() { return size; }...
<?php use Symfony\Component\HttpFoundation\Request; use Symfony\Component\Debug\Debug; // If you don't want to setup permissions the proper way, just uncomment the following PHP line // read http://symfony.com/doc/current/book/installation.html#configuration-and-setup for more information //umask(0000); // This chec...
cask "pokemon-reborn" do version "19.12" sha256 :no_check # required as upstream package is updated in-place url "https://www.rebornevo.com/downloads/Reborn#{version.major}-Mac.zip" name "Pokemon Reborn" desc "Third-party Pokemon game" homepage "https://www.rebornevo.com/" livecheck do url "https://...
var assert = require('assert'); var R = require('../..'); module.exports = function(actual, expected) { assert.strictEqual(arguments.length, 2); assert.strictEqual(R.toString(actual), R.toString(expected)); };
<?php /* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful,...
select age, count(1) value from bank where age < 30 group by age order by age
#ifndef __TZNAMES_H #define __TZNAMES_H /** * \file * \brief C++ API: TimeZoneNames */ #include "unicode/utypes.h" #if !UCONFIG_NO_FORMATTING #include "unicode/uloc.h" #include "unicode/unistr.h" U_CDECL_BEGIN /** * Constants for time zone display name types. * @stable ICU 50 */ typedef enum UTimeZoneNameTy...
<?php namespace CG\Proxy; /** * Interface for Method Interceptors. * * Implementations of this interface can execute custom code before, and after the * invocation of the actual method. In addition, they can also catch, or throw * exceptions, modify the return value, or modify the arguments. * * This is also...
package org.wso2.siddhi.query.api.expression.math; import org.wso2.siddhi.query.api.expression.Expression; /** * Multiply {@link Expression} */ public class Multiply extends Expression { private static final long serialVersionUID = 1L; private Expression leftValue; private Expression rightValue; ...
/** * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * * Facebook reserves all rights not expressly granted. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ...
// Generated by CoffeeScript 1.11.1 /* ExternalEditor Kevin Gravier <kevin@mrkmg.com> MIT */ (function() { var CreateFileError, extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.protot...
function heatmap_calendar( pRegionId, pOptions, pPluginInitJavascript ) { var gSpinner, gDayRect, gTooltip; var gOptions = jQuery.extend( { cellSize: 16, firstYear: 0, periods: 1, dayCaption: ['Mon','Tue','Wed','Thu','Fri','Sat','Sun'], monthCaption: ...
import assert from "assert"; import * as t from "babel-types"; import { hoist } from "./hoist"; import { Emitter } from "./emit"; import * as util from "./util"; let getMarkInfo = require("private").makeAccessor(); exports.visitor = { Function: { exit: function(path, state) { let node = path.node; ...
/* * Created by IntelliJ IDEA. * User: yole * Date: 23.11.2006 * Time: 13:40:27 */ package com.intellij.openapi.vcs.changes.shelf; import com.intellij.CommonBundle; import com.intellij.openapi.application.ModalityState; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.project.Project; ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="zh"> <head> <!-- Generated by javadoc (version 1.7.0_07) on Tue Jun 04 15:59:39 CST 2019 --> <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> <title>TemplateMessageSend...
#include "platform/CCPlatformConfig.h" #if CC_TARGET_PLATFORM == CC_PLATFORM_WIN32 #ifndef __AUDIO_CACHE_H_ #define __AUDIO_CACHE_H_ #include <string> #include <mutex> #include <vector> #ifdef OPENAL_PLAIN_INCLUDES #include <al.h> #else #include <AL/al.h> #endif #include "CCPlatformMacros.h" #define QUEUEBUFFER_NU...
/** * # Utils * Parts of the model code which can be split out and unit tested */ var _ = require('lodash'), collectionQuery, filtering, addPostCount, tagUpdate; addPostCount = function addPostCount(options, itemCollection) { if (options.include && options.include.indexOf('post_count') > -1) { ...
package water.exec; import static org.junit.Assert.fail; import org.junit.BeforeClass; import org.junit.Test; import water.Key; import water.Lockable; import water.TestUtil; import water.fvec.Frame; public class DdplyTest extends TestUtil { @BeforeClass public static void stall() { stall_till_cloudsize(3); } //...
<?php namespace Anomaly\AddonsModule\Addon\Table; use Anomaly\Streams\Platform\Ui\Table\TableBuilder; /** * Class AddonTableBuilder * * @link http://pyrocms.com/ * @author PyroCMS, Inc. <support@pyrocms.com> * @author Ryan Thompson <ryan@pyrocms.com> */ class AddonTableBuilder extends Tab...
/* eslint no-useless-escape: 0, quotes: 0 */ const path = require('path'); const defer = require('config/defer').deferConfig; const sec = 1000; const min = sec * 60; const hr = min * 60; const root = process.cwd(); // 'defer' defers calc until the final merged configuration structure has been built module.exports ...
.. ************************************************** * * * Automatically generated file, do not edit! * * * ************************************************** .. _amdgpu_synid10_vaddr_flat_global: va...
<?php namespace backend\modules\bdk\evaluation\controllers; use Yii; use backend\models\TrainingClassSubjectTrainerEvaluation; use backend\modules\bdk\evaluation\models\TrainingClassSubjectTrainerEvaluationSearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; /** * TrainingC...
namespace FinanceTracker.UniversalApp.UI.Helpers { using System; using System.Windows.Input; public class DelegateCommand<T> : ICommand { private readonly Action<T> execute; private readonly Func<T, bool> canExecute; public DelegateCommand(Action<T> execute, Func<T, bool> canE...
<!doctype html> <!-- Copyright (c) 2015 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at...
import { expect } from 'chai'; import { maxBy as _maxBy } from 'lodash'; import prettyjson from 'prettyjson'; import initServices from '../src/init-services'; import reindex from '../src/reindex.js'; // Environment variables must be provided for the tests to work const now = Date.now(); const prefix = `ALGOLIA_FIREB...
using System; using UnityEngine; namespace UnityStandardAssets._2D { public class Camera2DFollow : MonoBehaviour { public Transform target; public float damping = 1; public float lookAheadFactor = 3; public float lookAheadReturnSpeed = 0.5f; public float lookAheadMoveThr...
 namespace GRA.Controllers.ViewModel.MissionControl.Pages { public class PagePreviewViewModel { public string Content { get; set; } public string Stub { get; set; } } }
// <script language="JavaScript" type="text/javascript"> // note that we cuddle our elses in here, this is required for some // browsers according to: http://en.wikipedia.org/wiki/JavaScript_syntax var mailhost = 'https://mail.example.com'; /* If you want a default webmail application launched when a user clic...
/** * Immutable data encourages pure functions (data-in, data-out) and lends itself * to much simpler application development and enabling techniques from * functional programming such as lazy evaluation. * * While designed to bring these powerful functional concepts to JavaScript, it * presents an Object-Orien...
<script type="text/javascript"> var __time_out = <{$cookiePeriod}>; </script>
from twisted.python import versions version = versions.Version('twisted.lore', 12, 2, 0)
from __future__ import unicode_literals from django.utils.timezone import now, timedelta from django.core.management.base import BaseCommand, CommandError from django.db.models import Count from pybb.models import Topic class Command(BaseCommand): help = 'Resave all posts.' def handle(self, *args, **kwargs):...
/******************************* Dimmer *******************************/ .dimmable { position: relative; } .ui.dimmer { display: none; position: absolute; top: 0em !important; left: 0em !important; width: 100%; height: 100%; text-align: center; vertical-align: middle; background: rgb...
// // Licensed under the terms in License.txt // // Copyright 2010 Allen Ding. All rights reserved. // #import "KWEqualMatcher.h" #import "KWFormatter.h" #import "KWValue.h" @interface KWEqualMatcher() #pragma mark - Properties @property (nonatomic, readwrite, strong) id otherSubject; @end @implementation KWEqual...
@implementation FFTPrecomputeLayoutManager NSString * FFTPrecomputeLayoutManager_dataModelId_ = @"_fluid-precompute-manager"; NSString * FFTPrecomputeLayoutManager_dataModelIdForPrecomputeList_ = @"_fluid-precompute-manager.precomputeList"; - (void)setViewPositionWithNSString:(NSString *)viewPath with...
Clazz.declarePackage ("JSV.appletjs"); Clazz.load (["JSV.api.AppletFrame", "$.JSVAppletInterface"], "JSV.appletjs.JSVApplet", ["java.lang.Boolean", "java.net.URL", "java.util.Hashtable", "JU.PT", "JSV.app.JSVApp", "JSV.common.JSVersion", "JSV.js2d.JsPanel", "$.JsViewPanel", "J.util.Logger"], function () { c$ = Clazz.de...
package util import ( "testing" apiv1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" pkgruntime "k8s.io/apimachinery/pkg/runtime" "github.com/stretchr/testify/assert" ) func TestHandlers(t *testing.T) { // There is a single service ns1/s1 in cluster mycluster. service := apiv1.Service{ ...
/* js-yaml 3.2.2 https://github.com/nodeca/js-yaml */!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f....
define("dojo/dom-prop", ["exports", "./_base/kernel", "./_base/sniff", "./_base/lang", "./dom", "./dom-style", "./dom-construct", "./_base/connect"], function(exports, dojo, has, lang, dom, style, ctr, conn){ // module: // dojo/dom-prop // summary: // This module defines the core dojo DOM properties API. // ...
"""Benchmark script for ImageNet models on mobile GPU. see README.md for the usage and results of this script. """ import argparse import numpy as np import tvm from tvm import te from tvm.contrib.utils import tempdir import tvm.contrib.graph_executor as runtime from tvm import relay from util import get_network, pr...
/** Core Fancytree module. */ // Start of local namespace ;(function($, window, document, undefined) { "use strict"; // prevent duplicate loading if ( $.ui && $.ui.fancytree ) { $.ui.fancytree.warn("Fancytree: ignored duplicate include"); return; } /* **********************************************************...
/* CSS for Hours Reporter */ .titletext { color: #aa1f22; font-family: sans-serif; font-size: 2em; font-weight: bold; text-decoration: none; } .mynavbar-brand { padding: 0; } .mynavbartext { color: #aa1f22; } .header { -webkit-appearance: none; border: 5px; border-color: #aa1f22; background: whit...
1. ## External Links ## * TBD Categories: Data Type
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("03...
require('./angular-locale_sw-ug'); module.exports = 'ngLocale';
namespace dev { namespace eth { namespace jit { class RuntimeManager; /// Base class for compiler helpers like Memory, GasMeter, etc. class CompilerHelper { protected: CompilerHelper(llvm::IRBuilder<>& _builder); CompilerHelper(const CompilerHelper&) = delete; CompilerHelper& operator=(CompilerHelper) = delete; ...
require 'formula' class Sdl2Ttf < Formula desc "Library for using TrueType fonts in SDL applications" homepage 'http://www.libsdl.org/projects/SDL_ttf/' url 'http://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.12.tar.gz' sha1 '542865c604fe92d2f26000428ef733381caa0e8e' depends_on 'pkg-config' => :bui...
.. include:: ../README.rst Usage Documentation ------------------- .. toctree:: :maxdepth: 3 quickstart configuration route_discovery routers include examples Reference --------- .. toctree:: :maxdepth: 3 api changelog contributors Indices and tables ================== * :ref:`g...
package metrics import ( "bufio" "fmt" "net/http" "net/http/httptest" "runtime" "testing" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime/schema" clientset "k8s.io/client-go/kubernetes" restclient "k8s.io/client-go/rest" "k8s.io/kubernetes/test/integration/framework" "git...
package org.apache.solr.cloud; import org.apache.lucene.util.LuceneTestCase.Slow; import org.apache.lucene.util.TestUtil; import org.apache.lucene.util.SentinelIntSet; import org.apache.solr.CursorPagingTest; import org.apache.solr.client.solrj.SolrServerException; import org.apache.solr.client.solrj.request.LukeRequ...
import glob import numpy as np import matplotlib.pyplot as plt from matplotlib.animation import FuncAnimation from netCDF4 import Dataset from postladim import ParticleFile # --------------- # User settings # --------------- # Files particle_file = "split.nc" # particle_file = 'restart_0002.nc' grid_file = "../data/o...
package elasticbak.utilities; import java.net.UnknownHostException; import java.util.Map; import java.util.concurrent.ExecutionException; import org.elasticsearch.action.admin.indices.mapping.get.GetMappingsRequest; import org.elasticsearch.action.admin.indices.mapping.get.GetMappingsResponse; import org.elasticsearc...
package org.apache.sling.bgservlets.impl; import java.io.IOException; import java.util.Dictionary; import java.util.Hashtable; import javax.servlet.FilterChain; import javax.servlet.ServletException; import javax.servlet.http.HttpServletResponse; import org.apache.sling.api.SlingHttpServletRequest; import org.jmock...
<?php final class PhabricatorAuthManagementStripWorkflow extends PhabricatorAuthManagementWorkflow { protected function didConstruct() { $this ->setName('strip') ->setExamples('**strip** [--user username] [--type type]') ->setSynopsis(pht('Remove multi-factor authentication from an account.'...
Add debug watches to `RunOptions` for a TensorFlow graph. To watch all `Tensor`s on the graph, let both `node_name_regex_whitelist` and `op_type_regex_whitelist` be the default (`None`). N.B.: Under certain circumstances, not all specified `Tensor`s will be actually watched (e.g., nodes that are constant-folded dur...
from unittest import TestCase from indirect import f3 class Feature3IndirectTest(TestCase): def setUp(self): self.feature = f3() self.info = 'I am an awesome feature, The next zillion dollar idea' def test_feature_info(self): self.assertEqual(self.feature.info(), self.info)
// ---------------------------------------------------------------------------------- // // 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...
<?php // Copyright 2004-present Facebook. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required b...
require 'test_helper' class DirecPayNotificationTest < Test::Unit::TestCase include ActiveMerchant::Billing::Integrations def setup @direc_pay = DirecPay::Notification.new(http_raw_data_success) end def test_success assert @direc_pay.complete? assert_equal "Completed", @direc_pay.status asser...
define([ '../moduleDef', 'angular', 'text!./agoBox.tpl.html', 'css!./agoBox.css' ], function (module, angular, tpl) { module.directive('agoBox', [function() { return { restrict: 'EA', replace: true, transclude: true, scope: { color: '@', border: '@', caption: '@', large: '@', padd...
<!-- Remediation --> <?php $ticket_ids = Jira::get_jira_tickets_for_event($id); if ($ticket_ids['status'] == Jira::OK) { $ticket_ids = $ticket_ids['values']; } else { $ticket_ids = array(); } $jira_client = new JiraClient($curl_client); $jira_tickets = Jira::merge_jira_tickets($t...
' 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. Namespace Microsoft.CodeAnalysis.Editor.VisualBasic.UnitTests.Recommendations.Expressions Public Class IfKeywordRe...
<?php namespace Illuminate\Redis\Connections; use Predis\Command\ServerFlushDatabase; class PredisClusterConnection extends PredisConnection { /** * Flush the selected Redis database on all cluster nodes. * * @return void */ public function flushdb() { $this->client->executeCo...
// +build !ignore_autogenerated // This file was autogenerated by deepcopy-gen. Do not edit it manually! package policy import ( api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/apis/meta/v1" conversion "k8s.io/client-go/pkg/conversion" runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) func i...
package org.apereo.cas.configuration.model.support.mfa.trusteddevice; import org.apereo.cas.configuration.model.core.util.EncryptionJwtSigningJwtCryptographyProperties; import org.apereo.cas.configuration.model.support.cookie.CookieProperties; import org.apereo.cas.configuration.support.RequiresModule; import org.aper...
define([], function() { 'use strict'; // Jasmine 2.1 requires that objects be constructed with the same constructor in // order to be considered equal. The 'arguments' keyword looks like an array, but // it's actually (at least in Chrome and Firefox) constructed with a special // constructor, so i...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_10-rc) on Thu Feb 10 16:47:13 CET 2011 --> <TITLE> IntoTableVisitor </TITLE> <META NAME="date" CONTENT="2011-02-10"> <LINK REL ="stylesh...
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- 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 License,...
// 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.Collections.Generic; using Roslyn.Utilities; namespace Microsoft.CodeAnalysis.ExtractMethod { internal class ExtractMethodResult { ...
<?php /* Provides fixed-width byte sizes for reading fixed-width character sets. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
namespace boost { namespace metaparse { using v1::change_error_message; } } #endif
// 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; using System.Collections.Generic; using Microsoft.CodeAnalysis.Editor.Shared.Extensions; using Microsoft.CodeAnalysis.Editor.Shared.Utilities; ...
<?xml version="1.0" encoding="UTF-8"?><definitions xmlns="http://ws.apache.org/ns/synapse"> <registry provider="org.wso2.carbon.mediation.registry.WSO2Registry"> <parameter name="cachableDuration">15000</parameter> </registry> <proxy name="aggregateMediatorTestProxy" transports="http...
require "administrate/engine" module Administrate end
package v2store import ( "encoding/json" "sync/atomic" ) const ( SetSuccess = iota SetFail DeleteSuccess DeleteFail CreateSuccess CreateFail UpdateSuccess UpdateFail CompareAndSwapSuccess CompareAndSwapFail GetSuccess GetFail ExpireCount CompareAndDeleteSuccess CompareAndDeleteFail ) type Stats stru...
package com.querydsl.maven; import java.io.File; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.util.Comparator; import org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugin.MojoFailureExceptio...
#include <cstdlib> #include <iostream> #include <stdexcept> #include "dataset/dataset_api.h" #include "util/util_api.h" namespace MR4C { size_t DataFileSource::read(char* buf, size_t num) { throw std::logic_error("No implementation of 'read' provided"); } size_t DataFileSource::skip(size_t num) { throw std::logi...
package edu.uci.ics.hyracks.tests.am.rtree; import java.io.DataOutput; import org.junit.Before; import org.junit.Test; import edu.uci.ics.hyracks.api.constraints.PartitionConstraintHelper; import edu.uci.ics.hyracks.api.dataflow.IOperatorDescriptor; import edu.uci.ics.hyracks.api.dataflow.value.IBinaryComparatorFa...
/* Set the cursor to busy when we are doing something */ .yui-busy { cursor: wait !important; } .yui-toolbar-container fieldset { padding: 0; margin: 0; border: 0; } .yui-toolbar-container legend { display: none; } /* Setup the container with some padding and zoom it for IE's hasLayout */ .yui-too...
<!DOCTYPE html> <html> <!-- Copyright 2013 The Closure Library Authors. All Rights Reserved. Use of this source code is governed by the Apache License, Version 2.0. See the COPYING file for details. --> <!-- --> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta charset="UTF-8" /> <title>Closure Unit T...
package com.andreabaccega.formedittextvalidator; import android.widget.EditText; /** * Validator abstract class. To be used with FormEditText * * @author Andrea Baccega <me@andreabaccega.com> */ public abstract class Validator { protected String errorMessage; public Validator(String _customErrorMessage) ...
<?php namespace Faker\Provider; class Address extends Base { protected static $citySuffix = array('Ville'); protected static $streetSuffix = array('Street'); protected static $cityFormats = array( '{{firstName}}{{citySuffix}}', ); protected static $streetNameFormats = array( '{{las...
/* Post-Deployment Script Template -------------------------------------------------------------------------------------- This file contains SQL statements that will be appended to the build script. Use SQLCMD syntax to include a file in the post-deployment script. Example: :r .\myfile.sql ...
'use strict'; var $ = require('../internals/export'); var createHTML = require('../internals/create-html'); var forcedStringHTMLMethod = require('../internals/forced-string-html-method'); // `String.prototype.small` method // https://tc39.github.io/ecma262/#sec-string.prototype.small $({ target: 'String', proto: true,...
<?php final class ReleephBranchQuery extends PhabricatorCursorPagedPolicyAwareQuery { private $ids; private $phids; private $productPHIDs; private $productIDs; const STATUS_ALL = 'status-all'; const STATUS_OPEN = 'status-open'; private $status = self::STATUS_ALL; private $needCutPointCommits; p...
using blink::WebBlobData; using blink::WebString; using blink::WebURL; using blink::WebVector; namespace content { MockWebBlobRegistryImpl::MockWebBlobRegistryImpl() { } MockWebBlobRegistryImpl::~MockWebBlobRegistryImpl() { } void MockWebBlobRegistryImpl::registerBlobData(const WebString& uuid, ...
<!DOCTYPE html> <!-- Copyright (c) 2014 Intel Corporation. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of works must retain the original copyright notice, this lis of conditions and the following dis...
'''Extend Mock class with dictionary behavior. Call it as: mocked_dict = MockDict() mocked_dict.add_dict_methods()''' import mock MagicMock__init__ = mock.MagicMock.__init__ class MockDict(mock.MagicMock): def __init__(self, *args, **kwargs): MagicMock__init__(self, *args, **kwargs) ...
<?php require 'base.php'; class Jcow extends Moderation { public function set_db_data() { $this->usertable = 'accounts'; $this->row_username = 'fullname'; $this->row_userid = 'id'; } }
namespace Microsoft.Azure.Management.Network { using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; using System.Threading; using System.Threading.Tasks; /// <summary> /// Extension methods for ServiceEndpointPolicyDefinitionsOperations. /// </summary> public static parti...
@component('mail::message') # Hello {{ $fullname }} @content('emails.membership.membershipComplete', 'main') The {{ config('branding.space_type') }} members guide can be found at {{ $membersGuideHTML }} and it is a recommended read for all members. <br> A PDF version is also available [here.]({{ $membersGuidePDF }}) ...
//HoloTime.cs //Created by Aaron C Gaudette on 13.07.16 using UnityEngine; public class HoloTime : Holojam.Tools.Synchronizable{ public float time = 0; protected override void Sync(){ if(sending){ time+=Time.deltaTime; synchronizedVector3=new Vector3(time,0,0); } else time=synchronizedVector3.x; } }