text stringlengths 3 1.05M |
|---|
<!--
Copyright (c) Microsoft Corporation. All rights reserved
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<link rel="stylesheet" href="/css/scenario1_DataEvents.css">
<script src="/js/scenario1_DataEvents.js"></script>
</head>
<body class="win-type-body">
<d... |
<?php
namespace Drupal\Core\Entity\Query\Null;
use Drupal\Core\Entity\Query\ConditionBase;
/**
* Defines the condition class for the null entity query.
*/
class Condition extends ConditionBase {
/**
* {@inheritdoc}
*/
public function compile($query) {
}
/**
* {@inheritdoc}
*/
public functio... |
package org.kuali.rice.kns.service;
import org.kuali.rice.krad.bo.BusinessObject;
import org.kuali.rice.krad.bo.DataObjectRelationship;
import org.kuali.rice.krad.datadictionary.RelationshipDefinition;
import org.kuali.rice.krad.valuefinder.ValueFinder;
import org.kuali.rice.krad.service.DataObjectMetaDataServ... |
import csv
import json
import math
import os
import random
import re
import time
# Config
BPM = 120 # Beats per minute, e.g. 60, 75, 100, 120, 150
METERS_PER_BEAT = 75 # Higher numbers creates shorter songs
DIVISIONS_PER_BEAT = 4 # e.g. 4 = quarter notes, 8 = eighth notes
VARIANCE_MS = 20 # +/- milliseconds an instrum... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// WARNING: THIS FILE IS BEING CONSUMED THROUGH INTERNALSVISIBLETO
// BY THE RULSET EDITOR. Until you fix that, do not delete this file.
///////////////////... |
Integration Testing
=========================
## Installing Docker and Running
Please refer to instructions at [https://github.com/druid-io/docker-druid/blob/master/docker-install.md](https://github.com/druid-io/docker-druid/blob/master/docker-install.md)
Instead of running
```
boot2docker init
```
run instead
```
... |
// 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 System.Collections.Immutable;
using System.Linq;
using Roslyn.Utilities;
namespace Microsoft.CodeAnaly... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Mimoses 43, t. 13. 1820
#### Original name
null
### Remarks
null |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>itauto: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... |
<?php
namespace Symfony\Component\Form\ChoiceList;
use Symfony\Component\Form\Exception\InvalidArgumentException;
/**
* A list of choices that can be stored in the keys of a PHP array.
*
* PHP arrays accept only strings and integers as array keys. Other scalar types
* are cast to integers and strings according... |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/Grey" >
<LinearLayout
android:id="@+id/linearLayout1"
android... |
<?php
/**
* Dark color pallet for ezcGraph based on Tango style guidelines at
* http://tango-project.org/Generic_Icon_Theme_Guidelines
*
* @version 1.5
* @package Graph
*/
class ezcGraphPaletteBlack extends ezcGraphPalette
{
/**
* Axiscolor
*
* @var ezcGraphColor
*/
protected $axisC... |
/**
* @license A class to parse color values
* @author Stoyan Stefanov <sstoo@gmail.com>
* @link http://www.phpied.com/rgb-color-parser-in-javascript/
* Use it if you like it
*
*/
function RGBColor(color_string)
{
this.ok = false;
// strip any leading #
if (color_string.charAt(0) == '#') { // remov... |
using System;
using System.Runtime.Serialization;
namespace XCLCMS.Data.WebAPIEntity.RequestEntity.Attachment
{
[Serializable]
[DataContract]
public class DetailEntity
{
/// <summary>
/// 附件ID
/// </summary>
[DataMember]
public long AttachmentID { get; set; }
... |
cask "psi-plus" do
version "1.4.1472-macOS10.13"
sha256 "8e5b44446a013ef36b7f02f2609ecece953cc93db61e8a05206b69afe415b49f"
# downloads.sourceforge.net/psiplus/ was verified as official when first introduced to the cask
url "https://downloads.sourceforge.net/psiplus/Psi+-#{version}-x86_64.dmg"
appcast "https:... |
from __future__ import unicode_literals
from django.db import models, migrations
import bitfield.models
import django.db.models.deletion
import django.utils.timezone
from django.conf import settings
import zerver.models
class Migration(migrations.Migration):
dependencies = [
('auth', '0001_initial'),
... |
<!--
~ Copyright 2005-2007 WSO2, Inc. (http://wso2.com) ~ ~ 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 requ... |
<?xml version="1.0" encoding="UTF-8" ?>
<dt-example table-class="display responsive nowrap" order="3">
<css lib="datatables responsive">
</css>
<js lib="jquery datatables responsive">
<![CDATA[
$(document).ready(function() {
$('#example').DataTable( {
"ajax": "../../../../examples/ajax/data/objects.txt",
"column... |
<?php
namespace PROCERGS\LoginCidadao\NotificationBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;
use PROCERGS\LoginCidadao\NotificationBundle\Model\CategoryInterface;
use PROCERGS\OAuthBundle\Entity\Client;
use PROCERGS\LoginCidadao\NotificationBundle\Entity\Notificat... |
<?php
namespace Elastica\Exception;
use Elastica\JSON;
use Elastica\Request;
use Elastica\Response;
/**
* Partial shard failure exception.
*
* @author Ian Babrou <ibobrik@gmail.com>
*/
class PartialShardFailureException extends ResponseException
{
/**
* Construct Exception.
*
* @param \Elastica... |
// +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/settings
// +k8s:conversion-gen-external-types=k8s.io/api/settings/v1alpha1
// +k8s:defaulter-gen=TypeMeta
// +k8s:defaulter-gen-input=../../../../vendor/k8s.io/api/settings/v1alpha1
// +groupName=settings.k8s.io
package v1alpha1 // import "k8s.io/kubernetes/pkg/apis... |
// 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.ComponentModel;
using System.Compon... |
YUI.add('console', function (Y, NAME) {
/**
* Console creates a visualization for messages logged through calls to a YUI
* instance's <code>Y.log( message, category, source )</code> method. The
* debug versions of YUI modules will include logging statements to offer some
* insight into the steps executed during... |
#ifndef STREAM_H
#define STREAM_H 1
#include "dictionary.h"
#include "tm.h"
typedef struct stream stream_t;
/* =============================================================================
* stream_alloc
* =============================================================================
*/
stream_t*
stream_alloc ... |
interface IntFunction<T> {
int apply(T t);
}
class A implements IntFunction<String> {
<caret>
} |
package org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.policies;
import java.util.Iterator;
import org.eclipse.emf.ecore.EAnnotation;
import org.eclipse.gef.commands.Command;
import org.eclipse.gmf.runtime.diagram.core.commands.DeleteCommand;
import org.eclipse.gmf.runtime.emf.commands.core.command.CompositeTr... |
package org.elasticsearch.index.fielddata.plain;
import org.apache.lucene.index.AtomicReader;
import org.apache.lucene.index.AtomicReaderContext;
import org.apache.lucene.index.Terms;
import org.apache.lucene.util.FixedBitSet;
import org.apache.lucene.util.packed.PackedInts;
import org.apache.lucene.util.packed.Paged... |
/**
* @author Michael Guerrero / http://realitymeltdown.com
*/
function BlendCharacterGui(animations) {
var controls = {
gui: null,
"Lock Camera": false,
"Show Model": true,
"Show Skeleton": false,
"Time Scale": 1.0,
"Step Size": 0.016,
"Crossfade Time": 3.5,
"idle": 0.33,
"walk": 0.33,
"run":... |
package v2
import (
"net/http"
"net/url"
"testing"
)
type urlBuilderTestCase struct {
description string
expectedPath string
build func() (string, error)
}
func makeURLBuilderTestCases(urlBuilder *URLBuilder) []urlBuilderTestCase {
return []urlBuilderTestCase{
{
description: "test base url",
... |
require 'cgi'
require 'openssl'
require 'rbconfig'
require 'set'
require 'socket'
require 'rest-client'
require 'json'
require 'base64'
# Version
require 'payjp/version'
# API operations
require 'payjp/api_operations/create'
require 'payjp/api_operations/update'
require 'payjp/api_operations/delete'
require 'payjp/a... |
using System;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.Description;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Builder.Luis;
using Microsoft.Bot.Builder.Luis.Models;
using Newtonsoft.Json;
using System.Threading... |
"""Subscribe function."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import re
from tensorflow.python.framework import ops
from tensorflow.python.ops import array_ops
from tensorflow.python.ops import variables
from tensorflow.python.platform import t... |
const { postcodeLookupHandler } = require('./postcode-lookup')
const { postcodeToRegionLookupHandler } = require('./postcode-to-region-lookup')
const { getOptionsHandler } = require('./options')
const { getAdviserOptionsHandler } = require('./advisers')
module.exports = {
getOptionsHandler,
getAdviserOptionsHandle... |
int main()
{
boost::recursive_mutex m0;
return boost::report_errors();
}
|
var util = require('util')
var bl = require('bl')
var xtend = require('xtend')
var headers = require('./headers')
var Writable = require('readable-stream').Writable
var PassThrough = require('readable-stream').PassThrough
var noop = function() {}
var overflow = function(size) {
size &= 511
return size && 512 - s... |
package android.hardware.camera2;
import android.hardware.camera2.impl.CameraMetadataNative;
import java.util.Collections;
import java.util.List;
/**
* <p>The properties describing a
* {@link CameraDevice CameraDevice}.</p>
*
* <p>These properties are fixed for a given CameraDevice, and can be queried
* throu... |
import { AfterContentInit, ElementRef, Renderer2, EventEmitter, OnInit, QueryList, OnDestroy, AfterViewInit } from '@angular/core';
import { ControlValueAccessor } from '@angular/forms';
import { UniqueSelectionDispatcher, MdRipple, FocusOriginMonitor } from '../core';
import { CanDisable } from '../core/common-behavio... |
<?php
require_once(dirname(__FILE__).'/../../bootstrap/unit.php');
$plan = 64;
$t = new lime_test($plan);
try
{
new sfXCacheCache();
}
catch (sfInitializationException $e)
{
$t->skip($e->getMessage(), $plan);
return;
}
require_once(dirname(__FILE__).'/sfCacheDriverTests.class.php');
// setup
sfConfig::set(... |
<?php
// THE SUPER RIPPLE CONTINUOUS INTEGRATION SYSTEM
// It actually just calls the bash script at the bottom that updates everything locally.
$data = json_decode(file_get_contents('php://input'), true);
if ($data['ref'] == 'refs/heads/production') {
echo 'doing';
shell_exec('/usr/bin/env bash '.dirname(__FI... |
NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSInteger, CBLCompoundExpType) {
CBLAndCompundExpType,
CBLOrCompundExpType,
CBLNotCompundExpType
};
@interface CBLCompoundExpression: CBLQueryExpression
- (instancetype) initWithExpressions: (NSArray<CBLQueryExpression*>*)expressions
... |
pub static JAVASCRIPT: &'static str = r#"
<script type="text/javascript" src="rust-book.js"></script>
<script type="text/javascript" src="playpen.js"></script>
"#;
|
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<title>Pagevamp Bootstrap - Switch</title>
<meta charset="UTF-8">
<link href="../../bootstrap/less/bootstrap.less" rel="stylesheet/less" type="text/css" />
<script>
less = {
logLevel: 1, // errors only
poll: 1000
};
</script>
<script src="//cdnjs.... |
<?xml version="1.0" ?>
<container xmlns="http://symfony.com/schema/dic/services"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
<parameters>
<parameter key="assetic.filter.yu... |
package v2
import (
"os"
"testing"
"github.com/rackspace/gophercloud"
"github.com/rackspace/gophercloud/acceptance/tools"
"github.com/rackspace/gophercloud/openstack/compute/v2/extensions/floatingip"
"github.com/rackspace/gophercloud/openstack/compute/v2/servers"
th "github.com/rackspace/gophercloud/testhelper... |
using System;
using System.Diagnostics;
using System.Text;
namespace System.Xml.Schema
{
/// <summary>
/// This structure holds components of an Xsd Duration. It is used internally to support Xsd durations without loss
/// of fidelity. XsdDuration structures are immutable once they've been created.
/... |
#pragma once
#include "platform/plugins/plugin_base.h"
namespace plugins
{
using StartTestTags = vkb::PluginBase<vkb::tags::Entrypoint>;
/**
* @brief Start Test
*
* Start a given test. Used by system_test.py
*
* Usage: vulkan_sample test bonza
*
*/
class StartTest : public StartTestTags
{
public:
Star... |
(function () {
var hr = (function () {
'use strict';
var global = tinymce.util.Tools.resolve('tinymce.PluginManager');
var register = function (editor) {
editor.addCommand('InsertHorizontalRule', function () {
editor.execCommand('mceInsertContent', false, '<hr />');
});
};
var $_cqh592cnjjgweb... |
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<string name="actionbar_share">"Споделяне"</string>
<string name="actionbar_web_search">"Търсене в мрежата"</string>
<string name="accessibility_content_view">"Изглед в мрежата"</string>
<string name="date_pick... |
// Protocol Buffers for Go with Gadgets
//
// Copyright (c) 2013, The GoGo Authors. All rights reserved.
// http://github.com/gogo/protobuf
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributio... |
layout: post
title: "React Router"
date: 2017-12-22 19:55:54 +0000
permalink: react_router
---
React Router can be a tremendous help when it comes to navigating your React app. Much like Redux has a single source of truth for your data, React Router is the source of truth for your URL. In this post I will... |
from __future__ import unicode_literals
from django.db import migrations
from django.db import models
class Migration(migrations.Migration):
dependencies = [("content", "0004_auto_20170825_1038")]
operations = [
migrations.RemoveField(model_name="contentnode", name="license"),
migrations.Ad... |
/* global define */
;(function (factory) {
'use strict'
if (typeof define === 'function' && define.amd) {
// Register as an anonymous AMD module:
define(['./load-image', './load-image-exif'], factory)
} else if (typeof module === 'object' && module.exports) {
factory(require('./load-image'), requir... |
try {
foo();
} catch(e) {
e.message; //doc: A human-readable description of the error.
}
|
import logging
from functools import reduce
from typing import Dict, List, Union
from flask import Blueprint, current_app, url_for
from flask_appbuilder import BaseView, __version__
from flask_appbuilder.babel.manager import BabelManager
from flask_appbuilder.const import (
LOGMSG_ERR_FAB_ADD_PERMISSION_MENU,
... |
package com.palantir.atlasdb.table.description.render;
import java.util.SortedSet;
import com.palantir.atlasdb.table.description.NamedColumnDescription;
public class NamedColumnRenderer extends Renderer {
private final String NamedColumn;
private final SortedSet<NamedColumnDescription> cols;
public Nam... |
#import "PFSQLiteStatement.h"
#import <sqlite3.h>
#import "PFThreadsafety.h"
@implementation PFSQLiteStatement
- (instancetype)initWithStatement:(sqlite3_stmt *)stmt queue:(dispatch_queue_t)databaseQueue {
self = [super init];
if (!stmt || !self) return nil;
_sqliteStatement = stmt;
_databaseQueu... |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" cont... |
class EmailValidator < ActiveModel::EachValidator
def validate_each(record, attribute, value)
unless /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})\z/i.match?(value)
record.errors.add(attribute, message: options[:message] || "is not an email")
end
end
end
|
package org.apache.hadoop.io.serializer.avro;
import java.util.HashSet;
import java.util.Set;
import org.apache.avro.Schema;
import org.apache.avro.io.DatumReader;
import org.apache.avro.io.DatumWriter;
import org.apache.avro.reflect.ReflectData;
import org.apache.avro.reflect.ReflectDatumReader;
import org.apache.... |
<?php
use PHPUnit\Framework\TestCase;
class CoverageMethodTest extends TestCase
{
/**
* @covers CoveredClass::publicMethod
*/
public function testSomething()
{
$o = new CoveredClass;
$o->publicMethod();
}
}
|
#ifndef CC_STORAGEP_H
#define CC_STORAGEP_H
#ifndef COIN_INTERNAL
#error this is a private header file
#endif /* ! COIN_INTERNAL */
#include <Inventor/C/threads/common.h> /* cc_storage */
#include "base/dict.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif /* HAVE_CONFIG_H */
#ifdef __cplusplus
extern "C" {
#e... |
package org.teachingkidsprogramming.section05recursion;
import org.teachingextensions.logo.Tortoise;
public class SpiderWeb
{
public static void main(String[] args)
{
Tortoise.show();
// Make the tortoise go as fast as possible --#6
// Change the width of the line the tortoise draws to 1 pixel -... |
/**
* @depend ../sinon.js
* @depend match.js
*/
/*jslint eqeqeq: false, onevar: false, plusplus: false*/
/*global module, require, sinon*/
/**
* Spy calls
*
* @author Christian Johansen (christian@cjohansen.no)
* @author Maximilian Antoni (mail@maxantoni.de)
* @license BSD
*
* Copyright (c) 2010-201... |
<?php
namespace Market\Factory;
use Zend\ServiceManager\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
use Market\Controller\CityCountryController;
class CityCountryControllerFactory implements FactoryInterface
{
public function createService(ServiceLocatorInterface $controllerManager)
{... |
require 'wargaming_api/wargaming_net/servers'
module WargamingApi
class WargamingApi::WargamingNet::Servers
class WargamingApi::WargamingNet::Servers::GameServers < WargamingApi::WargamingNet::Servers
attr_accessor :game
def initialize
@link = 'api.worldoftanks.eu/wgn/servers/info'
... |
package blocks
import (
"../parser/"
)
type DefineLogic struct {
BlockData
defState float64
}
func (b *DefineLogic) Update() {
isDefined := true
for _, v := range b.in {
if v == UNDEFINED {
isDefined = false
}
}
if isDefined {
b.out = b.in
} else {
if len(b.out) != len(b.in) { // set to defined s... |
#ifdef VAR
VAR++;
#endif
#endif
|
<?xml version="1.0" encoding="UTF-8"?>
<pages xmlns="http://jboss.org/schema/seam/pages"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://jboss.org/schema/seam/pages http://jboss.org/schema/seam/pages-2.3.xsd"
no-conversation-view-id="/home.xhtml"
login-view-i... |
"use strict";
exports.__esModule = true;
// istanbul ignore next
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
// istanbul ignore next
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a cl... |
namespace Google.ProtocolBuffers.ProtoGen
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Google.ProtocolBuffers;
using Google.ProtocolBuffers.Compiler.PluginProto;
using Google.ProtocolBuffers.DescriptorProtos;
class Program
{
p... |
<!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_01) on Mon Aug 04 16:56:49 EDT 2008 -->
<TITLE>
Uses of Interface jjil.algorithm.PriorityQueue.Position
</TITLE>
<META NAME="date" CONTENT=... |
Ext.define("seava.ad.ui.extjs.dc.ViewState_Dc", {
extend: "e4e.dc.AbstractDc",
recordModel: seava.ad.ui.extjs.ds.ViewState_Ds
});
/* ================= FILTER FORM: Filter ================= */
Ext.define("seava.ad.ui.extjs.dc.ViewState_Dc$Filter", {
extend: "e4e.dc.view.AbstractDcvFilterForm",
alias: "widget.ad_V... |
/**
* Lets you dispatch a function instead of an action.
* This function will receive `dispatch` and `getState` as arguments.
*
* Useful for early exits (conditions over `getState()`), as well
* as for async control flow (it can `dispatch()` something else).
*
* `dispatch` will return the return value of the dis... |
<?php
namespace Gedmo\Translatable;
use Doctrine\Common\EventArgs;
use Doctrine\ODM\MongoDB\DocumentManager;
use Doctrine\ORM\ORMInvalidArgumentException;
use Gedmo\Tool\Wrapper\AbstractWrapper;
use Gedmo\Mapping\MappedEventSubscriber;
use Gedmo\Translatable\Mapping\Event\TranslatableAdapter;
/**
* The translation ... |
from keras.models import Sequential
from keras.layers.core import Dense, Dropout, Activation, Flatten
from keras.layers.normalization import BatchNormalization
from keras.models import Model
from keras.layers import Input, Dense, merge
from keras.applications.resnet50 import ResNet50
import numpy as np
class Detector(... |
typedef struct {
int verbose;
char* inputFile;
char** argv;
int bitDepth;
} config_t;
extern config_t config;
|
<?xml version='1.0' encoding='utf-8' ?>
<functions>
<category name="Validation函数">
<function name="Validation_Get">
<usage>取得某id的Validation的内容</usage>
<para>Validation的句柄</para>
<para>Validation的id</para>
<return>该Validation的JSon串</return>
</function>
<function name="Validation_GetIds">
<usage>取得所有Valida... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Bento Sidebar</title>
<meta
name="viewport"
content="width=device-width,minimum-scale=1,initial-scale=1"
/>
<script src="https://cdn.ampproject.org/bento.js"></script>
<script
async
src="https://cdn.ampprojec... |
const hasClass = require('../helpers/hasClass');
'use strict';
class Dropdown {
constructor () {
this.trigger = document.querySelector('[data-dropdown-trigger]');
this.content = document.querySelector('[data-dropdown-content]');
if(!this.trigger) return;
this.init();
}
init() {
this.heigh... |
package org.apache.aries.blueprint.testbundlea.multi;
public interface InterfaceD {
String methodD();
}
|
var async = require('async'); // NOT "asyncjs" (used elsewhere)
var options = require('../lib/config'),
store = require('../lib/store')(options.store),
routes = require('../lib/routes'),
handlers = require('../lib/handlers'),
utils = require('../lib/utils');
// DUMP
//
// ALTER... |
const createHash = require(`crypto`).createHash
const getHashFn = ({
hashFunction = `md5`,
hashDigest = `hex`,
hashDigestBits = 48,
cache = new Set(),
}) => input => {
const hash = createHash(hashFunction)
hash.update(input)
const digest = hash.digest(hashDigest)
const partialDigest = digest.substr(0, ... |
@extends('layouts.app')
@section('css')
<!-- BEGIN PAGE LEVEL PLUGINS -->
<link href="/theme/assets/global/plugins/select2/css/select2.min.css" rel="stylesheet" type="text/css" />
<link href="/theme/assets/global/plugins/select2/css/select2-bootstrap.min.css" rel="stylesheet" type="text/css" />
... |
package com.fitpay.android.paymentdevice.interfaces;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.fitpay.android.api.models.apdu.ApduCommand;
import com.fitpay.android.api.models.apdu.ApduExecutionResult;
import com.fitpay.android.paymentdevice.CommitHandler;
import com.fitpay.a... |
require 'test_helper'
# todo: this test should be named after the corresponding class, once
# that class is abstracted from installer.rb. It makes little sense
# to be invoking bundle_identifier off of the installer instance.
describe "Operations on staged Casks" do
describe "bundle ID" do
it "fetches the bundl... |
/**
* Module Dependencies
*/
var expr;
try {
expr = require('props');
} catch(e) {
expr = require('component-props');
}
/**
* Expose `toFunction()`.
*/
module.exports = toFunction;
/**
* Convert `obj` to a `Function`.
*
* @param {Mixed} obj
* @return {Function}
* @api private
*/
function toFunction(... |
package org.wso2.carbon.databridge.agent.thrift.internal.publisher.authenticator;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.commons.pool.impl.GenericKeyedObjectPool;
import org.apache.thrift.TException;
import org.wso2.carbon.databridge.agent.thrift.except... |
"""
Template for Objects
Copy this module up one level and name it as you like, then
use it as a template to create your own Objects.
To make the default commands default to creating objects of your new
type (and also change the "fallback" object used when typeclass
creation fails), change settings.BASE_OBJECT_TYPEC... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
Uses of Class com.parse.ParseRole
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../style.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle(... |
<!DOCTYPE html>
<html>
<!--
Copyright 2008 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">
<title>Closure Unit Tests - goog.dom.SavedCaretRange</t... |
// Copyright 2012 Traceur Authors.
//
// 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 ... |
Reads a JSON file and then parses it into an object. `options` are the same
that you'd pass to [`jsonFile.readFileSync`](https://github.com/jprichardson/node-jsonfile#readfilesyncfilename-options).
**Alias:** `readJSONSync()`
- `file` `<String>`
- `options` `<Object>`
## Example:
```js
const fs = require('fs-extra'... |
// Copyright 2015 The Bazel 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
//
// Unless required by appl... |
#ifndef BOOST_SPIRIT_INCLUDE_QI_NUMERIC
#define BOOST_SPIRIT_INCLUDE_QI_NUMERIC
#if defined(_MSC_VER)
#pragma once
#endif
#include <boost/spirit/home/qi/numeric.hpp>
#endif
|
<!-- BEGIN MUNGE: UNVERSIONED_WARNING -->
<!-- BEGIN STRIP_FOR_RELEASE -->
<img src="http://kubernetes.io/kubernetes/img/warning.png" alt="WARNING"
width="25" height="25">
<img src="http://kubernetes.io/kubernetes/img/warning.png" alt="WARNING"
width="25" height="25">
<img src="http://kubernetes.io/kubernet... |
package sarama
type ListGroupsRequest struct {
}
func (r *ListGroupsRequest) encode(pe packetEncoder) error {
return nil
}
func (r *ListGroupsRequest) decode(pd packetDecoder, version int16) (err error) {
return nil
}
func (r *ListGroupsRequest) key() int16 {
return 16
}
func (r *ListGroupsRequest) version() in... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
Chytriomyces nagatoroensis K. Konno, 1972
### Remarks
null |
namespace boost { namespace xpressive { namespace detail
{
typedef unsigned int uint_t;
template<uint_t Min, uint_t Max = Min>
struct generic_quant_tag;
struct modifier_tag;
struct check_tag;
typedef mpl::size_t<INT_MAX / 2 - 1> unknown_width;
struct type_info_less;
typedef std::ma... |
from django.conf.urls.defaults import patterns, url
urlpatterns = patterns('search.views',
url(r'^$', 'search', name="search"),
)
urlpatterns += patterns('django.views.generic.simple',
url(r'^help/$', 'direct_to_template',
... |
<?php
/**
** A base module for [response]
**/
/* Shortcode handler */
wpcf7_add_shortcode( 'response', 'wpcf7_response_shortcode_handler' );
function wpcf7_response_shortcode_handler( $tag ) {
if ( $contact_form = wpcf7_get_current_contact_form() ) {
$contact_form->responses_count += 1;
return $contact_form->fo... |