text stringlengths 3 1.05M |
|---|
/**
* @license Angulartics v0.8.5
* (c) 2013 Luis Farzati http://luisfarzati.github.io/angulartics
* Universal Analytics update contributed by http://github.com/willmcclellan
* License: MIT
*/
!function(a){"use strict";a.module("angulartics.google.analytics",["angulartics"]).config(["$analyticsProvider",function(a... |
const Product = function () {
this.id
this.name
this.quantity
this.price
this.isPerItem
this.priceUn
this.total
}
Product.prototype.setName = function (name) {
this.name = name
return this
}
Product.prototype._stringToFloat = function (value) {
return parseFloat(value)
}
Product.prototype.setQuanti... |
package org.terracotta.nomad.client;
import org.terracotta.nomad.client.results.AllResultsReceiver;
import org.terracotta.nomad.messages.DiscoverResponse;
import org.terracotta.nomad.server.NomadServerMode;
import java.net.InetSocketAddress;
import java.util.Collection;
import java.util.UUID;
import static org.terr... |
import { BaseException } from '..';
import { JsonAstNode, JsonValue, Position } from './interface';
/**
* A character was invalid in this context.
*/
export declare class InvalidJsonCharacterException extends BaseException {
constructor(context: JsonParserContext);
}
/**
* More input was expected, but we reache... |
require 'protobuf'
##
# Message Classes
#
class Serializer < ::Protobuf::Message
class Type < ::Protobuf::Enum
define :DEFAULT, 0
define :USER, 1
end
end
##
# Message Fields
#
class Serializer
optional :bool, :bool_field, 1
optional :bytes, :bytes_field, 2
optional :double, :double_field, 3
op... |
"""Contains the methods to import mail via Google Apps Email Migration API.
MigrationService: Provides methods to import mail.
"""
__author__ = ('google-apps-apis@googlegroups.com',
'pti@google.com (Prashant Tiwari)')
import base64
import threading
import time
from atom.service import deprecation
fr... |
/***************************************************************************/
/* */
/* svgxval.h */
/* */
/* ... |
'use strict';
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
var _expect = require('expect');
var _expect2 = _interopRequireDefault(_expect);
var _getValue = require('../getValue');
var _getValue2 = _interopRequireDefault(_getValue);
describe('getValue', function... |
title: Build a Survey Form
localeTitle: 建立调查表格
---
## 建立调查表格
这是一个存根。 [帮助我们的社区扩展它](https://github.com/freecodecamp/guides/tree/master/src/pages/certifications/responsive-web-design/responsive-web-design-projects/build-a-survey-form/index.md) 。
[这种快速风格指南有助于确保您的拉取请求被接受](https://github.com/freecodecamp/guides/blob/master... |
// -*- mode:C++; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*-
#include "EvMono.hpp"
void SetViewer(EnvironmentBasePtr penv, const string& viewername)
{
ViewerBasePtr viewer = RaveCreateViewer(penv,viewername);
BOOST_ASSERT(!!viewer);
// attach it to the environment:
penv->AttachViewer(view... |
/**
* Parse JavaScript SDK v1.9.2
*
* The source tree of this library can be found at
* https://github.com/ParsePlatform/Parse-SDK-JS
*/
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof win... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width" />
<link rel="shortcut icon" type="image/x-icon" href="../../../favicon.ico" />
<title>Tel... |
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
<!--<bean name="gson" clas... |
package com.thoughtworks.go.util.command;
import com.thoughtworks.go.util.command.StreamConsumer;
/**
* @understands discarding stream output
*/
public class DevNull implements StreamConsumer {
public void consumeLine(String line) {
}
}
|
PACKAGE_NAME=os-locale
PACKAGE_VERSION=5.0.0
PACKAGE_URL=https://github.com/sindresorhus/os-locale
yum -y update && yum install -y yum-utils nodejs nodejs-devel nodejs-packaging npm python38 python38-devel ncurses git gcc gcc-c++ libffi libffi-devel ncurses git jq make cmake
yum-config-manager --add-repo http://rhn.pb... |
Almond flour pancakes (low-carb)
================================
.. figure:: _static/pancakes_1.jpg
Pancakes served with cream cheese and bacon... yummy!
- Serves: 2
- Type: Dessert - breakfast main
Who does not love pancakes for breakfast?, especially on a Sunday morning when it is gloomy outside and you need... |
/*
* Copyright (c) 1995, 1996
* The President and Fellows of Harvard University. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above ... |
package org.broadleafcommerce.core.order.service.call;
public class OrderItemRequest extends AbstractOrderItemRequest {
protected String itemName;
public OrderItemRequest() {
super();
}
public OrderItemRequest(AbstractOrderItemRequest request) {
setPersonalMessage(request.getPerson... |
#include <aws/email/model/SNSAction.h>
#include <aws/core/utils/xml/XmlSerializer.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/core/utils/memory/stl/AWSStringStream.h>
#include <utility>
using namespace Aws::SES::Model;
using namespace Aws::Utils::Xml;
using namespace Aws::Utils;
SNSAction::SNSAction() ... |
import java.util.Collections;
import java.util.List;
class A implements List {
public static void main(String[] args){
Object[] objs = new Object[0];
Collections.addAll(this, objs);
}
} |
namespace net {
class SpdyBuffer;
class SpdyBufferProducer;
class SpdyStream;
// A queue of SpdyBufferProducers to produce frames to write. Ordered
// by priority, and then FIFO.
class NET_EXPORT_PRIVATE SpdyWriteQueue {
public:
SpdyWriteQueue();
~SpdyWriteQueue();
// Returns whether there is anything in the ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Login Page - Photon Admin Panel Theme</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<link rel="shortcut icon" href="favicon.ico.html"/>
<link rel="apple-touch-ico... |
package org.neo4j.cypher.internal.compiler.v2_3.planner.logical.steps
import org.neo4j.cypher.internal.frontend.v2_3.ast._
import org.neo4j.cypher.internal.compiler.v2_3.planner._
import org.neo4j.cypher.internal.compiler.v2_3.planner.logical.plans.{Aggregation, LogicalPlan, Projection}
import org.neo4j.cypher.intern... |
package org.apache.tinkerpop.gremlin.server.handler;
import io.netty.channel.ChannelHandler;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelInboundHandlerAdapter;
import io.netty.channel.ChannelPipeline;
import io.netty.handler.codec.http.HttpMessage;
import org.apache.tinkerpop.gremlin... |
// -*- mode: java; c-basic-offset: 2; -*-
// Copyright 2009-2011 Google, All Rights reserved
// Copyright 2011-2012 MIT, All rights reserved
// Released under the Apache License, Version 2.0
// http://www.apache.org/licenses/LICENSE-2.0
package com.google.appinventor.client.editor.simple.components;
import com.google... |
package org.codehaus.groovy.classgen.asm;
import org.codehaus.groovy.ast.ClassNode;
import org.codehaus.groovy.ast.expr.Expression;
/**
* Interface for modules which are capable of resolving the type of an expression.
* Several implementations are available, depending on whether you are in a dynamic
* or static c... |
/**
* @hide
*/
package android.filterfw.core;
|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Reflection;
namespace SecMS.Areas.HelpPage
{
/// <summary>
/// This class will create an object of a given type and populate it with sampl... |
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else if(typeof exports === 'object')
exports["InspireTree"] = factory();
else
root["... |
module RuboCop
module Formatter
# This formatter display dots for files with no offenses and
# letters for files with problems in the them. In the end it
# appends the regular report data in the clang style format.
class ProgressFormatter < ClangStyleFormatter
include TextUtil
DOT = '.'.f... |
package org.apache.hadoop.hbase.http;
import org.mortbay.jetty.security.SslSocketConnector;
import javax.net.ssl.SSLServerSocket;
import java.io.IOException;
import java.net.ServerSocket;
import java.util.ArrayList;
/**
* This subclass of the Jetty SslSocketConnector exists solely to control
* the TLS protocol v... |
<?php
namespace yii\mail;
use Yii;
use yii\base\Component;
use yii\base\InvalidConfigException;
use yii\base\ViewContextInterface;
use yii\web\View;
/**
* BaseMailer serves as a base class that implements the basic functions required by [[MailerInterface]].
*
* Concrete child classes should may focus on implemen... |
module EventMachine
module Protocols
# <b>Note:</b> This class is deprecated and will be removed. Please use EM-HTTP-Request instead.
#
# @example
# EventMachine.run {
# http = EventMachine::Protocols::HttpClient.request(
# :host => server,
# :port => 80,
# :request... |
package test
import (
"encoding"
"strings"
)
type keyType string
func (k keyType) MarshalText() ([]byte, error) {
return []byte("MANUAL__" + k), nil
}
func (k *keyType) UnmarshalText(text []byte) error {
*k = keyType(strings.TrimPrefix(string(text), "MANUAL__"))
return nil
}
var _ encoding.TextMarshaler = key... |
"""grit unittests presubmit script.
See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts for
details on the presubmit API built into gcl.
"""
def RunUnittests(input_api, output_api):
return input_api.canned_checks.RunPythonUnitTests(input_api, output_api,
['grit.test_suite_all'])
def... |
/*! Formstone v0.4.7 [lightbox.css] 2015-04-10 | MIT License | formstone.it */
/**
* @class
* @name .fs-lightbox-element
* @type element
* @description Target elmement
*/
/**
* @class
* @name .fs-lightbox
* @type element
* @description Base widget class
*/
/**
* @class
* @name .fs-lightbox.fs-l... |
//
// Reactual - an FRP-ish library for Scala
// Copyright (c) 2013, Michael Bayne - All rights reserved.
// http://github.com/samskivert/reactual/blob/master/LICENSE
package reactual
/** A container for a single optional value, which may be observed for changes. */
class OptValue[T] protected (init :T) extends OptVa... |
using System;
using System.IO;
using System.Reflection;
using NUnit.Framework;
namespace Tailviewer.Acceptance.Tests
{
[SetUpFixture]
public sealed class AssemblySetup
{
[OneTimeSetUp]
public void SetUp()
{
Directory.SetCurrentDirectory(AssemblyDirectory);
}
public static string AssemblyDirectory
{... |
license: 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"); you may not use th... |
<!DOCTYPE html>
<script>
var channel = new MessageChannel();
channel.port1.start();
channel.port1.close();
window.top.postMessage('gcMe', '*');
</script>
|
.bootstrap-select {
width: 220px \0;
/*IE9 and below*/
}
.bootstrap-select > .dropdown-toggle {
width: 100%;
padding-right: 25px;
}
.has-error .bootstrap-select .dropdown-toggle,
.error .bootstrap-select .dropdown-toggle {
border-color: #b94a48;
}
.bootstrap-select.fit-width {
width: auto !important;
}
.b... |
<?php
namespace mageekguy\atoum\asserters;
class castToString extends phpString
{
public function setWith($value, $charlist = null, $checkType = true)
{
parent::setWith($value, $charlist, false);
if ($checkType === true) {
if (self::isObject($value) === false) {
$t... |
// ## Globals
var argv = require('minimist')(process.argv.slice(2));
var autoprefixer = require('gulp-autoprefixer');
var browserSync = require('browser-sync').create();
var changed = require('gulp-changed');
var concat = require('gulp-concat');
var flatten = require('gulp-flatten');
var gulp ... |
<html>
<body>
Reports any classes which directly extend <b>java.lang.Throwable</b>.
It is generally considered bad practice to extend <b>java.lang.Throwable</b> directly and
it is usually enough to extend either <b>java.lang.RuntimeException</b> or <b>java.lang.Exception</b> or in special
cases <b>java.lang.Error</b>.
... |
import numpy as np
import matplotlib.pyplot as plt
from sklearn import svm, preprocessing
import pandas as pd
from matplotlib import style
style.use("ggplot")
FEATURES = [
'DE Ratio',
'Trailing P/E',
'Price/Sales',
'Price/Book',
'Profit Margin',
'Operating Margin',
'Return on Assets',
'Return on Equit... |
package org.apache.xmlgraphics.io;
import java.net.URI;
import java.util.HashSet;
import java.util.Set;
import java.util.regex.Pattern;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotSame;
import static org.jun... |
<?php
namespace Jackiedo\LogReader\Console\Commands;
use Illuminate\Console\Command;
use Jackiedo\LogReader\Console\Traits\CreateCommandInstanceTrait;
use Symfony\Component\Console\Input\InputOption;
class LogReaderFileListCommand extends Command
{
use CreateCommandInstanceTrait;
/**
* The console comm... |
<?php
namespace Imagine\Image\Histogram;
use Imagine\Exception\OutOfBoundsException;
/**
* Range histogram
*/
final class Range
{
/**
* @var integer
*/
private $start;
/**
* @var integer
*/
private $end;
/**
* @param integer $start
* @param integer $end
*
... |
// # Update Fixtures
// This module handles updating fixtures.
// This is done manually, through a series of files stored in an adjacent folder
// E.g. if we update to version 004, all the tasks in /004/ are executed
var Promise = require('bluebird'),
sequence = require('../../../utils/sequence'),
update;
/**... |
SHELL = /bin/sh
CC = $(WTF) g++
# For every new .C file created, you must add a corresponding .o to OBJS.
OBJS = BComparison.o BBinaryLogic.o BNegation.o BBool.o BIsNull.o
# Executables
EXEC = cstore
SLEEPYCAT_DIRECTORY = /usr/local/BerkeleyDB.4.2
#SLEEPYCAT_DIRECTORY = /pro/borealis/software/bdb/
SLEEPYCAT_INCLUDE... |
package com.google.security.zynamics.binnavi.Gui.Debug.BreakpointTable;
import com.google.security.zynamics.binnavi.debug.models.breakpoints.BreakpointManager;
import com.google.security.zynamics.binnavi.debug.models.breakpoints.enums.BreakpointStatus;
import java.awt.Color;
import java.awt.Component;
import javax.... |
#
#
# /* See http://www.boost.org for most recent version. */
#
# ifndef MSGPACK_PREPROCESSOR_PUNCTUATION_PAREN_IF_HPP
# define MSGPACK_PREPROCESSOR_PUNCTUATION_PAREN_IF_HPP
#
# include <msgpack/preprocessor/config/config.hpp>
# include <msgpack/preprocessor/control/if.hpp>
# include <msgpack/preprocessor/facilities/e... |
using BepuPhysics;
using BepuPhysics.Collidables;
using BepuPhysics.CollisionDetection;
using BepuPhysics.Constraints;
using BepuPhysics.Constraints.Contact;
using BepuUtilities;
using BepuUtilities.Collections;
using BepuUtilities.Memory;
using DemoContentLoader;
using DemoRenderer;
using DemoRenderer.UI;
using DemoU... |
<?php
// Function to search for the mysitemap.json
// We pass the $mydir to the function. This is from 'SCRIPT_FILENAME' which has the absolute path
// to the target with the full DOCUMENT_ROOT plus the directory path from the docroot to the
// target.
// For example DOCUMENT_ROOT + /path/target
// So we take this and ... |
(function (enyo, scope) {
/**
* {@link onyx.Toolbar} is a horizontal bar containing controls used to perform
* common UI actions.
*
* A toolbar customizes the styling of the controls it hosts, including buttons,
* icons, and inputs.
*
* ```
* {kind: 'onyx.Toolbar', components: [
* {kind: 'onyx.Button', cont... |
var binary = require('node-pre-gyp');
var path = require('path')
var binding_path = binary.find(path.resolve(path.join(__dirname,'./package.json')));
var binding = require(binding_path);
require('assert').equal(binding.hello(),"hello"); |
<?php
class PHPExcel_Cell_Hyperlink
{
/**
* URL to link the cell to
*
* @var string
*/
private $url;
/**
* Tooltip to display on the hyperlink
*
* @var string
*/
private $tooltip;
/**
* Create a new PHPExcel_Cell_Hyperlink
*
* @param string... |
require 'chefspec'
describe 'stub_node::default' do
let(:my_node) do
stub_node('example.com', platform: 'ubuntu', version: '18.04') do |node|
node.normal['foo']['bar'] = 'zip'
end
end
it 'sets the fauxhai attributes' do
expect(my_node['kernel']['name']).to eq('Linux')
end
it 'uses the ove... |
package org.http4s
package object scalatags extends ScalatagsInstances
|
<?php
namespace Guzzle\Tests\Service\Command;
use Guzzle\Service\Description\ServiceDescription;
use Guzzle\Service\Command\Factory\ServiceDescriptionFactory;
use Guzzle\Inflection\Inflector;
/**
* @covers Guzzle\Service\Command\Factory\ServiceDescriptionFactory
*/
class ServiceDescriptionFactoryTest extends \Guzz... |
(function() {
"use strict";
CodeMirror.defineOption("fullScreen", false, function(cm, val, old) {
if (old == CodeMirror.Init) old = false;
if (!old == !val) return;
if (val) setFullscreen(cm);
else setNormal(cm);
});
function setFullscreen(cm) {
var wrap = cm.getWrapperElement();
cm.st... |
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* vim: set ts=8 sts=4 et sw=4 tw=99:
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
... |
// Copyright 2014 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.
#include "mojo/edk/system/shared_buffer_dispatcher.h"
#include <limits>
#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
#include "mojo/edk... |
package mysql
import (
"bytes"
"crypto/tls"
"encoding/binary"
"fmt"
"testing"
"time"
)
var testDSNs = []struct {
in string
out string
loc *time.Location
}{
{"username:password@protocol(address)/dbname?param=value", "&{user:username passwd:password net:protocol addr:address dbname:dbname params:map[param:va... |
package app
import (
"fmt"
"io"
"io/ioutil"
"os"
"sort"
"strings"
"github.com/joho/godotenv"
cmdutil "github.com/openshift/origin/pkg/cmd/util"
kapi "k8s.io/kubernetes/pkg/api"
)
// Environment holds environment variables for new-app
type Environment map[string]string
// ParseEnvironmentAllowEmpty converts... |
package android.support.v7.appcompat;
// Referenced classes of package android.support.v7.appcompat:
// R
public static final class
{
public static final int ActionBar[] = {
0x7f010001, 0x7f010003, 0x7f010004, 0x7f010005, 0x7f010006, 0x7f010007, 0x7f010008, 0x7f010009, 0x7f01000a, 0x7f01000b... |
<?php
/** @see Zend_Service_Exception */
require_once 'Zend/Service/Exception.php';
/**
* Zend_Service_ReCaptcha_Exception
*
* @category Zend
* @package Zend_Service
* @subpackage ReCaptcha
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framewo... |
require 'spec_helper'
describe Grape::Exceptions::InvalidVersionerOption do
describe '#message' do
let(:error) do
described_class.new('headers')
end
it 'contains the problem in the message' do
expect(error.message).to include(
'Unknown :using for versioner: headers'
)
end
... |
<head>
<title>climate datamap</title>
<script src="//code.jquery.com/jquery-1.12.0.min.js"></script>
<script src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2l... |
namespace puff
{
enum class verb
{
GET, POST, PUT, DELETE, PATCH, NUM_VERBS
};
using http = verb;
}
|
package org.apache.camel.component.cxf;
import java.io.StringReader;
import java.util.ArrayList;
import java.util.List;
import org.w3c.dom.Element;
import org.apache.camel.CamelContext;
import org.apache.camel.Exchange;
import org.apache.camel.Processor;
import org.apache.camel.builder.RouteBuilder;
import org.apa... |
package org.apache.beam.sdk.testing;
import static java.util.stream.Collectors.joining;
import static java.util.stream.Collectors.toList;
import static org.junit.Assert.fail;
import java.lang.reflect.Field;
import java.util.List;
import java.util.stream.Stream;
import org.junit.rules.TestRule;
import org.junit.runne... |
#import <Google/SignIn.h>
#import <UIKit/UIKit.h>
@interface SelectUserViewController : UIViewController <GIDSignInDelegate, GIDSignInUIDelegate>
@property(weak, nonatomic) IBOutlet GIDSignInButton *signInButton;
@property(weak, nonatomic) IBOutlet UIButton *signOutButton;
@property(weak, nonatomic) IBOutlet UILabel... |
UCLASS(NotBlueprintable)
class UUpsightFunctions : public UObject {
GENERATED_BODY()
public:
UFUNCTION(BlueprintCallable, meta = (Keywords = "upsight analytics"), Category = "Upsight")
static void UpsightRecordAnalyticsEventWithName(FString eventName, TArray<FString> eventKeys, TArray<FString> eventValues... |
package org.apache.hadoop.mapreduce.security.token.delegation;
import java.io.IOException;
import java.security.PrivilegedExceptionAction;
import org.apache.hadoop.fs.CommonConfigurationKeys;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapred.JobConf;
import org.apache.hadoop.mapred.JobTracker;
import... |
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd">
<!-- Copyright © 1991-2014 Unicode, Inc.
CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/)
For terms of use, see http://www.unicode.org/copyright.html
-->
<ldml>
<identity>
... |
Type.registerNamespace('Strings');
Strings.OfficeOM=function Strings_OfficeOM() {
}
Strings.OfficeOM.registerClass('Strings.OfficeOM');
Strings.OfficeOM.L_InvalidNamedItemForBindingType='The specified binding type is not compatible with the supplied named item.';
Strings.OfficeOM.L_EventHandlerNotExist='The specified e... |
using System;
using System.Globalization;
using System.Runtime.InteropServices;
using System.Text;
#pragma warning disable 436 // Redefining types from Windows.Foundation
namespace Windows.UI.Xaml
{
//
// Thickness is the managed projection of Windows.UI.Xaml.Thickness. Any changes to the layout
// of t... |
package controller
import (
"context"
"fmt"
"net"
"time"
"k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/util/runtime"
"k8s.io/apimachinery/pkg/util/wait"
corev1client "k8s.io/client-go/kubernetes/typed/core/v1"
"k8s.io/clie... |
package Google::Ads::SOAP::Generator::TypemapVisitor;
use base qw(SOAP::WSDL::Generator::Visitor::Typemap);
use Class::Std::Fast::Storable;
sub set_typemap_entry {
my ($self, $value) = @_;
my $path = join(q{/}, @{$self->get_path()});
my $tm = $self->get_typemap();
if ($tm->{$path} && $path =~ m/Fault\/detail... |
namespace remoting {
class AudioCapturerWin : public AudioCapturer {
public:
AudioCapturerWin();
~AudioCapturerWin() override;
// AudioCapturer interface.
bool Start(const PacketCapturedCallback& callback) override;
private:
// Receives all packets from the audio capture endpoint buffer and pushes them
... |
function os::cleanup::all() {
if [[ -n "${SKIP_CLEANUP:-}" ]]; then
os::log::warning "[CLEANUP] Skipping cleanup routines..."
return 0
fi
# All of our cleanup is best-effort, so we do not care
# if any specific step fails.
set +o errexit
os::log::info "[CLEANUP] Beginning cleanup routines..."
os::cleanup::... |
using System;
using System.Runtime.InteropServices;
using System.Security;
using System.Text;
namespace Assimp.ManagedAssimp.Unmanaged
{
/// <summary>
/// Provides raw access to unmanged structures inside of assimp which are not useful in a managed context.
/// As an application developer, you probab... |
"""
Generalized Linear models.
"""
# Author: Alexandre Gramfort <alexandre.gramfort@inria.fr>
# Fabian Pedregosa <fabian.pedregosa@inria.fr>
# Olivier Grisel <olivier.grisel@ensta.org>
# Vincent Michel <vincent.michel@inria.fr>
# Peter Prettenhofer <peter.prettenhofer@gmail.com>
# Mathieu Blond... |
<!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_102) on Wed Nov 02 19:52:51 IST 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>org.apache.solr.client.solr... |
\[ [Use it online](http://jshint.com/) •
[Docs](http://jshint.com/docs/) • [FAQ](http://jshint.com/docs/faq) •
[Install](http://jshint.com/install/) •
[Contribute](http://jshint.com/contribute/) •
[Blog](http://jshint.com/blog/) • [Twitter](https://twitter.com/jshint/) \]
[
... |
package org.apereo.cas.shell.commands.jasypt;
import lombok.extern.slf4j.Slf4j;
import lombok.val;
import org.bouncycastle.jce.provider.BouncyCastleProvider;
import org.jasypt.registry.AlgorithmRegistry;
import org.springframework.shell.standard.ShellCommandGroup;
import org.springframework.shell.standard.ShellCompone... |
import test from 'ava';
import Lexer from '../src/lexer';
import TokenType from '../src/token-type';
test('test lexer.peek()', t => {
const lexer = new Lexer('1 + 2');
t.is(lexer.peek(), ' ');
lexer.advance();
t.is(lexer.peek(), '+');
lexer.advance();
t.is(lexer.peek(), ' ');
lexer.advance();
t.is(lex... |
/**
* The dom module provides helper methods for manipulating Dom elements.
* @module dom
*
*/
(function() {
var Y = YAHOO.util, // internal shorthand
getStyle, // for load time browser branching
setStyle, // ditto
id_counter = 0, // for use with generateId
... |
<h1 align="center">
<br>
<img width="256" src="media/logo.png" alt="pinkie">
<br>
<br>
</h1>
> Itty bitty little widdle twinkie pinkie [ES2015 Promise](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-promise-objects) implementation
[;
exports.config = {
seleniumAddress: env.seleniumAddress,
// Spec patterns are relative to this directory.
specs: [
'basic/mock*',
'basic/lib_spec.js'
],
// Exclude patterns are relative to this directory.
exclude: [
'basic/exclude*.js'
],
framework:... |
/**\file
* The <tt>libtheoraenc</tt> C encoding API.*/
#if !defined(_O_THEORA_THEORAENC_H_)
# define _O_THEORA_THEORAENC_H_ (1)
# include <stddef.h>
# include <ogg/ogg.h>
# include "codec.h"
#if defined(__cplusplus)
extern "C" {
#endif
/**\name th_encode_ctl() codes
* \anchor encctlcodes
* These are the avail... |
package com.elegion.nbumakov.customviewexample;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
public class MainActivity extends AppCompatActivity implements View.OnClickListener {
@Override
protected void onCreate(Bundle sa... |
package com.example.transaction;
import org.springframework.aop.PointcutAdvisor;
import org.springframework.beans.factory.config.BeanDefinition;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Role;
import or... |
namespace Microsoft.Azure.Management.Automation.Models
{
using Newtonsoft.Json;
using System.Linq;
/// <summary>
/// The response model for the undo edit runbook operation.
/// </summary>
public partial class RunbookDraftUndoEditResult
{
/// <summary>
/// Initializes a new i... |
<?php
namespace Kanboard\Model;
use Kanboard\Core\Base;
/**
* Column Model
*
* @package Kanboard\Model
* @author Frederic Guillot
*/
class ColumnModel extends Base
{
/**
* SQL table name
*
* @var string
*/
const TABLE = 'columns';
/**
* Get a column by the id
*
... |
CKEDITOR.plugins.setLang( 'link', 'lt', {
acccessKey: 'Prieigos raktas',
advanced: 'Papildomas',
advisoryContentType: 'Konsultacinio turinio tipas',
advisoryTitle: 'Konsultacinė antraštė',
anchor: {
toolbar: 'Įterpti/modifikuoti žymę',
menu: 'Žymės savybės',
title: 'Žymės savybės',
name: 'Žymės vardas',
... |
<?php if ($TotalAvailable >= $minCashout && $TotalAvailable > 0) { ?>
<div class="col-md-12 payemnt-form ">
<div class="col-md-12 no-padding">
<div class="col-md-7 col-sm-7 no-padding">
<div class="col-md-4 col-sm-4 no-padding">
<label><a href="#" class="label-text-color" data-to... |