answer stringlengths 15 1.25M |
|---|
## array.jl: Dense arrays
typealias Vector{T} Array{T,1}
typealias Matrix{T} Array{T,2}
typealias VecOrMat{T} Union(Vector{T}, Matrix{T})
typealias DenseVector{T} DenseArray{T,1}
typealias DenseMatrix{T} DenseArray{T,2}
typealias DenseVecOrMat{T} Union(DenseVector{T}, DenseMatrix{T})
typealias StridedArray{T,N,A<:Dense... |
"""
Tests for login and logout.
"""
import datetime
from unittest.mock import patch
import responses
import quilt3
from .utils import QuiltTestCase
class TestSession(QuiltTestCase):
@patch('quilt3.session.open_url')
@patch('quilt3.session.input', return_value='123456')
@patch('quilt3.session.login_with_toke... |
package io.cattle.platform.configitem.server.model.impl;
import java.io.IOException;
import io.cattle.platform.configitem.server.model.<API key>;
import io.cattle.platform.configitem.server.resource.ResourceRoot;
import io.cattle.platform.configitem.version.<API key>;
public abstract class <API key> extends AbstractCon... |
import { registerBidder } from '../src/adapters/bidderFactory.js';
import { BANNER, NATIVE, VIDEO } from '../src/mediaTypes.js';
import * as utils from '../src/utils.js';
import { config } from '../src/config.js';
const BIDDER_CODE = 'gothamads';
const ACCOUNTID_MACROS = '[account_id]';
const URL_ENDPOINT = `https://us... |
<?php
class <API key>
extends <API key>
implements <API key>
{
const SESS_PREFIX = 'fastindexer_';
/**
* @var <API key>
*/
protected $_session = null;
/**
* @return <API key>
*/
public function getSession()
{
if (null !== $this->_session) {
return ... |
// immer: immutable data structures for C++
#include "fuzzer_gc_guard.hpp"
#include "fuzzer_input.hpp"
#include <immer/heap/gc_heap.hpp>
#include <immer/refcount/no_refcount_policy.hpp>
#include <immer/set.hpp>
#include <immer/algorithm.hpp>
#include <array>
using gc_memory = immer::memory_policy<immer::heap_policy<imm... |
#!/bin/sh
curl -fsLO https://raw.githubusercontent.com/scijava/scijava-scripts/master/travis-build.sh
bash travis-build.sh $<API key> $<API key> &&
if [ ! -f release.properties ]
then
echo
echo '== No release.properties; running integration tests =='
# Not a release -- also perform integration tests.
mvn -Dinvo... |
package pod
import (
"fmt"
"strings"
lru "github.com/hashicorp/golang-lru"
"github.com/rancher/norman/api/access"
"github.com/rancher/norman/types"
"github.com/rancher/norman/types/values"
"github.com/rancher/rancher/pkg/controllers/managementagent/workload"
"github.com/rancher/rancher/p... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (9-Debian) on Thu Sep 28 23:13:23 GMT 2017 -->
<title>Uses of Interface dollar.internal.runtime.script.api.HasKeyword (dollar-script 0.4.5195 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta... |
import java.io.File;
import java.io.FilenameFilter;
class A {
{
new java.io.File("aaa").list(new FilenameFilter() {
public boolean accept(File dir, String name) {
<selection>return false; //To change body of implemented methods use File | Settings | File Templates.</selection>
}
}... |
// YWUserTool.h
// YiWobao
#import <Foundation/Foundation.h>
@class YWUser;
@interface YWUserTool : NSObject
+ (void)saveAccount:(YWUser *)account;
+ (YWUser *)account;
+ (void)quit;
@end |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_23) on Fri Nov 23 14:03:50 GMT 2012 -->
<TITLE>
Uses of Class org.apache.nutch.crawl.CrawlDbMerger (apache-nutch 1.6 API)
</TITLE>
<META NAME="date" CONTENT="2012-11-23">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../.... |
\begin{ManPage}{\label{<API key>}\Condor{cold\_start}}{1}
{install and start Condor on this machine}
\Synopsis \SynProg{\Condor{cold\_start}}
\Opt{-help}
\SynProg{\Condor{cold\_start}}
\oOptArg{-basedir}{directory}
\oOpt{-force}
%\oOpt{-dyn}
\oOpt{\Opt{-setuponly} \Bar \Opt{-runonly}}
\oOptArg{-arch}{architecture}
\oOp... |
title: 'Webapp idea: #nowplaying radio'
category: Projects
tags:
- twitter
- programming
- Ruby
- Ruby on Rails
An oppurtunity to learn Ruby on Rails. Use a Twitter library to fetch tweets with the hashtag #nowplaying.
Present the user with an interface with exactly one button: Play
Parse Twitters results and fetch son... |
'use strict';
/**
* @class
* Initializes a new instance of the <API key> class.
* @constructor
* A Data Lake Analytics catalog U-SQL external datasource item list.
*
*/
class <API key> extends Array {
constructor() {
super();
}
/**
* Defines the metadata of <API key>
*
* @returns {object} metad... |
{base},
Standard as (
SELECT distinct SOURCE_CODE, TARGET_CONCEPT_ID, TARGET_DOMAIN_ID, <API key>, <API key>
FROM Source_to_Standard
WHERE lower(<API key>) IN ('jnj_tru_p_spclty')
AND (<API key> IS NOT NULL or <API key> != '')
AND (<API key> IS NULL or <API key> = '')
)
select distinct Standard.*
from Standard |
(function() {
function LandingCtrl() {
this.heroTitle = "Turn the Music Up!";
}
angular
.module('blocJams')
.controller('LandingCtrl', LandingCtrl);
})(); |
<include file="Index/header" />
<style type="text/css">
</style>
<!-- START -->
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 " style="padding:20px">
<if condition="$userinfo['wechat_card_num'] - $thisUser['wechat_card_num'] gt 0 " >
<a class="btn btn-primary" onclick="location.href='{gr-:U('Index/add')... |
#!/bin/bash
# This script runs in a loop (configurable with LOOP), checks for updates to the
# Hugo docs theme or to the docs on certain branches and rebuilds the public
# folder for them. It has be made more generalized, so that we don't have to
# hardcode versions.
# Warning - Changes should not be made on the server... |
npm install
(cd ./client/ && npm install) |
<?php
require_once '../autoload.php';
use Qiniu\Auth;
$accessKey = 'Access_Key';
$secretKey = 'Secret_Key';
$auth = new Auth($accessKey, $secretKey);
$bucket = 'Bucket_Name';
$upToken = $auth->uploadToken($bucket);
echo $upToken; |
package org.datavec.api.transform.transform.time;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.datavec.api.transform.ColumnType;
import org.datavec.api.transform.Transform;
import org.datavec.api.transform.metadata.ColumnMetaData;
import org.datavec.api.transform.metadata.IntegerMetaData;
import org.... |
package com.humbinal.ssm.test;
public class User {
private long user_Id;
private String user_name;
private int user_age;
public User() {
}
public long getUser_Id() {
return user_Id;
}
public void setUser_Id(long user_Id) {
this.user_Id = user_Id;
}
public String g... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_10) on Mon Feb 26 03:04:16 CET 2007 -->
<TITLE>
S-Index (REPSI Tool)
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.docu... |
require("../base/extension_registry.js");
require("./event.js");
require("./object_snapshot.js");
require("../base/range.js");
require("../base/sorted_array_utils.js");
'use strict';
/**
* @fileoverview Provides the ObjectSnapshot and ObjectHistory classes.
*/
global.tr.exportTo('tr.model', function() {
var ObjectS... |
package org.sakaiproject.scorm.ui.player.behaviors;
import org.adl.api.ecmascript.SCORM13APIInterface;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.sakaiproject.scorm.model.api.ScoBean;
import org.sakaiproject.scorm.model.api.SessionBean;
import org.sakaiproject.scorm.... |
import logging
import re
import socket
from mopidy.config import validators
from mopidy.internal import log, path
def decode(value):
if isinstance(value, bytes):
value = value.decode(errors="surrogateescape")
for char in ("\\", "\n", "\t"):
value = value.replace(
char.encode(encoding... |
// <API key>.h : header file
#if !defined(AFX_ANYCHATCALLCENTERSERVERDLG_H__69ADA4B7_BCD7_435B_A14D_20271C905BA1__INCLUDED_)
#define AFX_ANYCHATCALLCENTERSERVERDLG_H__69ADA4B7_BCD7_435B_A14D_20271C905BA1__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <list>
class <API key> : public CDial... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_09-icedtea) on Sat Mar 30 09:57:52 CET 2013 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>org.togglz.core.proxy (Togglz 1.1.1.Final API)</title>
<meta name="date" content="2013-03... |
using System;
using NUnit.Framework;
namespace Akka.TestKit.NUnit
{
<summary>
Assertions for NUnit
</summary>
public class NUnitAssertions : ITestKitAssertions
{
public void Fail(string format = "", params object[] args)
{
Assert.Fail(format, args);
}
pub... |
#!/bin/bash
set -e
readonly url=http://localhost:8080
readonly tmp_file=gerrit
wget --retry-connrefused --waitretry=5 --timeout=10 --tries=20 -O "/tmp/$tmp_file" "$url"
head -n 4 "/tmp/$tmp_file" |
#pragma once
#include <aws/eks/EKS_EXPORTS.h>
#include <aws/eks/model/Cluster.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class <API key>;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace EKS
{
namespace Model
{
class AWS_EKS_API <API ke... |
form.style {
clear: both;
}
form.style label {
width:100px;
display:block;
float:left;
padding-top:4px;
font-size:14px;
color:#FFF;
text-align:right;
padding-right:30px;
}
form.style label.long {
width: auto;
display: inline;
float:none;
padding: 0;
}
form.style input... |
# AUTOGENERATED FILE
FROM balenalib/nitrogen6x-debian:stretch-run
# A few reasons for installing <API key> OpenJDK:
# 1. Oracle. Licensing prevents us from redistributing the official JDK.
# 2. Compiling OpenJDK also requires the JDK to be installed, and it gets
# really hairy.
# For some sample build times,... |
var header = Vue.extend({
template: '#header'
});
Vue.component('my-header', header);
var footer = Vue.extend({
template: '#footer'
});
Vue.component('my-footer', footer);
var index = Vue.extend({
template: '#index'
});
var App = Vue.extend({});
var router = new VueRouter();
router.map({
'/': {
... |
<data name="commentPage" th:currentPage="${param.currentPage}"
th:moduleType="${param.moduleType}" th:moduleId="${param.moduleId}" th:mode="${param.mode}" th:asc="${param.asc}"/>
<fragment name="" /> |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Web.UI.WebControls;
using ... |
#ifndef <API key>
#include "misc_api_kernel_2.h"
#endif |
package migrations
import "github.com/BurntSushi/migration"
func <API key>(tx migration.LimitedTx) error {
_, err := tx.Exec(`
ALTER TABLE containers DROP COLUMN step_location;
`)
if err != nil {
return err
}
_, err = tx.Exec(`
ALTER TABLE containers ADD COLUMN plan_id text;
`)
... |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 et cindent: */
#ifndef <API key>
#define <API key>
#include "BaseFilter.h"
#include "MediaType.h"
#include "dshow.h"
#include "strmif.h"
#include <string>
namespace mozilla {
namespace media {
<API key>(IPin, __uu... |
'use strict';
/* global describe, it */
var fs = require('fs');
var expect = require('chai').expect;
var bigrig = require('../');
describe('Big Rig', function () {
it ('throws if no processes are found', function () {
expect(function () {
bigrig.analyze(null);
}).to.throw('Zero processes (tabs) found.')... |
package io.katharsis.jpa.meta;
import java.io.Serializable;
import java.util.UUID;
import org.junit.Assert;
import org.junit.Test;
import io.katharsis.meta.model.MetaPrimitiveType;
public class <API key> {
@Test
public void testString() {
MetaPrimitiveType type = new MetaPrimitiveType();
type.<A... |
function TorneoGolfWindow(Window) {
window1 = Titanium.UI.createWindow({
tabBarHidden : true,
backgroundColor : "white",
width : '100%',
height : '100%',
layout : 'vertical'
});
table = Ti.UI.createTableView({
width : '90%',
height : '100%'
});
... |
#ifndef CP_NETWORK_H
#define CP_NETWORK_H
#ifdef __cplusplus
extern "C" {
#endif
#define <API key> 4096
#define CP_MAX_EVENT 1024
#define CP_BUFFER_SIZE (1024*1024)
#define CP_MAX_UINT 4294967295
#define EPOLL_CLOSE 10
#define CP_CLIENT_EOF_STR "\r\n^CON^... |
<div id="<API key>" style="width:711px">
<h1 class="<API key>">Confirm Node Fail Over for {{<API key>.node.hostname}}</h1>
<div>
<div mn-spinner="<API key>.viewLoading">
<div class="pas_20">
<div class="failover_warning pat_20">
<div ng-show="!<API key>.status.down && !<API key>.status.d... |
package eu.atos.sla.dao.jpa;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.<API key>;
import javax.persistence.NoResultException;
import javax.persistence.PersistenceContext;
import javax.persistence.Query;
import javax.persi... |
(function (root, undefined) {
// ReadOnly Function
var Functions = {
Identity: function (x) { return x; },
True: function () { return true; },
Blank: function () { }
};
// const Type
var Types = {
Boolean: typeof true,
Number: typeof 0,
String: typeof ... |
// Module : movement_manager.h
// Created : 02.10.2001
// Modified : 12.11.2003
// Author : Dmitriy Iassenev
// Description : Movement manager
#pragma once
#include "ai_monster_space.h"
#include "graph_engine_space.h"
#include "game_graph_space.h"
namespace MovementManager {
enum... |
import sbt._
object Version {
val logbackVer = "1.2.3"
val mUnitVer = "0.7.25"
val scalaVersion = "3.0.0-RC3"
}
object Dependencies {
private val logbackDeps = Seq (
"ch.qos.logback" % "logback-classic",
).map (_ % Version.logbackVer)
private val munitDeps = Seq(
... |
package org.apereo.cas.ticket.code;
import org.apereo.cas.authentication.Authentication;
import org.apereo.cas.authentication.principal.Service;
import org.apereo.cas.ticket.ExpirationPolicy;
import org.apereo.cas.ticket.Ticket;
import org.apereo.cas.ticket.TicketFactory;
import org.apereo.cas.ticket.<API key>;
import ... |
package com.intellij.codeInsight.daemon.impl;
import com.intellij.codeHighlighting.<API key>;
import com.intellij.codeHighlighting.HighlightingPass;
import com.intellij.codeHighlighting.<API key>;
import com.intellij.codeHighlighting.<API key>;
import com.intellij.concurrency.Job;
import com.intellij.concurrency.JobLau... |
Build a starter map
This lab covers the basics for creating a basic starter mapping application.
The starter map simply loads a default base map, and centers and zooms it in in a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html).
If you are new to ArcGIS and need a full se... |
.container-fluid,
.container {
padding-right: 0px;
padding-left: 0px;
margin-right: auto;
margin-left: auto;
}
.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
... |
# <API key>
## Properties
Name | Type | Description | Notes
**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/release-1.2/docs/deve... |
include ../../../mk/pitchfork.mk
# Local variables
_NAME = pbsvtools
$(_NAME)_REPO ?= git://github.com/PacificBiosciences/$(_NAME)
_WRKSRC = $(WORKDIR)/$(_NAME)
$(_NAME)_VERSION ?= HEAD
_REVISION = $(shell cd $(_WRKSRC) && $(GIT) rev-parse --short $($(_NAME)_VERSION) || true)
# Local wo... |
#ifndef <API key>
#define <API key>
#include "../../graph/include/graph.hpp"
namespace pasl {
namespace graph {
/* Symmetric vertex */
template <class Vertex_id_bag>
class symmetric_vertex {
public:
typedef Vertex_id_bag vtxid_bag_type;
typedef typename vtxid_bag_type::value_type vtxid_type;
symmetric_vertex() { ... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="pt">
<head>
<!-- Generated by javadoc (version 1.7.0_71) on Tue Jun 16 10:36:54 BRT 2015 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class opennlp.tools.ml.model.<API key> (Apache OpenNLP Tools 1.6.0 API)</title>
<meta nam... |
package org.anddev.andengine.opengl.texture;
import java.util.*;
import org.anddev.andengine.opengl.texture.source.*;
import org.anddev.andengine.util.*;
import org.anddev.andengine.opengl.texture.builder.*;
import android.graphics.*;
public class BuildableTexture extends Texture
{
private final ArrayList<<API key>... |
//Not using strict: uneven strict support in browsers, #392, and causes
//problems with requirejs.exec()/transpiler plugins that may not be strict.
/*jslint regexp: true, nomen: true, sloppy: true */
/*global window, navigator, document, importScripts, setTimeout, opera */
var requirejs, require, define;
(function (glo... |
import application = require("application");
// Specify custom <API key>.
/*
class MyDelegate extends UIResponder implements <API key> {
public static ObjCProtocols = [<API key>];
<API key>(application: UIApplication, launchOptions: NSDictionary): boolean {
console.log("<API key>: " + launchOptions)
... |
/ [variadicTuples1.ts]
// Variadics in tuple types
type TV0<T extends unknown[]> = [string, ...T];
type TV1<T extends unknown[]> = [string, ...T, number];
type TV2<T extends unknown[]> = [string, ...T, number, ...T];
type TV3<T extends unknown[]> = [string, ...T, ...number[], ...T];
// Normalization
type TN1 = TV1<[boo... |
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC "-
<html>
<head>
<title>groupby - org.saddle.groupby</title>
<meta name="description" content="groupby - org.saddle.groupby" />
<meta name="keywords" content="groupby org.saddle.groupby" />
<meta http-equiv="con... |
package io.agrest.it.fixture.cayenne;
import io.agrest.it.fixture.cayenne.auto._E15E1;
public class E15E1 extends _E15E1 {
private static final long serialVersionUID = 1L;
} |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="pt">
<head>
<!-- Generated by javadoc (version 1.7.0_71) on Tue Jun 16 10:37:20 BRT 2015 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>opennlp.tools.doccat (Apache OpenNLP Tools 1.6.0 API)</title>
<meta name="date" content="2015-06-... |
<html>
<head>
<link rel="stylesheet" type="text/css" href="{{{host}}}/stylesheets/bootstrap.min.css">
<script src="{{{host}}}/javascripts/jquery-1.8.3.js"></script>
<script src="{{{host}}}/javascripts/oauth2client.js"></script>
<script src="{{{host}}}/{{{TILE_NAME}}}/javascripts/action.js"></script>
... |
#pragma once
#include "generator/collector_interface.hpp"
#include <fstream>
#include <functional>
#include <memory>
#include <string>
struct OsmElement;
namespace base
{
class GeoObjectId;
} // namespace base
namespace generator
{
namespace cache
{
class <API key>;
} // namespace cache
// CollectorTag class collects... |
#include "db_config.h"
#include "db_int.h"
/*
* __os_id --
* Return the current process ID.
*
* PUBLIC: void __os_id __P((DB_ENV *, pid_t *, db_threadid_t*));
*/
void
__os_id(dbenv, pidp, tidp)
DB_ENV *dbenv;
pid_t *pidp;
db_threadid_t *tidp;
{
/*
* We can't depend on dbenv not being NULL, ... |
@extends('dashboard.main')
@section('styles')
<meta name="lang" content="{{ \Session::get('locale') }}">
<link rel="stylesheet" href="{{ URL::to('libs/vendor/iCheck/skins/square/blue.css') }}">
<link rel="stylesheet" href="{{ URL::to('libs/vendor/<API key>/jquery.mCustomScrollbar.css') }}">
<link rel="s... |
package rule
import (
"fmt"
"github.com/mgechev/revive/lint"
)
// <API key> lints given else constructs.
type <API key> struct {
blacklist map[string]bool
}
// Apply applies the rule to given file.
func (r *<API key>) Apply(file *lint.File, arguments lint.Arguments) []lint.Failure {
var failures []lint.... |
<?php
defined('IN_IA') or exit('Access Denied');
/**
*
* @var int
*/
define('TEMPLATE_DISPLAY', 0);
/**
*
* @var int
*/
define('TEMPLATE_FETCH', 1);
/**
*
* @var int
*/
define('<API key>', 2);
/**
* @todo
* @var int
*/
define('TEMPLATE_CACHE', 3);
function template($filename, $flag = TEMPLATE_DISPLAY) {
gl... |
package com.intellij.openapi.diff.impl.settings;
import com.intellij.icons.AllIcons;
import com.intellij.idea.ActionsBundle;
import com.intellij.openapi.actionSystem.ActionGroup;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.action... |
package frc.team5333.lib;
import java.util.HashMap;
/**
* A static class that contains all kinds of Launch data for the robot,
* such as network ports, current state and more
*
* @author Jaci
*/
public class RobotData {
/**
* A blackboard containing objects that are common throughout the
* program, a... |
function ChangeTo(to) {
if (to == "text") {
$('#admincommentlinks').ghide();
$('#admincomment').gshow();
resize('admincomment');
var buttons = document.getElementsByName('admincommentbutton');
for (var i = 0; i < buttons.length; i++) {
buttons[i].setAttribute('onc... |
#!/usr/bin/env perl
# $Source: /cvsroot/ensembl/ensembl-personal/genebuilders/ccds/scripts/store_ccds_xrefs.pl,v $
# $Revision: 1.13 $
=pod
=head1 NAME
store_ccds_xrefs.pl
=head1 SYNOPSIS
Make CCDS Xrefs.
=head1 DESCRIPTION
Will store the Ensembl transcript stable_id that matches the ccds structure.
Originally ... |
const NamingMixin = {
_name: null,
getName() {
return this._name;
},
_shortName: null,
getShortName() {
return this._shortName || this.getName();
},
_abbreviation: null,
getAbbreviation() {
return this._abbreviation || this.getShortName();
},
};
export default NamingMixin; |
from mainapp import create_app
app = create_app()
if __name__ == '__main__':
app.run(host='0.0.0.0') |
package main
import (
"github.com/ActiveState/tail"
"github.com/ugorji/go/codec"
"io/ioutil"
"log"
"os"
"reflect"
"regexp"
"strconv"
"strings"
"time"
)
type inputTail struct {
path string
format string
tag string
pos_file string
offset int64
... |
<div class="container userContainer">
<div class="row">
<input type="text" ng-model="model.data.search" placeholder="Search user..." ng-change="model.search()" autofocus>
</div>
<div class="row userContainer-row" ng-click="model.userSelect(user)" ng-show="model.users.length" ng-repeat="user in model.users">
... |
package testpkg
import scala.concurrent.duration._
// starts svr using server-test/completions and perform sbt/completion tests
object <API key> extends AbstractServerTest {
override val testDirectory: String = "completions"
test("return basic completions on request") { _ =>
val completionStr = """{ "query": ""... |
registerNpc(1007, {
walk_speed = 0,
run_speed = 0,
scale = 130,
r_weapon = 0,
l_weapon = 0,
level = 10,
hp = 100,
attack = 100,
hit = 100,
def = 100,
res = 100,
avoid ... |
{% macro warnings_and_loader() -%}
<div ng-cloak>
<div class="<API key> toast-top-center">
<div ng-repeat="warning in (alertsService.warnings | limitTo:5) track by $index" class="toast toast-warning oppia-toast">
<button type="button" class="toast-close-button" ng-click="alertsService.deleteWarning(... |
<!DOCTYPE html><html lang="en"><head><title>src/Parser</title></head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0"><meta name="groc-relative-root" content="../"><meta name="groc-document-path... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_22) on Wed Sep 14 22:21:32 CEST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
net.sourceforge.pmd.typeresolution.rules.imports Class Hierarchy (PMD 4.2.6 API)
</TITLE>
<META NAME="date" ... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>com.cloudera.oryx.api.serving (Oryx 2.8.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<sc... |
package com.senseidb.search.node.impl;
import org.json.JSONObject;
import com.senseidb.search.node.SenseiQueryBuilder;
import com.senseidb.search.node.<API key>;
import com.senseidb.search.req.SenseiQuery;
import com.senseidb.util.JSONUtil.FastJSONObject;
public abstract class <API key> implements <API key> {
@Overri... |
#include <zephyr.h>
#include <misc/printk.h>
#include <board.h>
#include <gpio.h>
#include <i2c.h>
#include <spi.h>
#include <sensor.h>
/* #define ARGONKEY_TEST_LOG 1 */
#define WHOAMI_REG 0x0F
#define WHOAMI_ALT_REG 0x4F
static inline float out_ev(struct sensor_value *val)
{
return (val->val1 + (float)val->v... |
var searchData=
[
['value',['value',['../<API key>.html#<API key>',1,'guac_pool_int']]],
['<API key>',['vguac_client_abort',['../client_8h.html#<API key>',1,'client.h']]],
['<API key>',['vguac_client_log',['../client_8h.html#<API key>',1,'client.h']]],
['<API key>',['<API key>',['../protocol_8h.html#<API key>',... |
package org.vertexium.util;
import org.vertexium.Authorizations;
import org.vertexium.Direction;
import org.vertexium.Vertex;
import java.util.Iterator;
public class <API key> implements Iterable<String> {
private final Iterable<? extends Vertex> vertices;
private final Authorizations authorizations;
public... |
package com.kit.db;
public class Obj {
} |
#import "DockSquadImporter.h"
@interface <API key> : DockSquadImporter
@end |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_51) on Fri Jul 19 02:59:04 EDT 2013 -->
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<TITLE>
Uses of Class org.apache.solr.client.solrj.response.RangeFacet.Count (Solr 4.4.0 API)
</TITLE>
<META NAME="date" C... |
external help file: Microsoft.Azure.Commands.HDInsight.dll-Help.xml
ms.assetid: <API key>
online version:
schema: 2.0.0
# <API key>
## SYNOPSIS
Creates a Sqoop job object.
## SYNTAX
<API key> [-Files <String[]>] [-StatusFolder <String>] [-File <String>]
[-Command <String>] [-LibDir <String>] [<CommonParameters>]
## DE... |
"""
IP Types
"""
import logging
from ipaddress import ip_address
from socket import AF_INET, AF_INET6
from vpp_papi import VppEnum
from vpp_object import VppObject
try:
text_type = unicode
except NameError:
text_type = str
_log = logging.getLogger(__name__)
class DpoProto:
DPO_PROTO_IP4 = 0
DPO_PROTO_... |
package org.plasma.provisioning.rdb.mysql.v5_5.query;
import org.plasma.provisioning.rdb.mysql.v5_5.<API key>;
import org.plasma.query.DataProperty;
import org.plasma.query.Expression;
import org.plasma.query.dsl.DataNode;
import org.plasma.query.dsl.DomainRoot;
import org.plasma.query.dsl.PathNode;
import org.plasma.s... |
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: hapi/chart/metadata.proto
package chart
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// Thi... |
'use strict';
/**
* @class
* Initializes a new instance of the <API key> class.
* @constructor
* The list data source by workspace operation response.
*
* @member {string} [nextLink] The link (url) to the next page of datasources.
*
*/
class <API key> extends Array {
constructor() {
super();
}
/**
... |
<link rel="import" href="../../../../../bower_components/paper-spinner/paper-spinner.html">
<dom-module id="nav-level-element">
<style>
:host{
display: block;
height: 100%;
}
.circle {
width: 25px;
height: 25px;
-moz-border-radius: ... |
package GRNOC::TSDS::DataService::Aggregation;
use strict;
use warnings;
use base 'GRNOC::TSDS::DataService';
use GRNOC::Log;
use GRNOC::TSDS::MongoDB;
use GRNOC::TSDS::Parser;
use Tie::IxHash;
use DateTime;
use DateTime::Format::Strptime;
use Data::Dumper;
use JSON qw( decode_json );
constants
use constant DEFAULT_COL... |
#include "config/config.h"
#include <sys/types.h>
#include <sys/wait.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <sys/errno.h>
#include <string.h>
#include "dispatch_test.h"
#define _test_print(_file, _line, _desc, \
_expr, _fmt1, _val1, _fmt2, _val2... |
/* Atmel Microcontroller Software Support */
/* modification, are permitted provided that the following condition is met: */
/* Atmel's name may not be used to endorse or promote products derived from */
/* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRA... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.