text stringlengths 3 1.05M |
|---|
import { OBSERVER } from './constants'
export default {
isStore, isObserverArray, isPrimitive, hasKey
}
const storeKeys = ['dispatch', 'getState', 'subscribe']
function isStore(val) {
if (!val) {
return false
}
return storeKeys.every(key => has.call(val, key))
}
function isObserverArray(val) {
if (!Arr... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is subject to the terms and conditions defined in the
files 'LICENSE' and 'NOTICE', which are part of this source
code package.
-->
<simple-methods xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/... |
//
// NSFileManager+pathMethod.h
//
// Created by block on 14-9-22.
// Copyright (c) 2014年 Block. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSFileManager (pathMethod)
/**
* 判断文件存在时间是否超过时限
*
* @param path 文件路径
* @param time 上限时长
*
* @return 是否超时
*/
+(BOOL)isTimeOutWithPath:(NSS... |
// ES5 15.4.4.17
// http://es5.github.com/#x15.4.4.17
// https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/some
if (!Array.prototype.some) {
var toObject = require('./_toObject');
Array.prototype.some = function some(fun /*, thisp */) {
var self = toObject(this),
le... |
import React from "react";
import { StepButton } from "./step_buttons";
import { scrollToBottom, urlFriendly } from "../util";
import { Row } from "../ui/index";
import { TaggedSequence } from "farmbot";
import { CONFIG_DEFAULTS } from "farmbot/dist/config";
import { ShouldDisplay, Feature } from "../devices/interfaces... |
#ifndef __DALI_INTERNAL_TEXTURE_OBSERVER_H__
#define __DALI_INTERNAL_TEXTURE_OBSERVER_H__
namespace Dali
{
namespace Internal
{
/**
* The TextureObserver observes texture lifetime
*/
class TextureObserver
{
public:
/**
* Called when a texture is discarded. This occurs in the render thread.
* @param[in] te... |
#include <string>
#include <fstream>
#include <boost/circular_buffer.hpp>
#include "IStaticInstance.h"
class Log : public IStaticInstance<Log>
{
public:
class Message
{
public:
std::string sMessage;
enum eLoggingLevel { LL_BLANK, LL_INFO, LL_DEBUG, LL_WARNING, LL_ERROR } eLe... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { FormsModule } from '@angular/forms';
import { TaskCustomFieldsComponent } from './task-custom-fields.component';
// TODO: test pending to test. Failing random
xdescribe('TaskCustomFieldsComponent', () => {
let component: TaskCustomFi... |
package cpd4414.assign1;
import java.util.ArrayDeque;
import java.util.Date;
import java.util.Queue;
/**
*
* @author Len Payne <len.payne@lambtoncollege.ca>
*/
public class OrderQueue {
Queue<Order> orderQueue = new ArrayDeque<>();
Order order1 = new Order("CUST00001", "ABC Construction");
... |
from __future__ import print_function, division
#
import sys,os
os.environ['KMP_DUPLICATE_LIB_OK']='True' # uncomment this line if omp error occurs on OSX for python 3
os.environ['OMP_NUM_THREADS']='1' # set number of OpenMP threads to run in parallel
os.environ['MKL_NUM_THREADS']='1' # set number of MKL threads to run... |
Practice for writing a RESTful API with [Node](https://nodejs.org) and [Express](http://expressjs.com/).
## Getting Started
* Clone the repo
* Switch to the repo directory
* Run `npm install`
* Run the app with `node app.js`
## RESTful Endpoints
Endpoints are in the following forms:
| HTTP Verb | URL | Payload | D... |
//
// YXTHomeHeadView.m
// YiXuanTongShop
//
// Created by 汤天明 on 16/6/29.
// Copyright © 2016年 easysay. All rights reserved.
//
#import "YXTHomeHeadView.h"
#import "YXTGoodsModel.h"
#import "UIImageView+AFNetworking.h"
#import "YXTBanner.h"
#import "UIView+Extension.h"
#define SCREENWIDTH [UIScreen mainScreen].... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... |
dbm.registerClass("Application", "dbm.gui.abstract.startup.standalone.StandAlonePage", function(objectFunctions, staticFunctions, ClassReference) {
//console.log("Application");
//"use strict";
//Self reference
var Application = dbm.importClass("Application");
//Error report
var ErrorManager = dbm.importClas... |
<!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/html; charset=utf-8" />
<meta name="GENERATOR" content="VSdocman - documentation generator; htt... |
$def with (myself, query, subtypes, violations)
$code:
def _CAT(x):
if x // 1000 == 1: return "Visual"
elif x // 1000 == 2: return "Literary"
else: return "Multimedia"
def _SUBCAT(x):
return dict(subtypes).get(x, "General")
<div id="detail-stage" class="stage">
<h1 id="detail-ti... |
module.exports = function(JSData) {
var DSSqlAdapter = require('js-data-sql');
var store = new JSData.DS();
var adapter = new DSSqlAdapter({
client: 'sqlite3',
connection: {
filename: __dirname + '/../../../../../resources/db/sqlite3/petclinic.db'
}
});
// the connection pool and query bui... |
//
// Copyright 2010-2017 Deveel
//
// 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 applica... |
import React, { Component } from 'react';
import { Link } from 'react-router-dom';
import { connect } from 'react-redux';
import * as actions from '../../actions';
import BallLogo from '../../../assets/images/BallLogoHD.png';
import Resume from '../../../assets/docs/201707resume.pdf';
class Header extends Component {
... |
package libra.preprocess.stage1;
import libra.common.hadoop.io.datatypes.IntArrayWritable;
import libra.common.hadoop.io.datatypes.CompressedSequenceWritable;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.hadoop.conf.Configurable;
import org.apache.hadoop.conf... |
namespace TestFu.Data.Graph
{
using System;
using System.Collections;
using System.Diagnostics;
using System.Data;
using QuickGraph.Concepts;
using QuickGraph.Concepts.Traversals;
using QuickGraph.Concepts.Modifications;
using QuickGraph.Concepts.MutableTraversals;
using QuickGraph.Concepts.Predi... |
package providers
import (
"github.com/bmizerany/assert"
"net/http"
"net/http/httptest"
"net/url"
"testing"
)
func testLinkedInProvider(hostname string) *LinkedInProvider {
p := NewLinkedInProvider(
&ProviderData{
ProviderName: "",
LoginUrl: &url.URL{},
RedeemUrl: &url.URL{},
ProfileUrl: ... |
<!DOCTYPE html>
<!--[if lt IE 8 ]><html class="no-js ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="no-js ie ie8" lang="en"> <![endif]-->
<!--[if IE 9 ]><html class="no-js ie ie9" lang="en"> <![endif]-->
<!--[if (gte IE 8)|!(IE)]><!--><html class="no-js" lang="en"> <!--<![endif]-->
<head>
<!--- Basic P... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Azure.ServiceBus
{
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Transactions;
usi... |
const { assign, get } = require('lodash')
const { completeProposition, fetchProposition } = require('../repos')
const { getAdvisers } = require('../../adviser/repos')
const { filterActiveAdvisers } = require('../../adviser/filters')
const { transformObjectToOption } = require('../../transformers')
function transformE... |
'use strict';
angular.module('myApp.interviews', ['ngRoute', 'ngAnimate', 'atomic-notify', 'ngAnimate', 'ui.bootstrap'])
.config(['$routeProvider', 'atomicNotifyProvider', function($routeProvider, atomicNotifyProvider) {
atomicNotifyProvider.setDefaultDelay(5000);
atomicNotifyProvider.useIconOnNotification(tru... |
USE [master]
GO
DECLARE @DatabaseName nvarchar(50)
SET @DatabaseName = N'TSQL_Koans'
DECLARE @SQL varchar(max)
SELECT @SQL = COALESCE(@SQL,'') + 'Kill ' + Convert(varchar, SPId) + ';'
FROM MASTER..SysProcesses
WHERE DBId = DB_ID(@DatabaseName) AND SPId <> @@SPId
EXEC(@SQL)
IF EXISTS (SELECT name FROM master.dbo.s... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>three.js webgl - materials - bump map [Lee Perry-Smith]</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<link type="text/css" rel="stylesheet" href="main.css">
</head>
<b... |
class AddPartnerIdToVillageinfo < ActiveRecord::Migration
def change
add_reference :villageinfos, :partner, index: true
end
end
|
package pl.luwi.series.sane;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class OrderedLine<P extends OrderedPoint> implements Serializable {
public Integer RDPID;
public Integer lineID;
public List<P> points;
private P start;
priv... |
"""Copyright 2020-2022 The MediaPipe 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 applicable law... |
class CreateMachineTemplates < ActiveRecord::Migration
def change
create_table :machine_templates do |t|
t.string :name
t.integer :disk
t.integer :cores
t.integer :ram
t.string :price
t.string :location
t.string :transfer
t.references :provider
t.timestamps n... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
package com.intellij.jsp.impl;
import com.intellij.psi.xml.XmlFile;
import com.intellij.xml.XmlElementDescriptor;
import org.jetbrains.annotations.Nullable;
public interface TldDescriptor extends JspNsDescriptor {
XmlElementDescriptor getElementDescriptor(String name);
@Nullable
String getUri();
/**
*
... |
package org.ethereum.trie;
/**
* @author Roman Mandeleil
* @since 29.08.2014
*/
public class CountAllNodes implements TrieImpl.ScanAction {
private int counted = 0;
@Override
public void doOnNode(final byte[] hash, final TrieImpl.Node node) {
++counted;
}
@Override
public void d... |
import { Directive, Input, HostBinding } from '@angular/core';
@Directive({
selector: '[flex]'
})
export class FlexDirective {
@Input() shrink: number = 1;
@Input() grow: number = 1;
@Input() flex: string;
@HostBinding('style.flex')
get style() {
return `${this.grow} ${this.shrink} ${thi... |
require 'rubygems'
require 'readability'
require 'open-uri'
require 'reverse_markdown'
ARGV.each do |a|
source = open(a).read
readable = Readability::Document.new(source).content
read = ReverseMarkdown.convert readable
File.open('read.txt', 'w') { |file| file.write(read) }
#exec ("text2wave -F 22050 read.txt... |
<?php
namespace Symfony\Component\String\Tests;
use PHPUnit\Framework\TestCase;
use Symfony\Component\String\Slugger\AsciiSlugger;
class SluggerTest extends TestCase
{
/**
* @requires extension intl
* @dataProvider provideSlug
*/
public function testSlug(string $string, string $locale, strin... |
package nl.nn.adapterframework.compression;
import nl.nn.adapterframework.collection.ICollectingElement;
import nl.nn.adapterframework.core.IConfigurable;
public interface IZipWritingElement extends ICollectingElement<ZipWriter>, IConfigurable {
String getCharset();
boolean isCompleteFileHeader();
boolean isClos... |
{-# LANGUAGE FlexibleContexts #-}
import qualified Data.Map as M
import qualified Data.Set as S
import System.IO
import Control.Applicative ((<$>))
import Control.Monad
import Data.Char
import Data.Function
import Data.List
import Data.Monoid (mconcat)
import System.Environment
import Text.Parsec
-- utility HTML-makin... |
import jinja2
from aiohttp import web
import aiohttp_jinja2
async def test_jinja_filters(aiohttp_client):
@aiohttp_jinja2.template("tmpl.jinja2")
async def index(request):
return {}
def add_2(value):
return value + 2
app = web.Application()
aiohttp_jinja2.setup(
app,
... |
from asposeslides import Settings
from com.aspose.slides import Presentation
from com.aspose.slides import ChartType
from com.aspose.slides import SaveFormat
class ChartProperties:
def __init__(self):
# Setting the RotationX, RotationY and DepthPercents properties of 3D Chart.
sel... |
// Copyright 2019 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... |
layout: page
title: Black Limited Conference
date: 2016-05-24
author: Sarah Aguirre
tags: weekly links, java
status: published
summary: Pellentesque pharetra vulputate congue. Etiam nunc metus, molestie eu.
banner: images/banner/meeting-01.jpg
booking:
startDate: 06/08/2018
endDate: 06/12/2018
ctyhocn: PRYGAHX
... |
using System.Linq;
using AgentMulder.Containers.CastleWindsor.Helpers;
using AgentMulder.ReSharper.Domain.Patterns;
using JetBrains.ReSharper.Feature.Services.CSharp.StructuralSearch;
using JetBrains.ReSharper.Feature.Services.CSharp.StructuralSearch.Placeholders;
using JetBrains.ReSharper.Feature.Services.StructuralS... |
function gX = linKernDiagGradX(kern, X)
% LINKERNDIAGGRADX Gradient of LIN kernel's diagonal with respect to X.
%
% Description:
%
% GX = LINKERNDIAGGRADX(KERN, X) computes the gradient of the diagonal
% of the linear kernel matrix with respect to the elements of the
% design matrix given in X.
% Returns:
% GX - th... |
<?php
/**
* Created by PhpStorm.
* User: patkane
* Date: 10/16/15
* Time: 11:26 AM
*/
namespace Pkracer\JsonApiDocuments\Exceptions;
class InvalidErrorFormatException extends \Exception
{
} |
//
// UIImage-Extensions.m
// The9AdPlatform
//
// Created by zhang xiaodong on 11-5-31.
// Copyright 2011 the9. All rights reserved.
//
#import "UIImage-Extensions.h"
#import <Accelerate/Accelerate.h>
CGFloat DegreesToRadians(CGFloat degrees) {return degrees * M_PI / 180;};
CGFloat RadiansToDegrees(CGFloat radia... |
using System;
namespace NumberComparer
//Problem 4. Number Comparer
//Write a program that gets two numbers from the console and prints the greater of them.
//Try to implement this without if statements.
{
class NumberComparer
{
static void Main()
{
Console.WriteLine(... |
var debug = require("debug")("rename");
module.exports = function(matcher, replace) {
return function(files, metalsmith, done) {
var newFilename;
for (var file in files) {
if ((newFilename = file.replace(matcher, replace)) !== file) {
debug("Renaming \"%s\" → \"%s\"", file, newFilename);
... |
/**
*
*/
package de.mediaportal.episodenumbergenerator.model.series;
import java.io.File;
/**
* Overrides the compareTo method of {@link File} to sort files by the
* {@link #lastModified()} date
*
* @author Oliver
*
*/
public class CacheFile extends File {
/**
* Default serialVersionUID
*/
private st... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_45) on Fri Jan 03 01:16:00 EST 2014 -->
<title>S-Index</title>
<meta name="date" content="2014-01-03">
<link rel="stylesheet" type="tex... |
case "$PACKER_BUILDER_TYPE" in
virtualbox-iso|virtualbox-ovf)
mkdir /tmp/vbox
VER=$(cat /home/vagrant/.vbox_version)
mount -o loop /home/vagrant/VBoxGuestAdditions_$VER.iso /tmp/vbox
sh /tmp/vbox/VBoxLinuxAdditions.run
umount /tmp/vbox
rmdir /tmp/vbox
rm /home/vagrant/*.iso
;;
vmware-i... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after*... |
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: android/libcore/luni/src/main/java/javax/xml/transform/TransformerException.java
//
#ifndef _JavaxXmlTransformTransformerException_H_
#define _JavaxXmlTransformTransformerException_H_
#include "J2ObjC_header.h"
#include "java/lang/Exception.h"
@cla... |
package com.amazonaws.services.elasticsearch.model;
import javax.annotation.Generated;
/**
* <p>
* An exception for trying to create or access sub-resource that is either invalid or not supported. Gives http status
* code of 409.
* </p>
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class Inv... |
+++ ActiveSync/SOGoMailObject+ActiveSync.m
@@ -1003,7 +1003,7 @@ struct GlobalObjectId {
[s appendFormat: @"<GlobalObjId xmlns=\"Email:\">%@</GlobalObjId>", [globalObjId activeSyncRepresentationInContext: context]];
// We set the right message type - we must set AS version to 14.1 for this
- if ([[... |
ENV=$1
cd ${BASH_SOURCE%/*}
(cd ..; ./codedeploy-push-deploy.sh \
--application Geodesy \
--env ${ENV} \
--deployment_config_name CodeDeployDefault.OneAtATime \
--s3_bucket geodesy-codedeploy \
--artefact_ext zip \
--unit OpenAM
)
|
package metrics
import (
"net/http"
"strconv"
"time"
"github.com/prometheus/client_golang/prometheus"
"github.com/urfave/negroni"
)
type summary struct {
*prometheus.SummaryVec
}
type responseWriterInterceptor struct {
http.ResponseWriter
statusCode int
}
func (w *responseWriterInterceptor) WriteHeader(sta... |
@{
POST_SCRIPT_ERROR = "The previous executed post script presented errors. Check previous messages"
NO_VOLUMES_AVAILABLE = "No volumes all available to put files. Check permissions on destination computer or if filtering is removing all avaliable volumes."
NO_EXISTENT_BACKUP_NAME_FOUND = "No backup existent ba... |
package tars.logic.commands;
import java.util.ArrayList;
import tars.commons.core.EventsCenter;
import tars.commons.events.ui.ScrollToTopEvent;
import tars.commons.util.StringUtil;
import tars.model.task.TaskQuery;
// @@author A0124333U
/**
* Finds and lists all tasks in address book whose name contains any of the... |
import _plotly_utils.basevalidators
class NamelengthValidator(_plotly_utils.basevalidators.IntegerValidator):
def __init__(
self, plotly_name="namelength", parent_name="box.hoverlabel", **kwargs
):
super(NamelengthValidator, self).__init__(
plotly_name=plotly_name,
pare... |
Kwf.onContentReady(function()
{
var Event = Ext.EventManager;
var els = Ext.query('.kwfClearOnFocus');
els.forEach(function(el) {
if (!el || el.value == '') return;
var xel = Ext.get(el);
var initText = el.value;
xel.addClass('kwfClearOnFocusBlurred');
Event.on(el,... |
package com.google.cloud.tools.eclipse.util;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.Reader;
import java.net.URL;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerException;
import j... |
namespace('Sy.Validator.Constraint');
/**
* Use a function to validate a value
*
* @package Sy
* @subpackage Validator
* @class
* @extends {Sy.Validator.AbstractConstraint}
*/
Sy.Validator.Constraint.Callback = function (options) {
options = options || {};
Sy.Validator.AbstractConstraint.call(this, op... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ZumoE2ETestApp.Framework
{
public enum TestStatus
{
NotRun,
Running,
Failed,
Passed,
}
}
|
'use strict';
var _ = require('underscore');
var React = require('react-native');
var {
PropTypes,
Text,
TouchableHighlight,
View,
} = React;
var styles = require('../../styles/keyboard');
var Keys = require('./Keys');
var {
Key,
MultiKey,
} = Keys;
var nav = 'nav',
prefixOp = 'prefixOp',
infixOp... |
package com.amazonaws.services.textract.model.transform;
import javax.annotation.Generated;
import com.amazonaws.SdkClientException;
import com.amazonaws.services.textract.model.*;
import com.amazonaws.protocol.*;
import com.amazonaws.annotation.SdkInternalApi;
/**
* ExpenseTypeMarshaller
*/
@Generated("com.amaz... |
<?php
use webvimark\modules\UserManagement\models\User;
use yii\db\Migration;
class m140809_072112_insert_superadmin_to_user extends Migration
{
public function safeUp()
{
$user = new User();
$user->superadmin = 1;
$user->status = User::STATUS_ACTIVE;
$user->username = 'superad... |
package com.github.leeyazhou.scf.client.channel;
import java.io.IOException;
import java.nio.channels.ClosedChannelException;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import org... |
/* Includes ------------------------------------------------------------------*/
#include "stm32f7xx_hal.h"
/** @addtogroup STM32F7xx_HAL_Driver
* @{
*/
/** @defgroup MDIOS MDIOS
* @brief HAL MDIOS module driver
* @{
*/
#ifdef HAL_MDIOS_MODULE_ENABLED
#if defined (MDIOS)
/* Priv... |
import { Webview } from ".";
import logger from "../logger";
import { Reusable } from "../store/reusable";
import { ReusableDao } from "../store/reusable-dao";
import * as Graph from "./graph-api";
/**
* Functions and types for Send API.
* (see https://developers.facebook.com/docs/messenger-platform/send-api-referen... |
namespace {
struct Physics_Settings {
u32 frequency = 50;
vec2 gravity = {0, -9.81f};
};
}
static Physics_Settings settings;
static void ecs_update_physics_iteration(r32 dt);
//
//
//
namespace sandbox {
static custom::Asset_RefT<custom::Config_Asset> config_ref = {custom::empty_ref, custom::empty_index};
v... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">CustomView</string>
<string name="action_settings">Settings</string>
<string name="hello_world">Hello world!</string>
</resources>
|
namespace tdc {
namespace lcpcomp {
/// A very naive selection strategy for LCPComp.
///
/// TODO: Describe
class PLCPPeaksStrategy : public Algorithm {
public:
using Algorithm::Algorithm;
inline static Meta meta() {
Meta m("lcpcomp_comp", "plcppeaks", "using peaks of PLCP array");
return m;
... |
using System;
using System.Drawing;
using Foundation;
using UIKit;
using ScanditSDK;
namespace iOSSample
{
public class ScanditSDKRotatingBarcodePicker : SIBarcodePicker
{
public ScanditSDKRotatingBarcodePicker (string appKey) : base(appKey)
{
}
public override bool ShouldAutorotate () {
return true;... |
module OpenTelemetry
# Namespace for OpenTelemetry propagator extension libraries
module Propagator
# Namespace for OpenTelemetry B3 propagation
module B3
# Extracts trace context using the b3 single or multi header formats, favouring b3 single header.
module TextMapExtractor
B3_CONTEXT_... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_67) on Wed Oct 08 15:57:21 PDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class org.a... |
An IOS app for people we know.
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { MetricsComponent } from './metrics.component';
describe('MetricsComponent', () => {
let component: MetricsComponent;
let fixture: ComponentFixture<MetricsComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
... |
package com.magnet.mmx.server.plugin.mmxmgmt.util;
import com.google.common.base.Strings;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import com.magnet.mmx.protocol.Constants;
import org.dom4j.Element;
import org.slf4j.Logger;
import org.slf4j.LoggerFactor... |
layout: page
title: "Barbara Barber"
comments: true
description: "blanks"
keywords: "Barbara Barber,CU,Boulder"
---
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="https://dl.dropboxusercontent.com/s/pc42nxpaw1ea4o9/highcharts.js?dl=0"></script>
<!-- <script... |
package test.json.impl.gson.serializer;
import javastrava.model.reference.StravaFrameType;
/**
* @author Dan Shannon
*
*/
public class FrameTypeSerializerTest extends EnumSerializerTest<StravaFrameType> {
/**
* @see test.json.impl.gson.serializer.SerializerTest#getClassUnderTest()
*/
@Override
public Class... |
/*
* @Author: gbk
* @Date: 2016-05-10 23:45:10
* @Last Modified by: gbk
* @Last Modified time: 2017-11-10 16:15:21
*/
'use strict';
var fs = require('fs');
var Balancer = require('load-balancer');
var UglifyJs = require('uglify-es');
var postcss = require('postcss');
var cssnano = require('cssnano');
var process... |
namespace YAF.Types.Models;
/// <summary>
/// A class which represents the ProfileDefinition table.
/// </summary>
[Serializable]
[UniqueConstraint(nameof(ID))]
public class ProfileDefinition : IEntity, IHaveID, IHaveBoardID
{
/// <summary>
/// Gets or sets the id.
/// </summary>
[Alias("ProfileDefin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
namespace Profiler.Data
{
[System.AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false)]
public class HiddenColumn : Attribute
{
}
[System.Attr... |
package org.sagebionetworks.web.client;
import com.google.gwt.user.client.Timer;
public class GWTTimerImpl implements GWTTimer {
Timer timer;
@Override
public void cancel() {
if (timer != null) {
timer.cancel();
}
}
@Override
public void schedule(int delayMillis) {
if (timer != null) ... |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingLeft="15dp"
android:paddingRight="15dp" >
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_co... |
// Copyright 2015 Google Inc. 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 applicable... |
spreedly-java
=============
```
<dependency>
<groupId>cc.protea.spreedly</groupId>
<artifactId>spreedly</artifactId>
<version>0.9.1</version>
</dependency>
```
I've attempted to preserve as much as possible of the Spreedly nomenclature, while making this more accessible to folk who spend
a lot more time w... |
<?php
namespace backend\modules\ecommerce\models;
use Yii;
use yii\db\Expression;
use yii\behaviors\TimestampBehavior;
use yii\behaviors\BlameableBehavior;
/**
* This is the model class for table "inquiry".
*
* @property integer $id
* @property string $name
* @property string $email
* @property string $website... |
angular.module('asch').controller('assetevaluationCtrl', function ($scope, $rootScope, apiService, ipCookie, $location, $window, NgTableParams,userService,postSerivice, $translate,$uibModal) {
$rootScope.active = 'assetevaluation';
$rootScope.userlogin = true;
$rootScope.isBodyMask = false;
$scope.asset... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>org.apache.poi.ss.formula.ptg (POI API Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
</head>
<body... |
package com.amazonaws.services.computeoptimizer;
import javax.annotation.Generated;
import com.amazonaws.services.computeoptimizer.model.*;
/**
* Abstract implementation of {@code AWSComputeOptimizerAsync}. Convenient method forms pass through to the
* corresponding overload that takes a request object and an {@c... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_144) on Tue Jul 03 11:44:52 CDT 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>edu.umn.nlpengine</title>
<... |
<!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" xml:lang="en" lang="en">
<head>
<title>Émile unit tests</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<script... |
<?php
namespace Freisicht\InvoiceImporter;
use Freisicht\InvoiceImporter\Base\ProjectOptionQuery as BaseProjectOptionQuery;
/**
* Skeleton subclass for performing query and update operations on the 'project_option' table.
*
*
*
* You should add additional methods to this class to meet the
* application require... |
(function(){
'use strict';
App.views.WelcomeView = Backbone.View.extend({
tagName: 'div',
className: 'container',
template: JST.welcome,
render: function() {
var html = this.template();
this.$el.html(html);
return this;
}
});
}()); |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.04.05 at 05:2... |
<?php
/**
* Comment template functions
*
* These functions are meant to live inside of the WordPress loop.
*
* @package WordPress
* @subpackage Template
*/
/**
* Retrieve the author of the current comment.
*
* If the comment has an empty comment_author field, then 'Anonymous' person is
* assum... |