text stringlengths 3 1.05M |
|---|
set -o errexit
set -o nounset
set -o pipefail
cert_ip=$1
cert_dir=/srv/kubernetes
cert_group=kube-cert
mkdir -p "$cert_dir"
use_cn=false
# TODO: Add support for discovery on other providers?
if [ "$cert_ip" == "_use_gce_external_ip_" ]; then
cert_ip=$(curl -s -H Metadata-Flavor:Google http://metadata.google.inter... |
package io.constructor.client;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import io.constructor.client.models.QuizQuestionResponse;
import org.json.JSONObject;
import org.junit.BeforeClass;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import... |
package rest
import (
"bytes"
"context"
"errors"
"flag"
"fmt"
"io"
"io/ioutil"
"net"
"net/http"
"net/http/httptest"
"net/url"
"os"
"reflect"
"strings"
"syscall"
"testing"
"time"
"github.com/golang/glog"
"k8s.io/api/core/v1"
apiequality "k8s.io/apimachinery/pkg/api/equality"
apierrors "k8s.io/a... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/javaAsteroids.iml" filepath="$PROJECT_DIR$/javaAsteroids.iml" />
</modules>
</component>
</project>
|
var Handlebars = require("./base");
// BEGIN(BROWSER)
Handlebars.Exception = function(message) {
var tmp = Error.prototype.constructor.apply(this, arguments);
for (var p in tmp) {
if (tmp.hasOwnProperty(p)) { this[p] = tmp[p]; }
}
this.message = tmp.message;
};
Handlebars.Exception.prototype = new Error(... |
// -*- mode: java; c-basic-offset: 2; -*-
// Copyright 2016 MIT, All rights reserved
// Released under the Apache License, Version 2.0
// http://www.apache.org/licenses/LICENSE-2.0
package com.google.appinventor.components.runtime;
import com.google.appinventor.components.annotations.DesignerComponent;
import com.goo... |
package org.springframework.security.test.web.servlet.showcase.secured;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.config.annotation.... |
gorilla/handlers
================
[](https://godoc.org/github.com/gorilla/handlers)
[](https://circleci.com/gh/gorilla/handlers)
[ 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.Diagnostics;
using System.IO;
namespace Roslyn.Utilities
{
internal static class StreamExtensions
{
/// <summary>... |
using System;
using System.Threading;
using System.Threading.Tasks;
using grpc = global::Grpc.Core;
namespace Grpc.Health.V1 {
public static partial class Health
{
static readonly string __ServiceName = "grpc.health.v1.Health";
static readonly grpc::Marshaller<global::Grpc.Health.V1.HealthCheckRequest> __... |
#include <benchmarks.h>
void benchmarkDel (void)
{
ksDel (large);
}
int benchmarkIterate (void)
{
ksRewind (large);
Key * cur;
int c = 0;
while ((cur = ksNext (large)))
{
// count to make sure the loop is executed
++c;
}
return c;
}
int main (int argc, char ** argv)
{
if (argc != 3)
{
printf ("no a... |
<?php
namespace Bolt\Storage\Field\Type;
/**
* This is one of a suite of basic Bolt field transformers that handles
* the lifecycle of a field from pre-query to persist.
*
* @author Ross Riley <riley.ross@gmail.com>
*/
class TextAreaType extends FieldTypeBase
{
/**
* @inheritdoc
*/
public functi... |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="menuManageDAO">
<select id="selectMenuCreatSiteMapList_D" parameterType="egovframework.com.sym.mnu.mcm.service.MenuSiteMapVO" resultType="egovMap">
... |
package com.intellij.extapi.psi;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElement;
import com.intellij.psi.impl.source.tree.SharedImplUtil;
import org.jetbrains.annotations.NotNull;
/**
* @author max
*/
public class ASTWrapperPsiElement extends ASTDelegatePsiElement {
private final ASTNode m... |
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Diagnostics.Contracts;
using System;
// Disable the "this variable is not used" warning as every field would imply it.
#pragma warning disable 0414
// Disable the "this variable is never assigned to".
#pragma warning disable 0067
// Dis... |
require File.expand_path("lib/project") # Setup project lib
require 'rack/test'
ENV['RACK_ENV'] = "test"
RSpec.configure do |config|
config.include Rack::Test::Methods
config.after(:each) do
Project.redis.keys("*").each { |key| Project.redis.del(key) }
end
end |
namespace Microsoft.Azure.Devices.ProtocolGateway
{
using System;
using System.IO;
using DotNetty.Buffers;
using DotNetty.Common.Utilities;
public sealed class ReadOnlyByteBufferStream : Stream
{
readonly IByteBuffer buffer;
bool releaseReferenceOnClosure;
public ReadOn... |
/*
Package selinux provides a high-level interface for interacting with selinux.
Usage:
import "github.com/opencontainers/selinux/go-selinux"
// Ensure that selinux is enforcing mode.
if selinux.EnforceMode() != selinux.Enforcing {
selinux.SetEnforceMode(selinux.Enforcing)
}
*/
package selinux
|
using base::UTF8ToWide;
namespace ui {
namespace {
void PrintLayerHierarchyImp(const Layer* layer,
int indent,
gfx::Point mouse_location,
std::wostringstream* out) {
std::string indent_str(indent, ' ');
layer->transform().Transf... |
package com.alibaba.jstorm.message.netty;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import org.jboss.netty.channel.Channel;
import org.jboss.netty.channel.ChannelHandlerContext;
import org.jboss.netty.channel.ChannelStateEvent;
import org.jboss.netty.channel.ChildChannelStateEvent;
import ... |
package org.kuali.rice.krad.util;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* @author Kuali Rice Team (rice.collab@kuali.org)
*/
public class PatternedStringBuilderTest {
@Test
public void testSprintf() {
double pi = Math.PI;
PatternedStringBuilder patteren... |
(function() {
// determine if in-browser or using node.js
var _nodejs = (
typeof process !== 'undefined' && process.versions && process.versions.node);
var _browser = !_nodejs &&
(typeof window !== 'undefined' || typeof self !== 'undefined');
if(_browser) {
if(typeof global === 'undefined') {
if(typeof wind... |
using testing::Test;
// For testing that the same type-parameterized test case can be
// instantiated in different translation units linked together.
// ContainerTest will be instantiated in both gtest-typed-test_test.cc
// and gtest-typed-test2_test.cc.
template <typename T>
class ContainerTest : public Test {
};
T... |
package com.amazonaws.services.elasticbeanstalk.model;
import java.io.Serializable;
/**
* <p>
* Describes the properties of an environment.
* </p>
*/
public class TerminateEnvironmentResult implements Serializable, Cloneable {
/**
* <p>
* The name of this environment.
* </p>
*/
priv... |
"""
Created on Fri May 26 12:35:55 2017
@author: Jessica
"""
import matplotlib.pyplot as plt
import numpy as np
import matplotlib.pyplot as plt
import numpy as np
import matplotlib.mlab as mlab
import math
"""
-loadings happen bc theyre not real spectra
-should have positive eigenvectors and values
"""
mu = 4
mu... |
namespace centipede {
CentipedeDefaultCallbacks::CentipedeDefaultCallbacks(const Environment &env)
: CentipedeCallbacks(env) {
for (const auto &dictionary_path : env_.dictionary) {
LoadDictionary(dictionary_path);
}
// Check if a custom mutator is available in the target.
std::vector<ByteArray> mutants... |
from _Cm import *
|
<?php
namespace FOS\RestBundle\Tests\EventListener;
use FOS\RestBundle\EventListener\ZoneMatcherListener;
use FOS\RestBundle\FOSRestBundle;
use Symfony\Component\HttpFoundation\Request;
class ZoneMatcherListenerTest extends \PHPUnit_Framework_TestCase
{
public function testNoRequestMatcher()
{
$req... |
if ("undefined" == typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");
+function (a) {
"use strict";
var b = a.fn.jquery.split(" ")[0].split(".");
if (b[0] < 2 && b[1] < 9 || 1 == b[0] && 9 == b[1] && b[2] < 1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")
}(j... |
defineSuite([
'Core/DistanceDisplayConditionGeometryInstanceAttribute',
'Core/ComponentDatatype',
'Core/DistanceDisplayCondition'
], function(
DistanceDisplayConditionGeometryInstanceAttribute,
ComponentDatatype,
DistanceDisplayCondition) {
'use strict';
it('... |
module ContactFakeColumns
def self.extended(base)
base.class_eval do
establish_connection(adapter: "fake")
connection.data_sources = [table_name]
connection.primary_keys = {
table_name => "id"
}
column :id, "integer"
column :name, "string"
... |
package com.intellij.usages.actions;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.usages.Usage;
import com.intellij.usages.UsageView;
/**
* @author max
*/
public abstract class IncludeExcludeActionBase extends AnAction {
protected ... |
'use strict'
const {
kSchemaHeaders: headersSchema,
kSchemaParams: paramsSchema,
kSchemaQuerystring: querystringSchema,
kSchemaBody: bodySchema,
kSchemaResponse: responseSchema
} = require('./symbols')
const scChecker = /^[1-5]{1}[0-9]{2}$|^[1-5]xx$|^default$/
function compileSchemasForSerialization (contex... |
namespace irods {
api_entry_table& get_client_api_table();
}; // namespace irods
#endif // __IRODS_CLIENT_API_TABLE_HPP__
|
package org.slf4j.cal10n_dummy;
import ch.qos.cal10n.LocaleData;
import ch.qos.cal10n.Locale;
import ch.qos.cal10n.BaseName;
@BaseName("production")
@LocaleData({ @Locale("en_UK"), @Locale("fr") })
public enum Production {
APPLICATION_STARTED, APPLICATION_STOPPED, DB_CONNECTION, DB_CONNECTION_FAILURE;
... |
package org.apache.ignite.internal.processors.cache;
import java.io.Serializable;
import java.util.Collections;
import java.util.LinkedHashMap;
import org.apache.ignite.IgniteCache;
import org.apache.ignite.IgniteCheckedException;
import org.apache.ignite.binary.BinaryObjectBuilder;
import org.apache.ignite.cache.Ca... |
<!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:53:35 IST 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Overview (Solr 6.3.0 API)</... |
package org.jetbrains.jetCheck;
import org.jetbrains.annotations.NotNull;
import java.util.ArrayList;
import java.util.List;
import java.util.function.Function;
import java.util.stream.Collectors;
/**
* @author peter
*/
public class FrequencyGenerator<T> extends Generator<T> {
private final List<WeightedGenerato... |
steal('can/util', 'can/view/elements.js', function (can) {
// In some browsers, text nodes can not take expando properties.
// We test that here.
var canExpando = true;
try {
document.createTextNode('')
._ = 0;
} catch (ex) {
canExpando = false;
}
// A mapping of element ids to nodeList id
var nodeMap = ... |
namespace content {
blink::WebInputEvent::Modifiers GetLocationModifiersFromWindowsKeyCode(
ui::KeyboardCode key_code);
} // namespace content
#endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_UTIL_POSIX_H_
|
SELECT * FROM KNOWLEDGE_ITEM_VALUES
WHERE
KNOWLEDGE_ID = ?
AND DELETE_FLAG = 0;
|
/**
* @license Data plugin for Highcharts v0.1
*
* (c) 2012 Torstein Hønsi
*
* License: www.highcharts.com/license
*/
/*
* The Highcharts Data plugin is a utility to ease parsing of input sources like
* CSV, HTML tables or grid views into basic configuration options for use
* directly in the Highc... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "alspi.h"
static void
error(const char *message)
{
printf("Error: %s\n", message);
exit(EXIT_FAILURE);
}
static int
run_unary_predicate(PWord module,
char *predstr, char *argstr)
{
PWord gfv, gv, Av, av; /* Vals for functor,goal,a... |
// Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build ignore
// +godefs map struct_in_addr [4]byte /* in_addr */
package ipv4
/*
#include <sys/socket.h>
#include <netinet/in.h>
*/
import "C"
const (
... |
package scmauth
|
1.2.0 / 2015-05-20
==================
* Add support for matching an asterisk (`*`) as an unnamed match everything group (`(.*)`)
1.1.1 / 2015-05-11
==================
* Expose methods for working with path tokens
1.1.0 / 2015-05-09
==================
* Expose the parser implementation to consumers
* Implem... |
'use strict';
var assert = require('assert'),
fs = require('fs'),
path = require('path'),
tmp = require('tmp');
var io = require('../io');
describe('io', function() {
describe('copy', function() {
var tmpDir;
before(function() {
return io.tmpDir().then(function(d) {
tmpDir = d;
... |
class CGameWeaponManager;
static CUtlVector<CGameWeaponManager *> g_Managers;
//=========================================================
//=========================================================
class CGameWeaponManager : public CBaseEntity
{
DECLARE_CLASS( CGameWeaponManager, CBaseEntity );
DECLARE_DATADESC();
... |
module.exports = require('./register')().implementation
|
// 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.
using Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation;
using System;
using System.Collections.ObjectModel... |
require 'test_helper'
class ExplorerTest < ActiveSupport::TestCase
# test "the truth" do
# assert true
# end
end
|
namespace HealthCheckExample.EntityFrameworkCore.Seed.Host
{
public class InitialHostDbBuilder
{
private readonly HealthCheckExampleDbContext _context;
public InitialHostDbBuilder(HealthCheckExampleDbContext context)
{
_context = context;
}
public void Crea... |
package daemon
import (
"fmt"
"strings"
"github.com/Sirupsen/logrus"
"github.com/docker/docker/container"
"github.com/docker/docker/pkg/namesgenerator"
"github.com/docker/docker/pkg/registrar"
"github.com/docker/docker/pkg/stringid"
"github.com/docker/docker/utils"
)
var (
validContainerNameChars = utils.... |
A cross-platform C function to allocate and cache line aligned memory
void * caligned_malloc(size_t size);
### Usage
Use `caligned_malloc` in place of `malloc` and `aligned_free` (from sub-modeule AlignedMalloc) in place of `free` when you need cache line aligned memory.
### Supported platforms
Mac OS X and Li... |
var onSignalExit = require('../../')
onSignalExit.load()
onSignalExit.load()
onSignalExit.unload()
onSignalExit.unload()
|
// 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.
package org.chromium.content.browser;
import android.view.ViewGroup;
/**
* Listener that is notified when the container view is replaced.
* See {@link... |
#if defined(USE_TI_XML) || defined(USE_TI_NETWORK)
#import "TiDOMNamedNodeMapProxy.h"
#import "TiDOMAttrProxy.h"
#import "TiDOMNodeListProxy.h"
#import "TiUtils.h"
@implementation TiDOMNamedNodeMapProxy
-(void)dealloc
{
RELEASE_TO_NIL(element);
[super dealloc];
}
-(NSString*)apiName
{
return @"Ti.XML.NamedNo... |
package ca.uhn.fhir.context;
import ca.uhn.fhir.model.api.annotation.ResourceDef;
import ca.uhn.fhir.model.dstu.resource.Patient;
import ca.uhn.fhir.model.dstu.resource.Profile;
import ca.uhn.fhir.model.dstu.resource.Profile.ExtensionDefn;
import ca.uhn.fhir.model.dstu.resource.Profile.Structure;
import ca.uhn.fhir.mo... |
// Copyright 2009 The Closure Library 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 requ... |
namespace content {
class NavigationControllerImpl;
class NavigatorDelegate;
// This class is an implementation of Navigator, responsible for managing
// navigations in regular browser tabs.
class CONTENT_EXPORT NavigatorImpl : public Navigator {
public:
NavigatorImpl(NavigationControllerImpl* navigation_controlle... |
#ifndef BSON_H_
#define BSON_H_
//===========================================================================
#define USE_MISALIGNED_MEMORY_ACCESS 1
#include <node.h>
#include <node_object_wrap.h>
#include <v8.h>
using namespace v8;
using namespace node;
//==========================================... |
using content::BrowserThread;
using content::DownloadManager;
// IO Thread indirections to resource dispatcher host.
// Provided as targets for PostTask from within this object
// only.
static void ResourceDispatcherHostPauseRequest(
ResourceDispatcherHost* rdh,
int process_unique_id,
int request_id,
b... |
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
//
// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
// copy, modify, and distribute this software in source code or binary form for use
// in connection with the web services and APIs provided by Facebook.
//
// As with... |
"""Tests for eafm."""
|
package io.druid.java.util.metrics;
import com.google.common.collect.ImmutableMap;
import io.druid.java.util.emitter.core.ConcurrentTimeCounter;
import io.druid.java.util.emitter.core.HttpPostEmitter;
import io.druid.java.util.emitter.service.ServiceEmitter;
import io.druid.java.util.emitter.service.ServiceMetricEve... |
/*
Extern implementation of Nit module test_ni_global_not_called_but_referred
*/
#ifndef TEST_NI_GLOBAL_NOT_CALLED_BUT_REFERRED_NIT_H
#define TEST_NI_GLOBAL_NOT_CALLED_BUT_REFERRED_NIT_H
#include <test_ni_global_not_called_but_referred._nitni.h>
#endif
void A_f___impl( A recv, B b );
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapping SYSTEM "mapping.dtd">
<mapping>
<bean table="t_css_file" type="project.po.CssFile">
<column field="id" column="f_id" isId="true"/>
<column field="recordId" column="f_record_id"/>
<column field="name" column="f_css_file_name"/>
<column field="path" column... |
use SyTest::Crypto qw( ed25519_nacl_keypair );
# check that the rules around server_names are enforced
test "Non-numeric ports in server names are rejected",
requires => [ $main::HOMESERVER_INFO[0], local_user_fixture(), ],
do => sub {
my ( $info, $user ) = @_;
my ( $pkey, $skey ) = ed25519_nacl_k... |
/*!
CSS for Atom feeds (Borrowed from MediaWiki)
Created by Wikimedia Foundation, modified by Tunghsiao Liu for sparanoid.com
This CSS file is licensed under GPLv2. Read more information at:
http://www.gnu.org/licenses/gpl.html
*/
/*
Make RSS and Atom feeds at least semi-legible to folk who accidentally
load them ... |
require 'virtus'
require 'faraday'
require 'faraday_middleware'
require 'dry-validation'
require 'hashie'
require 'telegraph/api/version'
require 'telegraph/api'
require 'telegraph/types'
require 'telegraph/validations'
module Telegraph
end
|
package org.apache.flink.streaming.connectors.kafka.internal;
import org.apache.flink.streaming.connectors.kafka.internal.Handover.WakeupException;
import org.apache.flink.util.ExceptionUtils;
import org.apache.kafka.clients.consumer.ConsumerRecords;
import org.junit.Test;
import java.io.IOException;
import java.u... |
/*
* 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 to in writing, software
* distribut... |
<!DOCTYPE html>
<meta charset="utf-8">
<title>Navigating forward after replace() should still trigger hashchange</title>
<link rel="help" href="https://html.spec.whatwg.org/multipage/#history-traversal">
<link rel="author" href="mailto:d@domenic.me" title="Domenic Denicola">
<!-- While writing ./replacement-enabled.ht... |
#ifndef BOOST_MPL_LIST_AUX_CLEAR_HPP_INCLUDED
#define BOOST_MPL_LIST_AUX_CLEAR_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2000-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See http:... |
require('./style/index.less');
// matchMedia polyfill for
// https://github.com/WickyNilliams/enquire.js/issues/82
window.matchMedia = window.matchMedia || function() {
return {
matches: false,
addListener: function() {},
removeListener: function() {}
};
};
const antd = {
Affix: require('./component... |
<!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_72) on Wed Nov 05 20:55:16 EST 2014 -->
<title>QueryPagers (apache-cassandra API)</title>
<meta name="date" content="2014-11-05">
<link... |
var tape = require('tape')
var cosmic = require('./fixtures/cosmic')
var validator = require('../')
var validatorRequire = require('../require')
tape('simple', function(t) {
var schema = {
required: true,
type: 'object',
properties: {
hello: {type:'string', required:true}
}
}
var validate ... |
/* Generated by camel build tools - do NOT edit this file! */
package org.apache.camel.converter;
import org.apache.camel.CamelContext;
import org.apache.camel.CamelContextAware;
import org.apache.camel.DeferredContextBinding;
import org.apache.camel.Exchange;
import org.apache.camel.Ordered;
import org.apache.camel.T... |
<?php
App::import('Helper', 'Xml');
/**
* XML Helper class for easy output of XML structures.
*
* XmlHelper encloses all methods needed while working with XML documents.
*
* @package cake
* @subpackage cake.cake.libs.view.helpers
* @link http://book.cakephp.org/1.3/en/The-Manual/Core-Helpers/RSS.html#... |
UNIX_ChangerDeviceProvider::UNIX_ChangerDeviceProvider()
{
}
UNIX_ChangerDeviceProvider::~UNIX_ChangerDeviceProvider()
{
}
CIMInstance UNIX_ChangerDeviceProvider::constructInstance(
const CIMName &className,
const CIMNamespaceName &nameSpace,
const UNIX_ChangerDevice &_p)
{
CIMProperty p;
CIMInstance inst(class... |
// 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.
/**
* @constructor
* @implements {InspectorFrontendHostAPI}
*/
WebInspector.InspectorFrontendHostImpl = function()
{
}
WebInspector.InspectorFrontendH... |
WIP - but here's the TL;DR
## Issues
- Please include the output from `nodemon --dump` for diagnosis
- If there's a script that nodemon is having trouble with or is causing nodemon to throw exceptions, please include it in your filed issue to allow me to replicate the issue.
## Sending pull requests
- use the .jshi... |
namespace ppapi {
struct URLRequestInfoData;
}
namespace WebKit {
class WebFrame;
class WebURLRequest;
}
namespace content {
// Creates the WebKit URL request from the current request info. Returns true
// on success, false if the request is invalid (in which case *dest may be
// partially initialized). Any upload f... |
using System;
using System.Globalization;
using DotNetNuke.Services.Tokens;
#endregion
namespace DotNetNuke.Entities.Users
{
public class MembershipPropertyAccess : IPropertyAccess
{
private readonly UserInfo objUser;
public MembershipPropertyAccess(UserInfo User)
{
objUs... |
package org.springframework.social.instagram.connect;
import org.springframework.social.ApiException;
import org.springframework.social.connect.ApiAdapter;
import org.springframework.social.connect.ConnectionValues;
import org.springframework.social.connect.UserProfile;
import org.springframework.social.connect.UserPr... |
using System.Reflection;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die mit einer Assembly verknüpft sind.
[assembly: AssemblyTitle("DualityEditor")]
[... |
package com.facebook.buck.apple;
import com.facebook.buck.apple.xcode.xcodeproj.PBXReference;
import com.facebook.buck.apple.xcode.xcodeproj.SourceTreePath;
import com.facebook.buck.util.HumanReadableException;
import com.facebook.buck.util.immutables.BuckStyleImmutable;
import com.google.common.base.Function;
impor... |
package elastic
// CardinalityAggregation is a single-value metrics aggregation that
// calculates an approximate count of distinct values.
// Values can be extracted either from specific fields in the document
// or generated by a script.
// See: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/s... |
/*
http://lesscss.org/ dark theme
Ported to CodeMirror by Peter Kroon
*/
.cm-s-lesser-dark {
line-height: 1.3em;
}
.cm-s-lesser-dark.CodeMirror { background: #262626; color: #EBEFE7; text-shadow: 0 -1px 1px #262626; }
.cm-s-lesser-dark div.CodeMirror-selected {background: #45443B !important;} /* 33322B*/
.cm-s-lesser... |
namespace base {
namespace {
//------------------------------------------------------------------------------
// Provide a derived class to facilitate testing.
class WatchdogCounter : public Watchdog {
public:
WatchdogCounter(const TimeDelta& duration,
const std::string& thread_watched_name,
... |
var x11 = require('../lib');
var should = require('should');
var assert = require('assert');
var sinon = require('sinon');
var async = require('async');
describe('Atoms and atom names cache', function() {
before(function(done) {
var self = this;
var client = x11.createClient(function(err, dpy) {
... |
package com.netflix.hystrix;
import org.junit.Before;
import org.junit.Test;
import java.util.Collection;
import static org.junit.Assert.assertEquals;
/**
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the... |
from pandas import *
from ggplot import *
def plot_weather_data(turnstile_weather):
'''
You are passed in a dataframe called turnstile_weather.
Use turnstile_weather along with ggplot to make a data visualization
focused on the MTA and weather data we used in assignment #3.
You should feel free ... |
var version = ReactSWF.getFPVersion();
var isFPVersionSupported = ReactSWF.isFPVersionSupported('5');
var reactSWF = new ReactSWF();
reactSWF.props = {
src:'',pluginspage:'',width:20,height:20
}
|
namespace sidestep {
// This small disassembler is very limited
// in its functionality, and in fact does only the bare minimum required by the
// preamble patching utility. It may be useful for other purposes, however.
//
// The limitations include at least the following:
// -# No support for coprocessor opcodes, M... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.springframework.boot.mave... |
if(!dojo._hasResource["dojo.dnd.Moveable"]){
dojo._hasResource["dojo.dnd.Moveable"]=true;
dojo.provide("dojo.dnd.Moveable");
dojo.require("dojo.dnd.Mover");
dojo.declare("dojo.dnd.Moveable",null,{handle:"",delay:0,skip:false,constructor:function(_1,_2){
this.node=dojo.byId(_1);
if(!_2){
_2={};
}
this.handle=_2.handl... |