text stringlengths 3 1.05M |
|---|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>DocStrap Module: base/chains</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/sunlight.default.css">
<link type="text/css" rel="... |
<div ng-controller="Notely.Types.DeleteController as vm" ng-init="vm.init(dialogData)" class="umb-modalcolumn">
<div class="umb-modalcolumn-header">
<h1>Delete</h1>
</div>
<div class="umb-modalcolumn-body">
<div class="umb-dialog umb-pane">
<div class="umb-dialog-body">
... |
package util
import (
"fmt"
"sort"
"strconv"
"strings"
"time"
"github.com/golang/glog"
apps "k8s.io/api/apps/v1"
"k8s.io/api/core/v1"
apiequality "k8s.io/apimachinery/pkg/api/equality"
"k8s.io/apimachinery/pkg/api/meta"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
"k... |
#ifndef WebVideoFrame_h
#define WebVideoFrame_h
namespace WebKit {
// A proxy video frame interface to communicate frame data between chromium
// and WebKit.
class WebVideoFrame {
public:
enum Format {
FormatInvalid,
FormatRGB555,
FormatRGB565,
FormatRGB24,
FormatRGB32,
... |
use strict;
use warnings;
package Manager;
use Method::Signatures;
use Core::CardJitsu;
use Core::FindFour;
use Core::Sled;
use Core::Mancala;
method new($resChild) {
my $obj = bless {}, $self;
$obj->{child} = $resChild;
$obj->{types} = {
jitsu => CardJitsu->new($obj->{child}),
... |
import iptc
# parser = argparse.ArgumentParser(description='open server service.')
# parser.add_argument("clientIP", help="client's ip that you want to allow", type=str)
# parser.add_argument("servicePort", help="server service that you need access", type=int)
# args = parser.parse_args()
# print(args.clientIP)
# prin... |
package org.apache.camel.test.cdi;
import java.util.concurrent.atomic.AtomicReference;
import javax.enterprise.inject.spi.BeanManager;
final class CamelCdiContext {
private final AtomicReference<BeanManager> manager = new AtomicReference<>();
BeanManager getBeanManager() {
BeanManager manager = thi... |
class RemoveContentFromUserExperiances < ActiveRecord::Migration[5.0]
def change
remove_column :user_experiances, :content
end
end
|
require 'net/http'
require 'yaml'
require 'fileutils'
require File.join(File.dirname(__FILE__), 'nodejs_functions.rb')
Facter.add("nodejs_latest_version") do
setcode do
value = get_cached_value('latest_version')
if !value
value = get_latest_version
set_cached_value('latest_version', value)
en... |
#include "rtc_api.h"
#if DEVICE_RTC
#include "mbed_error.h"
static int rtc_inited = 0;
static RTC_HandleTypeDef RtcHandle;
void rtc_init(void)
{
RCC_OscInitTypeDef RCC_OscInitStruct = {0};
RCC_PeriphCLKInitTypeDef PeriphClkInitStruct = {0};
uint32_t rtc_freq = 0;
if (rtc_inited) return;
rtc_i... |
(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['jquery'], factory);
} else {
// Browser globals
factory(jQuery);
}
}(function ($) {
$.timeago = function(timestamp) {
if (timestamp instanceof Date) {
return inWo... |
It's important to understand which lifecycle hooks are going to be called
on your route components to implement lots of different functionality in
your app. The most common thing is fetching data.
There is no difference in the lifecycle of a component in the router as
just React itself. Let's peel away the idea of rou... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace CTR
{
public class NCSD
{
public Header header;
public CardInfoHeader cardinfoheader;
public List<NCCH> NCCH_Array;
public bool Card2;
public byte[] Data;
public class Header
{... |
#include <glib.h>
#include "cpu.h"
#include "exec/cpu-all.h"
#include "sysemu/memory_mapping.h"
#include "exec/memory.h"
#include "exec/address-spaces.h"
//#define DEBUG_GUEST_PHYS_REGION_ADD
static void memory_mapping_list_add_mapping_sorted(MemoryMappingList *list,
... |
goog.provide('goog.math.CoordinateTest');
goog.setTestOnly('goog.math.CoordinateTest');
goog.require('goog.math.Coordinate');
goog.require('goog.testing.jsunit');
function testCoordinate1() {
var dim1 = new goog.math.Coordinate();
assertEquals(0, dim1.x);
assertEquals(0, dim1.y);
assertEquals('(0, 0)', dim1.t... |
#ifndef SkOnce_DEFINED
#define SkOnce_DEFINED
// Before trying SkOnce, see if SkLazyPtr or SkLazyFnPtr will work for you.
// They're smaller and faster, if slightly less versatile.
// SkOnce.h defines SK_DECLARE_STATIC_ONCE and SkOnce(), which you can use
// together to create a threadsafe way to call a function j... |
<?php
/**
* Zend_Cache
*/
require_once 'Zend/Cache.php';
require_once 'Zend/Cache/Backend/TwoLevels.php';
/**
* Common tests for backends
*/
require_once 'CommonExtendedBackendTest.php';
/**
* @category Zend
* @package Zend_Cache
* @subpackage UnitTests
* @copyright Copyright (c) 2005-2012 Zend Techno... |
=pod
=head1 NAME
X509_NAME_get_index_by_NID, X509_NAME_get_index_by_OBJ, X509_NAME_get_entry,
X509_NAME_entry_count, X509_NAME_get_text_by_NID, X509_NAME_get_text_by_OBJ -
X509_NAME lookup and enumeration functions
=head1 SYNOPSIS
#include <openssl/x509.h>
int X509_NAME_get_index_by_NID(X509_NAME *name, int nid,... |
import React from 'react';
import {
FlatList,
Image,
View,
TouchableOpacity
} from 'react-native';
import {
RkText,
RkCard, RkStyleSheet
} from 'react-native-ui-kitten';
import {SocialBar} from '../../components';
import {data} from '../../data';
export class Articles4 extends React.Component {
static n... |
package common
import (
"bytes"
"encoding/json"
"errors"
"log"
"strconv"
"strings"
"sync"
"github.com/artemnikitin/here-tele-bot/hlp"
)
const (
limitResult = 5
)
func GetPlacesWithGeocoding(api *hlp.HereApiConfig, q, loc string) (*BotResult, error) {
res, err := api.DoGeocoding(map[string]string{
"searc... |
#if GOOGLE_CUDA
#define EIGEN_USE_GPU
#include "tensorflow/core/framework/register_types.h"
#include "tensorflow/core/kernels/argmax_op.h"
namespace tensorflow {
typedef Eigen::GpuDevice GPUDevice;
#define DEFINE_GPU_SPEC(T) \
template struct functor::ArgMax<GPUDevice, T>; \
template st... |
categories = ["rotate",
"shift"]
microcode = ""
for category in categories:
exec "import %s as cat" % category
microcode += cat.microcode
|
#pragma once
#include <aws/ec2/EC2_EXPORTS.h>
#include <aws/ec2/EC2Request.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/DateTime.h>
#include <aws/ec2/model/Filter.h>
#include <utility>
namespace Aws
{
namespace EC2
{
namespace Model
{
... |
using System;
using System.Globalization;
using log4net.Layout;
using log4net.Core;
namespace log4net.Appender
{
/// <summary>
/// Appends logging events to the console.
/// </summary>
/// <remarks>
/// <para>
/// ConsoleAppender appends log events to the standard output stream
/// or the error output stream u... |
<?php
/**
* Installer for the settings module
*
* @author Davy Hellemans <davy.hellemans@netlash.com>
* @author Tijs Verkoyen <tijs@sumocoders.be>
*/
class SettingsInstaller extends ModuleInstaller
{
/**
* Install the module
*/
public function install()
{
// add 'settings' as a module
$this->addModul... |
**Maintainer:** [@RobLoach](https://github.com/RobLoach)
Adds integration with [asdf](https://github.com/asdf-vm/asdf), the extendable version manager, with support for Ruby, Node.js, Elixir, Erlang and more.
### Installation
1. Enable the plugin by adding it to your `plugins` definition in `~/.zshrc`.
```
plug... |
require 'rails_helper'
module SimpleCart
RSpec.describe CartItem, type: :model do
subject(:cart_item) { FactoryGirl.create :cart_item }
it { expect(cart_item).to belong_to(:cart) }
it { expect(cart_item).to belong_to(:product) }
it { expect(cart_item).to validate_presence_of(:quantity) }
des... |
<?php
namespace Zend\View\Renderer;
use Zend\View\Exception;
use Zend\View\Model\FeedModel;
use Zend\View\Model\ModelInterface as Model;
use Zend\View\Resolver\ResolverInterface as Resolver;
/**
* Class for Zend\View\Strategy\FeedStrategy compatible template engine implementations
*/
class FeedRenderer implements... |
#ifndef _NEWOS_KERNEL_ARCH_I386_DESCRIPTORS_H
#define _NEWOS_KERNEL_ARCH_I386_DESCRIPTORS_H
#define KERNEL_CODE_SEG 0x8
#define KERNEL_DATA_SEG 0x10
#define USER_CODE_SEG 0x1b
#define USER_DATA_SEG 0x23
#define DOUBLE_FAULT_TSS 0x28
#define TSS 0x30
#endif
|
#if !defined(FUSION_INCLUDE_ADAPTER)
#define FUSION_INCLUDE_ADAPTER
#include <boost/fusion/functional/adapter.hpp>
#endif
|
#import "YapDatabaseFullTextSearch.h"
#import "YapDatabaseFullTextSearchHandler.h"
#import "YapDatabaseFullTextSearchConnection.h"
#import "YapDatabaseFullTextSearchTransaction.h"
#import "YapDatabase.h"
#import "YapDatabaseConnection.h"
#import "YapDatabaseTransaction.h"
#import "sqlite3.h"
/**
* This version numb... |
find_path(LMDB_INCLUDE_DIR NAMES lmdb.h PATHS "$ENV{LMDB_DIR}/include")
find_library(LMDB_LIBRARIES NAMES lmdb PATHS "$ENV{LMDB_DIR}/lib" )
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(LMDB DEFAULT_MSG LMDB_INCLUDE_DIR LMDB_LIBRARIES)
if(LMDB_FOUND)
message(STATUS "Found lmdb (incl... |
Exiftool Processor
==================
.. toctree::
:maxdepth: 4
spreadflow_exiftool
|
<?php
namespace Aura\SqlMapper_Bundle;
class FakeGateway extends AbstractGateway
{
public function getTable()
{
return 'aura_test_table';
}
public function getPrimaryCol()
{
return 'id';
}
}
|
package controller
import (
"fmt"
"math/rand"
"testing"
"time"
compute "google.golang.org/api/compute/v1"
"k8s.io/contrib/ingress/controllers/gce/firewalls"
"k8s.io/contrib/ingress/controllers/gce/loadbalancers"
"k8s.io/contrib/ingress/controllers/gce/utils"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/... |
#include <aws/chime/model/SipRule.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
namespace Chime
{
namespace Model
{
SipRule::SipRule() :
m_sipRuleIdHasBeenSet(false),
m_nameHasBeenSet(false),
m_disa... |
<?php
/**
* API for easily embedding rich media such as videos and images into content.
*
* @package WordPress
* @subpackage Embed
* @since 2.9.0
*/
class WP_Embed {
public $handlers = array();
public $post_ID;
public $usecache = true;
public $linkifunknown = true;
public $last_attr = array();
public $last_... |
#if defined(USE_TI_XML) || defined(USE_TI_NETWORK)
#import "TiDOMNodeProxy.h"
@interface TiDOMEntityProxy : TiDOMNodeProxy{
}
@property(nonatomic,readonly) id notationName;
@property(nonatomic,readonly) id publicId;
@property(nonatomic,readonly) id systemId;
@end
#endif |
/**
shave - Shave is a javascript plugin that truncates multi-line text within a html element based on set max height
@version v2.5.1
@link https://github.com/dollarshaveclub/shave#readme
@author Jeff Wainwright <yowainwright@gmail.com> (jeffry.in)
@license MIT
**/
(function (global, factory) {
typeof expor... |
using System.Collections.Generic;
using System.Threading;
namespace System.Linq.Parallel
{
internal class OrderedHashRepartitionStream<TInputOutput, THashKey, TOrderKey> : HashRepartitionStream<TInputOutput, THashKey, TOrderKey>
{
internal OrderedHashRepartitionStream(
PartitionedStream<TIn... |
namespace cpr {
class Response {
public:
Response(const long& status_code, const std::string& text, const Header& header, const Url& url,
const double& elapsed)
: status_code{status_code}, text{text}, header{header}, url{url}, elapsed{elapsed} {};
Response(const lo... |
/*
* This is a manifest file that'll automatically include all the stylesheets available in this directory
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
* the top of the compiled file, but it's generally better to create a new file per style scope.
*
*= re... |
package org.apache.flink.runtime.jobmaster.slotpool;
import org.apache.flink.runtime.clusterframework.types.AllocationID;
import org.apache.flink.runtime.clusterframework.types.ResourceID;
import org.apache.flink.runtime.clusterframework.types.ResourceProfile;
import org.apache.flink.runtime.executiongraph.utils.Sim... |
@class LSStubRequestDSL;
@class LSStubResponseDSL;
@class LSStubRequest;
@protocol LSHTTPBody;
typedef LSStubRequestDSL *(^WithHeaderMethod)(NSString *, NSString *);
typedef LSStubRequestDSL *(^WithHeadersMethod)(NSDictionary *);
typedef LSStubRequestDSL *(^AndBodyMethod)(id<LSMatcheable>);
typedef LSStubResponseDSL ... |
namespace cc {
class CC_EXPORT UnittestOnlyBenchmark : public MicroBenchmark {
public:
UnittestOnlyBenchmark(scoped_ptr<base::Value> value,
const DoneCallback& callback);
virtual ~UnittestOnlyBenchmark();
virtual void DidUpdateLayers(LayerTreeHost* host) OVERRIDE;
protected:
virtual... |
<?php
class Twig_Tests_ParserTest extends PHPUnit_Framework_TestCase
{
/**
* @expectedException Twig_Error_Syntax
*/
public function testSetMacroThrowsExceptionOnReservedMethods()
{
$parser = $this->getParser();
$parser->setMacro('parent', $this->getMock('Twig_Node_Macro', array(... |
// -*- mode: java; c-basic-offset: 2; -*-
// Copyright (C) 2001,2005-2011 by Jarno Elonen <elonen@iki.fi>
// and Copyright (C) 2010 by Konstantinos Togias <info@ktogias.gr>
// See Details at end of file.
// Released under the MIT License https://raw.github.com/mit-cml/app-inventor/master/mitlicense.txt
package com.goog... |
/** @file
@brief Header
@date 2014
@author
Sensics, Inc.
<http://sensics.com/osvr>
*/
// Copyright 2014 Sensics, Inc.
//
// 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 a... |
module.exports = "#inline-sourcemap";
|
package org.epnoi.learner.terms;
import org.epnoi.learner.DomainsTableCreator;
import org.epnoi.learner.DomainsTable;
import org.epnoi.learner.LearningParameters;
import org.epnoi.model.Context;
import org.epnoi.model.Domain;
import org.epnoi.model.Term;
import org.epnoi.model.modules.Core;
import org.epnoi.model.rdf.... |
tinyMCEPopup.requireLangPack();
var defaultFonts = "" +
"Arial, Helvetica, sans-serif=Arial, Helvetica, sans-serif;" +
"Times New Roman, Times, serif=Times New Roman, Times, serif;" +
"Courier New, Courier, mono=Courier New, Courier, mono;" +
"Times New Roman, Times, serif=Times New Roman, Times, serif;" +
"... |
module AutoloadPath
module_function
def load_path source_path , *args
each_file source_path , *args do |file_path|
load file_path.to_s
end
end
def require_path source_path , *args
each_file source_path , *args do |file_path,extname|
require file_path.to_s.gsub(extname, "")
end
en... |
#ifndef BOOST_HANA_FILTER_HPP
#define BOOST_HANA_FILTER_HPP
#include <boost/hana/fwd/filter.hpp>
#include <boost/hana/at.hpp>
#include <boost/hana/bool.hpp>
#include <boost/hana/chain.hpp>
#include <boost/hana/concept/monad_plus.hpp>
#include <boost/hana/concept/sequence.hpp>
#include <boost/hana/config.hpp>
#inclu... |
# ----------------------------------------------------------------------------------
#
# Copyright Microsoft Corporation
# 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... |
package org.apache.camel.impl;
import org.apache.camel.ContextTestSupport;
import org.apache.camel.builder.RouteBuilder;
public class ShutdownStrategySuppressLoggingOnTimeoutTest extends ContextTestSupport {
public void testSuppressLogging() throws Exception {
context.getShutdownStrategy().setTimeout(1)... |
namespace boost {
namespace BOOST_RT_PARAM_NAMESPACE {
namespace cla {
// ************************************************************************** //
// ************** char_name_policy ************** //
// ************************************************************************** //
cl... |
<?php
namespace Symfony\Component\DependencyInjection\Tests\Compiler;
use PHPUnit\Framework\TestCase;
use Symfony\Component\DependencyInjection\Compiler\AutowireRequiredPropertiesPass;
use Symfony\Component\DependencyInjection\Compiler\ResolveClassPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
us... |
<ion-view view-title="Gallery">
<ion-content ng-class="{expanded:isExpanded}" class="animate-fade-slide-in">
<div class="list half">
<div ui-sref="app.profile" class="card card-gallery item item-text-wrap">
<div class="ink dark-bg">
<h2>Where's Elsa?</h2>
... |
SCRIPTS_PATH=`pwd`
IMAGES_PATH=/var/lib/libvirt/images
TEMPLATES_PATH=$SCRIPTS_PATH/templates
TEMPLATE_NAME=vm-template
TEMPLATE_FILE=$TEMPLATES_PATH/$TEMPLATE_NAME.xml
TEMPLATE_DISK=$IMAGES_PATH/$TEMPLATE_NAME.qcow2
cd $SCRIPTS_PATH
|
Our goal is to optimize .NET much more for scenarios in which inefficiencies are
directly tied to your monthly billing. With ASP.NET Core, we've already
[improved significantly][TechEmpower13] and are now in the top 10 for the plain
text benchmark. But we believe there is still a lot more potential that we could
tap in... |
(function(root, factory) {
"use strict";
if (typeof module == "object" && typeof module.exports == "object") {
module.exports = root.document ?
factory(root, true) :
function(w) {
if (!w.document) {
throw new Error("AniJS requires a ... |
package com.robotium.solo;
import java.util.ArrayList;
import android.widget.CheckedTextView;
import android.widget.CompoundButton;
import android.widget.Spinner;
import android.widget.TextView;
/**
* Contains various check methods. Examples are: isButtonChecked(),
* isSpinnerTextSelected.
*
* @author Renas Red... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// 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: 2014.1... |
var gulp = require('gulp');
gulp.task('build', ['browserify', 'markup']);
|
package org.nutz.aop;
import java.lang.reflect.Constructor;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.util.ArrayList;
import java.util.List;
import org.nutz.lang.Lang;
import org.nutz.lang.Mirror;
/**
* 提供ClassAgent的基础实现,拦截不可能插入Aop代码的Class
* <p/>
* 传入的Class对象需要满... |
// Copyright 2014 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... |
using System;
using System.Management.Automation;
using System.Management.Automation.SecurityAccountsManager;
using System.Runtime.Serialization;
using Microsoft.PowerShell.LocalAccounts;
#if CORECLR
using Microsoft.PowerShell.CoreClr.Stubs;
#endif
namespace Microsoft.PowerShell.Commands
{
/// <summary>
/// ... |
<!DOCTYPE html><html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<meta charset="utf-8">
<title>ArangoDB PHP client API » \ArangoDBClient\Document</title>
<meta name="auth... |
package com.amazonaws.services.identitymanagement.model.transform;
import java.util.Map;
import java.util.Map.Entry;
import javax.xml.stream.events.XMLEvent;
import com.amazonaws.services.identitymanagement.model.*;
import com.amazonaws.transform.Unmarshaller;
import com.amazonaws.transform.MapEntry;
import com.am... |
"""
An RDF/XML parser for RDFLib
"""
from xml.sax import make_parser
from xml.sax.handler import ErrorHandler
from xml.sax.saxutils import handler, quoteattr, escape
from urlparse import urljoin, urldefrag
from rdflib.namespace import RDF, is_ncname
from rdflib.term import URIRef
from rdflib.term import BNode
from rd... |
function setup()
end
function execute(deltaT)
sysLoad("asset://MultiImgItem.lua")
end
function leave()
end
|
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Data;
using System.Reflection;
namespace Light.DataCore
{
class DynamicCustomMapping : CustomMapping
{
protected Dictionary<string, DynamicFieldMapping> _fieldMappingDictionary = new Dictionary<string, D... |
.v-loginform {
height: 140px;
width: 200px;
}
.v-app-loginpage .v-button,
.v-app-loginpage .v-button {
float: left; /* Force minimum width for button */
} |
<?php
namespace CKSource\CKFinder;
use CKSource\CKFinder\ResourceType\ResourceType;
class Utils
{
/**
* Converts shorthand `php.ini` notation into bytes, much like how the PHP source does it.
* @link http://pl.php.net/manual/en/function.ini-get.php
*
* @param string $val
*
* @retu... |
==========
A [promises/A+](https://github.com/promises-aplus/promises-spec) conformant implementation, written for [mongoose](http://mongoosejs.com).
## installation
```
$ npm install mpromise
```
## docs
An `mpromise` can be in any of three states, pending, fulfilled (success), or rejected (error). Once it is eit... |
/* */
"format cjs";
/**
* Turn arrow functions into normal functions.
*
* @example
*
* **In**
*
* ```javascript
* arr.map(x => x * x);
* ```
*
* **Out**
*
* ```javascript
* arr.map(function (x) {
* return x * x;
* });
*/
"use strict";
exports.__esModule = true;
var visitor = {
/**
* Look for... |
(function (factory) {
if (typeof exports === 'object') {
// CommonJS
module.exports = factory(require('jquery'), require('raphael'), require('mousewheel'));
} else if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['jquery', 'rapha... |
package org.apache.catalina.filters;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletReq... |
/**=========================================================
* Module: Group
* Visualizer for groups
=========================================================*/
app.controller('GroupCtrl', [
'$scope',
'$route',
'$interval',
'$routeParams',
'k8sApi',
'$rootScope',
'$location',
'lodash',
function($s... |
JNI_EXPORT jint JNI_OnLoad(JavaVM* vm, void* reserved) {
return RunChrome(vm, ChromeMainDelegateAndroid::Create());
}
|
#pragma once
#include <aws/opsworks/OpsWorks_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace OpsWorks
{
namespace Model
{
/*
<p>Describes an Amazon RDS instance.</p>
*/
class ... |
The first responsive front-end framework based on [AngularJS][angular] & [Google Material Design specifications][material]. lumX will help you to design your applications faster and easier. We followed Google Material Design recommendations to bring the best experience to your users.
## Quick start
Three quick start ... |
package org.w3c.domts.level2.core;
import org.w3c.dom.*;
import org.w3c.domts.DOMTestCase;
import org.w3c.domts.DOMTestDocumentBuilderFactory;
/**
* The "feature" parameter in the
* isSupported(feature,version)" method is the name
* of the feature and the version is the version number of the
* ... |
<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>com.pallocchi</groupId>
<artifactId>underwood</artifactId>
<packag... |
var assert = require('assert'),
fs = require('fs'),
path = require('path'),
nodeunit = require('../lib/nodeunit');
var setup = function (fn) {
return function (test) {
process.chdir(__dirname);
var env = {
mock_module1: require(__dirname + '/fixtures/mock_module1'),
... |
package com.siyeh.igtest.style.constant_on_rhs;
public class ConstantOnRHS
{
private int m_bar = 4;
private boolean m_foo = (m_bar == <warning descr="Constant '3' on the right side of the comparison">3</warning>);
public void foo()
{
if(m_bar == <warning descr="Constant '3' on the right side o... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head><title></title>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<link rel="stylesheet" type="text/css" href="searc... |
#ifndef TRIO_TRIOSTR_H
#define TRIO_TRIOSTR_H
/*
* Documentation is located in triostr.c
*/
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "triodef.h"
#include "triop.h"
#ifdef __cplusplus
extern "C" {
#endif
enum {
TRIO_HASH_NONE = 0,
TRIO_HASH_PLAIN,
TRIO_HASH_TWO... |
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
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/licen... |
"""
Support for INSTEON PowerLinc Modem.
For more details about this component, please refer to the documentation at
https://home-assistant.io/components/insteon_plm/
"""
import logging
import asyncio
import voluptuous as vol
from homeassistant.core import callback
from homeassistant.const import (
CONF_PORT, EV... |
DEBUG = True
RUN_PATH = 'var/run'
PID_FILE = 'fastcgi.pid'
SOCKET_FILE = 'rsted.sock'
FCGI_UMASK = '000' # you can override this in settings_local.py if you wish
try:
from settings_local import *
except ImportError:
pass
|
// scalastyle:off println
package org.apache.spark.examples.streaming.clickstream
import org.apache.spark.examples.streaming.StreamingExamples
import org.apache.spark.streaming.{Seconds, StreamingContext}
// scalastyle:off
/**
* Analyses a streaming dataset of web page views. This class demonstrates several types ... |
package lombok;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Put on any field to make lombok build a standard getter.
* <p>
* Complete documentation is found at <a href="https://projectlombok.... |
package builder
|
package ipmi.coding.commands.chassis;
import ipmi.coding.commands.ResponseData;
/**
* Wrapper class for Chassis Control response.
*/
public class ChassisControlResponseData implements ResponseData {
}
|
<!--
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... |
*Simple command line music player written in Python. **WIP***
### Features
- Play mp3 and ogg audio files from the command line.
- Load songs and playlists from XML, JSON, SQLite databases and more.
- *More to come*
### Running It
1. Clone the repository (`git clone https://github.com/James-Parsons/music-magic.git`... |
#include "tensorflow/compiler/xla/service/cpu/dot_op_emitter.h"
#include "tensorflow/compiler/xla/service/cpu/ir_emission_utils.h"
#include "tensorflow/compiler/xla/service/cpu/target_machine_features_fake.h"
#include "tensorflow/compiler/xla/service/hlo_parser.h"
#include "tensorflow/compiler/xla/test.h"
namespace ... |
<?php
namespace Symfony\Component\Validator\Violation;
use Symfony\Component\Translation\TranslatorInterface;
use Symfony\Component\Validator\Constraint;
use Symfony\Component\Validator\ConstraintViolation;
use Symfony\Component\Validator\ConstraintViolationList;
use Symfony\Component\Validator\Util\PropertyPath;
... |
// See docs in ../ops/math_ops.cc.
#define EIGEN_USE_THREADS
#include "tensorflow/core/framework/op.h"
#include "tensorflow/core/framework/op_kernel.h"
#include "tensorflow/core/framework/type_traits.h"
#include "tensorflow/core/framework/types.h"
#include "tensorflow/core/kernels/meta_support.h"
#include "tensorfl... |