text stringlengths 3 1.05M |
|---|
<?php
/**
* Service definition for SQLAdmin (v1beta3).
*
* <p>
* API for Cloud SQL database instance management.
* </p>
*
* <p>
* For more information about this service, see the API
* <a href="https://developers.google.com/cloud-sql/docs/admin-api/" target="_blank">Documentation</a>
* </p>
*
* @author Go... |
touch /usr/lib/kaa-node/conf/tmp.properties.template
# Check if JDBC host:port + DB name are provided, use defaults otherwise
[ -n "$JDBC_DB_NAME" ] || JDBC_DB_NAME="kaa"
# Determine JDBC url and driver
# SQL_PROVIDER_NAME is a mandatory environment variable
[ -n "$SQL_PROVIDER_NAME" ] || SQL_PROVIDER_NAME="mariadb"
... |
<?php
/*
* DataTables example server-side processing script.
*
* Please note that this script is intentionally extremely simply to show how
* server-side processing can be implemented, and probably shouldn't be used as
* the basis for a large complex system. It is suitable for simple use cases as
* for learning.... |
package sample.tomcat.multiconnector;
import java.io.IOException;
import java.net.HttpURLConnection;
import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.HttpsURLConnection;
import javax.net.ssl.SSLContext;
import javax.net.ssl.SSLSession;
import javax.net.ssl.TrustManager;
import javax.net.ssl.X509TrustMana... |
require 'formula'
class Ttytter < Formula
homepage 'http://www.floodgap.com/software/ttytter/'
url 'http://www.floodgap.com/software/ttytter/dist2/2.1.00.txt'
sha1 'a72b2c4b7da8a370ff15c7f5a1a3ecf9056590f0'
def install
bin.install "#{version}.txt" => "ttytter"
end
def caveats; <<-EOS.undent
To ta... |
import React, {Component} from 'react'
import {connect} from 'react-redux';
import {bindActionCreators} from 'redux';
import {addToDo} from '../actions/index';
class AddList extends Component{
constructor(props){
super(props);
this.id=0;
this.onSubmitToDo=this.onSubmitToDo.bind(this);
this.onInputChange=t... |
Collects metrics from a memcached instance. See video [walkthrough](https://help.boundary.com/hc/articles/201816101).
### Prerequisites
#### Supported OS
| OS | Linux | Windows | SmartOS | OS X |
|:----------|:-----:|:-------:|:-------:|:----:|
| Supported | v | v | - | v |
#### TrueSight ... |
from setuptools import setup, Extension
import sys
import re
import os
import commands
if sys.version_info < (2, 3):
raise Exception, "Python 2.3 or later is required"
include_dirs = []
library_dirs = ['/usr/local/lib']
if sys.platform == 'linux2':
os.environ['PATH'] += ":/usr/local/bin:$home/bin:.:..:../.."... |
"use strict";
var outbound = require('./outbound');
exports.hook_get_mx = function (next, hmail, domain) {
if (!hmail.todo.notes.using_lmtp) return next();
var config = this.config.get('lmtp.ini', 'ini');
var section = config[domain] || config.main;
var mx = {
priority: 0,
exchange: se... |
package org.hawkular.apm.api.services;
import java.util.List;
import org.hawkular.apm.api.model.trace.Trace;
/**
* This interface represents the service used to store and retrieve traces.
*
* @author gbrown
*/
public interface TraceService {
/**
* This method returns the trace fragment associated with... |
/*************************************************************************/
/* resource_importer_mp3.h */
/*************************************************************************/
/* This file is part of: */
/* ... |
module.exports = function authorization(req, res, next) {
var apiKey = req.admin.opts.apiKey
if (!apiKey) return next()
var token = req.headers['api-key']
|| req.headers['x-api-key']
|| req.headers['authorization']
if (token === apiKey) {
return next()
}
res.writeHead(401)
res.end()
}
|
<?xml version="1.0" encoding="utf-8" ?>
<XnaContent xmlns:Pipeline="Myre.Graphics.Pipeline">
<Asset Type="Pipeline:Particles.ParticleSystem">
<BlendState>Additive</BlendState>
<EndLinearVelocity>0.25</EndLinearVelocity>
<EndScale>1.75</EndScale>
<Gravity>0 9 0</Gravity>
<Lifetime>5</Lifetime>
... |
package template
import (
"html/template"
"github.com/bruferrari/devfest16-api-development-swagger/lib/context"
)
func FuncMaps() []template.FuncMap {
return []template.FuncMap{
map[string]interface{}{
"Tr": context.I18n,
}}
} |
/*
* Created by IntelliJ IDEA.
* User: yole
* Date: 02.11.2006
* Time: 22:13:55
*/
package com.intellij.openapi.vcs.changes.actions;
import com.intellij.openapi.actionSystem.ActionPlaces;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intell... |
@echo off
rem ---------------------------------------------------------------------------
rem Script for changing the password of a CARBON user
rem
rem Environment Variable Prequisites
rem
rem
rem JAVA_HOME Must point at your Java Development Kit installation.
rem
rem JAVA_OPTS (Optional) Java runtime o... |
/*
* @file
* Sequential API External module
*
*/
/*
* Copyright (c) 2001-2004 Swedish Institute of Computer Science.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
... |
// +k8s:deepcopy-gen=package,register
// +groupName=authentication.k8s.io
package authentication // import "k8s.io/kubernetes/pkg/apis/authentication"
|
package rollout
import (
"io"
"k8s.io/apimachinery/pkg/api/meta"
"k8s.io/apimachinery/pkg/runtime"
utilerrors "k8s.io/apimachinery/pkg/util/errors"
"k8s.io/kubernetes/pkg/kubectl"
"k8s.io/kubernetes/pkg/kubectl/cmd/templates"
cmdutil "k8s.io/kubernetes/pkg/kubectl/cmd/util"
"k8s.io/kubernetes/pkg/kubectl/re... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="robots" content="index, follow, all" />
<title>Thelia\Model\Base\CouponVersionQuery | </title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
<... |
<!DOCTYPE html>
<style>
canvas {
display: block;
position: fixed;
left: 0px;
top: 0px;
right: 0px;
bottom: 0px;
border: none;
width: 100px;
height: 100px;
margin: 0px;
padding: 0px;
image-rendering: -webkit-optimize-contrast;
}
</style>
<body>
<!-- The resulting image should be 100x100... |
namespace operations_research {
XmlHelper::XmlHelper() {}
void XmlHelper::StartDocument() {
content_ = "<?xml version=\"1.0\"?>\n";
direction_down_ = false;
}
void XmlHelper::StartElement(const std::string& name) {
if (direction_down_) {
content_.append(">\n");
}
tags_.push(name);
StringAppendF(&cont... |
IPC_STRUCT_TRAITS_BEGIN(struct_name)
#define IPC_STRUCT_MEMBER(type, name, ...) IPC_STRUCT_TRAITS_MEMBER(name)
#define IPC_STRUCT_END() IPC_STRUCT_TRAITS_END()
// Set up so next include will generate read methods.
#undef IPC_STRUCT_TRAITS_BEGIN
#undef IPC_STRUCT_TRAITS_MEMBER
#undef IPC_STRUCT_TRAITS_PARENT
#undef I... |
<div>
Diese Schlüssel-Wert-Paare gelten für jeden Build auf diesem Knoten und überschreiben
gleichnamige globale Werte. Sie können in Jenkins Konfiguration verwendet werden
(als <code>$key</code> oder <code>${key}</code>) und werden allen Prozessen, die während
des Builds gestartet werden, als Umgebungs... |
@interface _YYTextMagnifierCaret : YYTextMagnifier {
UIImageView *_contentView;
UIImageView *_coverView;
}
@end
@implementation _YYTextMagnifierCaret
#define kMultiple 1.2
#define kDiameter 113.0
#define kPadding 7.0
#define kSize CGSizeMake(kDiameter + kPadding * 2, kDiameter + kPadding * 2)
- (instancetype... |
package com.google.maps.android.utils.demo;
import com.google.android.gms.maps.model.BitmapDescriptor;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.maps.android.geojson.GeoJsonFeature;
import com.google.maps.android.geojson.GeoJsonLayer;
import com.google.maps.android.geojson.Geo... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="abs__action_bar_home_description">נווט אל הבית</string>
<string name="abs__action_bar_up_description">נווט למעלה</string>
<string name="abs__action_menu_overflow_description">אפשרויות נוספות</string>
<string name="abs__action_mode_done">בוצע<... |
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Diagnostics.HealthChecks;
using Microsoft.Extensions.DependencyInjection;
namespace Foundatio.Extensions.Hosting.Startup {
public class StartupActionsHealthCheck : IHealthCheck {
private readonly IServiceProvide... |
Keycloak on Quarkus is basically a Quarkus Extension. For more details about extensions, please take a look at [Writing Your Own Extension](https://quarkus.io/guides/writing-extensions) guide.
As an extension, the server can be embedded in any Quarkus application by adding the following dependency:
```
<dependencies>... |
package org.apache.camel.component.aws.ddb;
import java.util.HashMap;
import java.util.Map;
import com.amazonaws.services.dynamodbv2.AmazonDynamoDB;
import com.amazonaws.services.dynamodbv2.model.DeleteTableRequest;
import com.amazonaws.services.dynamodbv2.model.TableDescription;
import org.apache.camel.Exchange;
p... |
from thumbor.integration_tests import EngineCase
class PILTest(EngineCase):
engine = 'thumbor.engines.pil'
def test_single_params(self):
self.exec_single_params()
|
#include "askpassphrasedialog.h"
#include "ui_askpassphrasedialog.h"
#include "guiconstants.h"
#include "walletmodel.h"
#include <QMessageBox>
#include <QPushButton>
#include <QKeyEvent>
AskPassphraseDialog::AskPassphraseDialog(Mode mode, QWidget *parent) :
QDialog(parent),
ui(new Ui::AskPassphraseDialog),
... |
package com.siyeh.ig.style;
import com.intellij.codeInspection.ProblemDescriptor;
import com.intellij.codeInspection.ui.SingleCheckboxOptionsPanel;
import com.intellij.openapi.project.Project;
import com.intellij.psi.*;
import com.intellij.util.VisibilityUtil;
import com.siyeh.InspectionGadgetsBundle;
import com.siye... |
WebAudioModule.service('OSC', function() {
var self;
function Oscillator(ctx) {
self = this;
self.osc = ctx.createOscillator();
return self;
}
Oscillator.prototype.setOscType = function(type) {
if(type) {
self.osc.type = type
}
}
Oscillator... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Struct time_unit_tag</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="../../../index.html" title... |
package kafka.admin
import joptsimple._
import java.util.Properties
import kafka.common.AdminCommandFailedException
import kafka.utils._
import org.I0Itec.zkclient.ZkClient
import org.I0Itec.zkclient.exception.ZkNodeExistsException
import scala.collection._
import scala.collection.JavaConversions._
import kafka.clus... |
package gemx.scatterplothelper;
import model.ClonesetMetricModel;
import model.MetricsSummaryData;
public class CloneSetMetricExtractor {
private ClonesetMetricModel model;
private double maxValue;
private double minValue;
private double w;
private int metricID;
public static CloneSetMetricExtract... |
package net.mcarolan.whenzebus.api.field;
import net.mcarolan.whenzebus.api.client.Response;
import android.util.Log;
public class DoubleField implements Field {
private static final String TAG = "DoublePredictionField";
private final String fieldName;
private final int sequenceNumber;
public DoubleField(St... |
@class DVTFilePath, DevkitNewTextFileChangeSet, NSString;
@interface DevkitCreateSuperclassTransformation : DevkitRefactoringTransformation
{
DVTFilePath *_referencedHeaderFilePath;
DVTFilePath *_referencedSourceFilePath;
NSString *_referencedSuperclassName;
NSString *_referencedSuperclassFilePath;
... |
#ifndef DecoratorDefs_h
#define DecoratorDefs_h
#pragma warning( disable : 4786 )
#include "StdAfx.h"
#include "DecoratorLibResource.h"
//################################################################################################
//
// IMPORTANT :
// this is from GmeStd.h
//
//#################... |
package org.fest.swing.monitor;
import static org.fest.swing.edt.GuiActionRunner.execute;
import static org.fest.swing.monitor.TestContexts.newMockContext;
import static org.fest.swing.monitor.TestWindows.newWindowsMock;
import static org.fest.swing.test.awt.Toolkits.newToolkitStub;
import static org.mockito.Mockito.... |
package cmd
import (
"fmt"
"io"
"os"
"os/exec"
"path/filepath"
"github.com/spf13/cobra"
kubeadmapi "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm"
kubeadmapiext "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/v1alpha1"
kubeadmconstants "k8s.io/kubernetes/cmd/kubeadm/app/constants"
"k8s.io/kubernetes/cmd... |
require "cxxstdlib"
require "exceptions"
require "formula"
require "keg"
require "tab"
require "bottles"
require "caveats"
require "cleaner"
require "formula_cellar_checks"
require "install_renamed"
require "cmd/tap"
require "cmd/postinstall"
require "hooks/bottles"
require "debrew"
require "sandbox"
require "requireme... |
layout: post
title: The Search for Auto-Loaded DLLs and Windows rpath
category: programming
tags: ['windows', 'shared-libs']
excerpt: Some ideas and approaches to the problem of finding auto-loaded DLLs.
---
> Edit: I added a section about delayed loading thanks to comments which pointed out that I had overlooked this... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
#include "config.h"
#if ENABLE(SVG) && ENABLE(FILTERS)
#include "SVGFEImageElement.h"
#include "Attr.h"
#include "CachedImage.h"
#include "CachedResourceLoader.h"
#include "CachedResourceRequest.h"
#include "ColorSpace.h"
#include "Document.h"
#include "Image.h"
#include "RenderObject.h"
#include "RenderSVGResource... |
YUI.add('event-simulate', function (Y, NAME) {
(function() {
/**
* Simulate user interaction by generating native DOM events.
*
* @module event-simulate
* @requires event
*/
//shortcuts
var L = Y.Lang,
isFunction = L.isFunction,
isString = L.isString,
isBoolean = L.isBoolean,
isObject ... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="../../../node_modules/qunitjs/qunit/qunit.css" media="screen">
</head>
<body>
<div id="qunit"></div>
<div id="qunit-fixture"></div>
<!-- API DATA -->
<!-- TEST TOOLS -->
<script src="../../../node_modules... |
require 'formula'
class Scrollkeeper < Formula
homepage 'http://scrollkeeper.sourceforge.net/'
url 'https://downloads.sourceforge.net/project/scrollkeeper/scrollkeeper/0.3.14/scrollkeeper-0.3.14.tar.gz'
sha1 '0462799a2d96f46dec76f2fd057e2dfe8d7cb94d'
depends_on 'gettext'
depends_on 'docbook'
conflicts_wi... |
from __future__ import division, print_function
# Define testing imports
from . import basic
from . import full |
class Blog < ActiveRecord::Base
has_many :articles
end
|
package io.netty.resolver;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.function.Executable;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.Reader;
import java.io.StringReader;
import java.net.InetAddress;
import java.nio.charset.Charset;
import java... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>FreeType-2.6.2 API Reference</title>
<style type="text/css">
a:link { color: #0000EF; }
a:visited { color: #51188E; }
a:ho... |
if (typeof jQuery != 'undefined') {
mejs.$ = jQuery;
} else if (typeof ender != 'undefined') {
mejs.$ = ender;
}
(function ($) {
// default player values
mejs.MepDefaults = {
// url to poster (to fix iOS 3.x)
poster: '',
// When the video is ended, we can show the poster.
showPosterWhenEnded: false,
// ... |
platform_is :windows do
require 'win32ole'
describe 'WIN32OLE_METHOD#invoke_kind' do
before :each do
ole_type = WIN32OLE_TYPE.new("Microsoft Scripting Runtime", "File")
@m_file_name = WIN32OLE_METHOD.new(ole_type, "name")
end
it 'raises ArgumentError if argument is given' do
lambda {... |
package com.google.gerrit.common.data;
import com.google.gerrit.extensions.client.DiffPreferencesInfo;
import com.google.gerrit.extensions.client.DiffPreferencesInfo.Whitespace;
import com.google.gerrit.prettify.common.SparseFileContent;
import com.google.gerrit.reviewdb.client.Change;
import com.google.gerrit.reviewd... |
enum class DownloadConfirmationReason {
NONE,
// Unexpected error.
UNEXPECTED,
// "Save as" or "Save link as".
SAVE_AS,
// The user has set a preference requiring prompts for all downloads.
PREFERENCE,
// The target name was too long and couldn't be truncated.
NAME_TOO_LONG,
// There were unres... |
import numpy as np
import tensorflow as tf
import larq as lq
def _eval_tensor(tensor):
if tensor is None:
return None
elif callable(tensor):
return _eval_helper(tensor())
else:
return tensor.numpy()
def _eval_helper(tensors):
if tensors is None:
return None
retur... |
/**
* @file xsh_kexec.c
*/
/* Embedded Xinu, Copyright (C) 2013. All rights reserved. */
#include <conf.h>
#include <device.h>
#include <kexec.h>
#include <shell.h>
#include <stdio.h>
#include <string.h>
#if NETHER
# include <tftp.h>
# include <dhcpc.h>
# include <network.h>
#endif
static void usage(const char... |
<?php
/**
* @see Zend_Gdata_Extension
*/
// require_once 'Zend/Gdata/Extension.php';
/**
* Represents the gCal:quickAdd element used by the Calendar data API
*
* @category Zend
* @package Zend_Gdata
* @subpackage Calendar
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend... |
int opl3_detect (int ioaddr, int *osp);
int opl3_init(int ioaddr, int *osp, struct module *owner);
void enable_opl3_mode(int left, int right, int both);
|
"""
Back compatibility decorators module. It will import the appropriate
set of tools
"""
from __future__ import division, absolute_import, print_function
import warnings
# 2018-04-04, numpy 1.15.0
warnings.warn("Importing from numpy.testing.decorators is deprecated "
"since numpy 1.15.0, import from n... |
;(function() {
var enifed, requireModule, require, Ember;
var mainContext = this;
(function() {
var isNode = typeof window === 'undefined' &&
typeof process !== 'undefined' && {}.toString.call(process) === '[object process]';
if (!isNode) {
Ember = this.Ember = this.Ember || {};
}
if (typeof Ember ... |
package volumemanager
import (
"fmt"
"sort"
"strconv"
"time"
"github.com/golang/glog"
"k8s.io/api/core/v1"
k8stypes "k8s.io/apimachinery/pkg/types"
"k8s.io/apimachinery/pkg/util/runtime"
"k8s.io/apimachinery/pkg/util/sets"
"k8s.io/apimachinery/pkg/util/wait"
clientset "k8s.io/client-go/kubernetes"
"k8s.... |
package org.apache.dubbo.remoting.transport.mina;
import org.apache.dubbo.common.URL;
import org.apache.dubbo.common.logger.Logger;
import org.apache.dubbo.common.logger.LoggerFactory;
import org.apache.dubbo.remoting.ChannelHandler;
import org.apache.dubbo.remoting.RemotingException;
import org.apache.dubbo.remoting... |
package iso20022
// ATM information.
type AutomatedTellerMachine9 struct {
// ATM terminal device identification for the acquirer and the issuer.
Identification *Max35Text `xml:"Id"`
// ATM terminal device identification for the ATM manager.
AdditionalIdentification *Max35Text `xml:"AddtlId,omitempty"`
// ATM ... |
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['exports', 'echarts'], factory);
} else if (typeof exports === 'object' && typeof exports.nodeName !== 'string') {
// CommonJS
factory(exports, require('... |
#include "src/core/iomgr/sockaddr.h"
#include "src/core/httpcli/httpcli.h"
#include <string.h>
#include "src/core/iomgr/endpoint.h"
#include "src/core/iomgr/resolve_address.h"
#include "src/core/iomgr/tcp_client.h"
#include "src/core/httpcli/format_request.h"
#include "src/core/httpcli/parser.h"
#include "src/core/... |
package config
import (
cb "github.com/hyperledger/fabric/protos/common"
pb "github.com/hyperledger/fabric/protos/peer"
"github.com/hyperledger/fabric/protos/utils"
)
func applicationConfigGroup(orgID string, key string, value []byte) *cb.ConfigGroup {
result := cb.NewConfigGroup()
result.Groups[ApplicationGro... |
/**@file
*
* @defgroup ble_bas_c Battery Service Client
* @{
* @ingroup ble_sdk_srv
* @brief Battery Service Client module.
*
* @details This module contains APIs to read and interact with the Battery Service of a remote
* device.
*
* @note The application must propagate BLE s... |
from __future__ import division
import colorsys
from itertools import cycle
import numpy as np
import matplotlib as mpl
from six import string_types
from six.moves import range
from . import husl
from .xkcd_rgb import xkcd_rgb
def desaturate(color, prop):
"""Decrease the saturation channel of a color by some... |
#ifndef __TBB_range_iterator_H
#define __TBB_range_iterator_H
#include "../tbb_stddef.h"
#if __TBB_CPP11_STD_BEGIN_END_PRESENT && __TBB_CPP11_AUTO_PRESENT && __TBB_CPP11_DECLTYPE_PRESENT
#include <iterator>
#endif
namespace tbb {
// iterators to first and last elements of container
namespace internal {... |
package org.kuali.rice.krad.uif.layout;
/**
* Layout manager that just renders the items one after another (no wrapping occurs).
*
* @author Kuali Rice Team (rice.collab@kuali.org)
*/
public class SimpleLayoutManager extends LayoutManagerBase {
private static final long serialVersionUID = -2406117038... |
package org.spongepowered.common;
import static com.google.common.base.Objects.firstNonNull;
import static com.google.common.base.Preconditions.checkNotNull;
import static com.google.common.base.Preconditions.checkState;
import static org.spongepowered.common.config.SpongeConfig.Type.GLOBAL;
import com.google.inject... |
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2017 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. -->
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@mipmap/app_icon_hdpi... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
Grammitis peninsularis Copel.
### Remarks
null |
class BookmarkModel;
class BookmarkNode;
class ChromeBookmarkClient;
// Helper functions.
namespace extensions {
namespace bookmark_api_helpers {
// The returned value is owned by the caller.
api::bookmarks::BookmarkTreeNode* GetBookmarkTreeNode(
ChromeBookmarkClient* client,
const BookmarkNode* node,
boo... |
<html>
<title>checkSession Test </title>
<body>
<!-- checking for Session object state -->
true
<br>
<br>
true
<br>
</body>
</html>
|
package com.groupdocs.ui.viewer.cache.model;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.groupdocs.viewer.results.Line;
import com.groupdocs.viewer.results.Page;
import java.util.List;
@Jso... |
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/tips.css">
</head>
<body>
<p>To open any particular file in the editor quickly, press <span class="shortcut">&shortcut:GotoFile;</span>
(<span class="control">Navigate | File</span>)
and start typing its name.</p>
<p>Choose symbol from the dro... |
module Default {
"use strict";
var app = WinJS.Application;
var activation = Windows.ApplicationModel.Activation;
var nav = WinJS.Navigation;
//WinJS.strictProcessing();
var searchPane = Windows.ApplicationModel.Search.SearchPane.getForCurrentView();
searchPane.onquerysubmit... |
package io.druid.metadata;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.base.Suppliers;
import com.google.common.collect.ImmutableMap;
import io.druid.audit.AuditEntry;
import io.druid.audit.AuditInfo;
import io.druid.audit.AuditM... |
package liulixiang1988;
import okhttp3.*;
import java.io.File;
import java.io.IOException;
import java.net.URISyntaxException;
import java.net.URL;
/**
* Created by liulixiang on 16/5/26.
*/
public class OkHttpDemo {
private String _multiPartFormContentType = "----IScanningFormBoundarySMFEtUYQG6r5B920";
//... |
<schema-based-editor [schema]="getSchema.bind(this)"
[localValue]="value._unicode"
(localValueChange)="updateValue($event)">
</schema-based-editor>
|
@interface ServiceDebugger_CPUModel : BeeModel
@property (nonatomic, readonly) float usage;
@property (nonatomic, readonly) NSMutableArray * chartDatas;
@property (nonatomic, readonly) float lowerBound;
@property (nonatomic, readonly) float upperBound;
AS_SINGLETON( ServiceDebugger_CPUModel )
@end
#endif /... |
import Ember from 'ember';
import DropdownButton from 'ghost/components/gh-dropdown-button';
const {
inject: {service}
} = Ember;
function K() {
return this;
}
export default DropdownButton.extend({
dropdown: service(),
click: K,
mouseEnter() {
this._super(...arguments);
this.ge... |
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: AssemblyTi... |
Redux can be described in three fundamental principles:
### Single source of truth
**The [state](../Glossary.md#state) of your whole application is stored in an object tree inside a single [store](../Glossary.md#store).**
This makes it easy to create universal apps. The state from the server can be serialized and hy... |
CKEDITOR.plugins.setLang( 'stylescombo', 'af', {
label: 'Styl',
panelTitle: 'Vormaat style',
panelTitle1: 'Blok style',
panelTitle2: 'Inlyn style',
panelTitle3: 'Objek style'
} );
|
package org.apache.camel.component.metrics;
import java.util.HashMap;
import java.util.Map;
import com.codahale.metrics.Counter;
import com.codahale.metrics.MetricRegistry;
import org.apache.camel.EndpointInject;
import org.apache.camel.Produce;
import org.apache.camel.ProducerTemplate;
import org.apache.camel.build... |
$(document).ready(function() {
$('.login-link').on('click', function(event){
var $target = $(event.target)
event.preventDefault();
$.ajax({
url: "/login",
type: "GET"
}).done(function(response){
$('.welcome').append(response);
$('#login-toolbar').remove();
})
});
$('.s... |
package org.apereo.cas.authentication;
import java.util.Map;
/**
* This is {@link SurrogateAuthenticationException}.
*
* @author Misagh Moayyed
* @since 5.2.0
*/
public class SurrogateAuthenticationException extends AuthenticationException {
private static final long serialVersionUID = -3250559691638860076L;... |
<?php
namespace Doctrine\Tests\Common\Reflection;
use PHPUnit_Framework_TestCase;
use Doctrine\Common\Reflection\RuntimePublicReflectionProperty;
use Doctrine\Common\Proxy\Proxy;
class RuntimePublicReflectionPropertyTest extends PHPUnit_Framework_TestCase
{
public function testGetValueOnProxyPublicProperty()
... |
verify.formatDocumentChangesNothing();
|
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./../assets/css/combined.css">
<link rel="shortcut icon" href="./../favicon.ico" />
<script src="http://www.google.com/jsapi" type="text/javascript"></s... |
/*************************************************************************/
/* hinge_joint_bullet.h */
/*************************************************************************/
/* This file is part of: */
/* ... |
namespace boost
{
enum one_bit_color_type
{
one_bit_white = 0,
one_bit_not_white = 1
};
template <> struct color_traits< one_bit_color_type >
{
static one_bit_color_type white() { return one_bit_white; }
static one_bit_color_type gray() { return one_bit_not_white; }
static one_bit_color_type black... |
#pragma once
#ifndef __OPENCV_CUDEV_PTR2D_GPUMAT_HPP__
#define __OPENCV_CUDEV_PTR2D_GPUMAT_HPP__
#include "../common.hpp"
#include "../util/vec_traits.hpp"
#include "../expr/expr.hpp"
#include "glob.hpp"
namespace cv { namespace cudev {
//! @addtogroup cudev
//! @{
template <typename T>
class GpuMat_ : public Gp... |
.. _es-guide-reference-api-admin-indices-gateway-snapshot:
==============================
Admin Indices Gateway Snapshot
==============================
The gateway snapshot API allows to explicitly perform a snapshot through the gateway of one or more indices (backup them). By default, each index gateway periodically... |
package org.optaplanner.persistence.jpa.impl.score.buildin.bendablebigdecimal;
import java.util.Properties;
import org.hibernate.type.StandardBasicTypes;
import org.hibernate.usertype.ParameterizedType;
import org.optaplanner.core.impl.score.buildin.BendableBigDecimalScoreDefinition;
import org.optaplanner.persistenc... |