text stringlengths 3 1.05M |
|---|
import os
import backoff
from google.cloud.automl_v1beta1 import Model
import automl_tables_model
import automl_tables_predict
import model_test
PROJECT = os.environ["GOOGLE_CLOUD_PROJECT"]
REGION = "us-central1"
STATIC_MODEL = model_test.STATIC_MODEL
MAX_TIMEOUT = 200
@backoff.on_exception(
wait_gen=lambda: ... |
namespace Js
{
///----------------------------------------------------------------------------
///----------------------------------------------------------------------------
///
/// enum FlagTypes
///
/// Different types of flags supported by the debug table
///
///---------------------... |
package com.nowellpoint.console.mongodb;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import java.io.IOException;
import java.time.LocalDate;
import java.time.ZoneId;
import java.time.format.TextStyle;
import java.time.temporal.ChronoUnit;
import java.util.Comparator;
impor... |
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2010 Couchbase, 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 at
*
* h... |
using System.Configuration;
using NUnit.Framework;
namespace SequelocityDotNet.Tests.MySql.SequelocityTests
{
[TestFixture]
public class GetDatabaseCommandTests
{
[Test]
public void Can_Get_A_DatabaseCommand_From_A_ConnectionString_Name()
{
// Arrange
TestHel... |
package com.jvt.microservice.service.impl;
import com.jvt.microservice.dao.PrincipalDao;
import com.jvt.microservice.domain.Principal;
import com.jvt.microservice.domain.out.ResultBody;
import com.jvt.microservice.service.PrincipalService;
import org.springframework.beans.factory.annotation.Autowired;
import org.sprin... |
import * as React from "react";
import renderer from "react-test-renderer";
import Schedule from "../Schedule";
describe("Schedule", () => {
it("renders the schedule", () => {
expect(
renderer
.create(<Schedule schedule={{ cron: "0 0 20 * *", enabled: true }} />)
.toJSON()
).toMatchSna... |
module BicycleCms
class ArticleDecorator < ApplicationDecorator
decorates_associations :category, :author, :attachments, :comments
class << self
include Draper::LazyHelpers # TODO Избавиться
def breadcrumbs
[]
end
end
# TODO Рассчитано на наличие category
def breadc... |
<?php
declare(strict_types=1);
namespace Framework\Syscrack\Game\Softwares;
/**
* Lewis Lancaster 2017
*
* Class AddSoftware
*
* @package Framework\Syscrack\Game\Softwares
*/
use Framework\Syscrack\Game\Bases\BaseSoftware;
use Framework\Syscrack\Game\Tool;
/**
* Class AddSoftware
* @package Fr... |
module AmenityGroupsHelper
end
|
/**
* Атлас. Образы России
*/
var AT = {};
AT.version = '0.3';
AT.map = null;
AT.params = {};
AT.init = function(params) {
this.params = params;
AT.initMap(params);
AT.initUI();
};
AT.initMap = function(params) {
var localeTiles = {
'en': [
'http://h01.tiles.tmcrussia.com/map_e... |
using namespace PhysBAM;
template int RIGID_BODY_LIST_3D<float>::Add_Rigid_Body<float> (const std::string& basename, float scaling_factor, const bool read_triangulated_surface, const bool read_implicit_surface, const bool read_tetrahedralized_volume, const bool read_rgd_file);
template int RIGID_BODY_LIST_3D<float>::Ad... |
package org.smartdeveloperhub.harvesters.it.frontend.util;
import static com.google.common.base.Preconditions.checkState;
import java.io.Serializable;
import java.net.URI;
import org.ldp4j.application.data.Name;
import org.ldp4j.application.data.NamingScheme;
import org.ldp4j.application.session.ResourceSnapshot;
i... |
/* c&p from here https://github.com/filamentgroup/loadCSS/blob/master/src/loadCSS.js */
export function loadCSS(href, before, media, attributes) {
// Arguments explained:
// `href` [REQUIRED] is the URL for your CSS file.
// `before` [OPTIONAL] is the element the script should use as a reference for injecting our... |
#include <common/bl_common.h>
#include <common/debug.h>
#include <plat/arm/common/plat_arm.h>
#include <plat/arm/soc/common/soc_css.h>
#include <plat/arm/common/arm_def.h>
#include <drivers/arm/sp805.h>
#include <sgm_plat_config.h>
void bl1_early_platform_setup(void)
{
/* Initialize the console before anything els... |
package Paws::Lambda::GetFunction;
use Moose;
has FunctionName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'FunctionName', required => 1);
has Qualifier => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'Qualifier');
use MooseX::ClassAttribute;
class_has _api_ca... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package hotandcold;
import java.io.IOException;
import java.util.LinkedList;
import java.util.List;
import java.util.logging.Level;
im... |
using System;
using System.Globalization;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.Core.Pipeline;
using Azure.ResourceManager;
namespace Azure.ResourceManager.Avs
{
/// <summary>
/// A Class representing an AvsCloudLink along with the instance operations ... |
package com.thebluealliance.androidclient.listitems;
import android.content.Context;
import androidx.test.InstrumentationRegistry;
import androidx.test.runner.AndroidJUnit4;
import android.view.LayoutInflater;
import android.view.View;
import com.facebook.testing.screenshot.Screenshot;
import com.facebook.testing.scr... |
#ifndef HK_UTILITIES2_CONSTRAINT_VIEWER_H
#define HK_UTILITIES2_CONSTRAINT_VIEWER_H
#include <Physics2012/Utilities/VisualDebugger/Viewer/Dynamics/hkpWorldViewerBase.h>
#include <Physics2012/Dynamics/World/Listener/hkpWorldPostSimulationListener.h>
#include <Physics2012/Dynamics/Constraint/hkpConstraintListener.h>
... |
public final class InstancePredicateUseInLemma{
//@ predicate pred(list<char> nm) = nm == nil;
private String name;
}
/*@
lemma void mylemma(InstancePredicateUseInLemma obj)
requires obj.pred(?nm);
ensures obj.pred(nm);
{
open obj.pred(nm);
close obj.pred(nm);
}
@*/
|
/* Test __STDC_HOSTED__ for freestanding environments */
/* Copyright 2017 Mo McRoberts.
*
* 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/LICE... |
class GroningenMunicipality2018UpdateStep1 < ActiveRecord::Migration[5.0]
def self.up
directory = Rails.root.join('db/migrate/20210602133543_groningen_municipality_2018_update_step_1')
data_path = directory.join('data.csv')
commits_path = directory.join('commits.yml')
datasets = []
# By... |
Visual Studio extension for Rust
================================
[]
(https://ci.appveyor.com/project/vosen/visualrust)

Currently in development, and not feature complete. Stable versio... |
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Zend Framework API Documentation</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta><link rel="stylesheet" href="css/black-tie/jquery-ui-1.8.2.custom.css" type="text/css"></link><link rel="stylesheet" href="css/jquery.treeview.css" ty... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
Low-level rust bindings to the Z3 SMT solver
See [https://github.com/Z3Prover/z3](https://github.com/Z3Prover/z3) for details on Z3.
|
FROM python:3.7
COPY . /
WORKDIR /
# Issues experienced with ViennaRNA-2.4.14, therefore retaining 'stable' version:
ARG VIENNA_VERSION="ViennaRNA-2.4.11"
RUN curl -fsSL https://www.tbi.univie.ac.at/RNA/download/sourcecode/2_4_x/$VIENNA_VERSION.tar.gz -o /opt/$VIENNA_VERSION.tar.gz \
&& tar zxvf /opt/$VIENNA_VERSIO... |
package config
import javax.inject.Inject
import play.api.Configuration
class PbikConfig @Inject()(configuration: Configuration) {
val cyEnabled: Boolean = configuration.get[Boolean]("cymode.enabled")
}
|
package org.exitsoft.common.mapper;
import java.io.IOException;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fast... |
/* ==========================================================================
Table of Contents
========================================================================== */
/*
0. Normalize
1. Icons
2. General
3. Utilities
4. General
5. Single Post
6. Tag Archive
7. Third... |
<Alloy>
<View id="statusBarPadding"></View>
<View id="header" class="header">
<Label id="brand">Novenapp</Label>
</View>
</Alloy> |
/*!*****************************************************************************
* @file Timer.h
* @brief Timer driver interface
*
* The timer header file should be included in an application as follows:
* @code
* #include <ti/drivers/Timer.h>
* @endcode
*
* # Overview #
* The timer driver... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="viewport" content="width=device-w... |
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="theme" content="hugo-academic">
<meta name="generator" content="Hugo 0.49" />
<meta name="author" content=... |
help([[zlib is designed to be a free, general-purpose, legally unencumbered -- that is,
not covered by any patents -- lossless data-compression library for use on virtually any
computer hardware and operating system. - Homepage: http://www.zlib.net/]])
whatis([[Description: zlib is designed to be a free, general-pur... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="AndroidLayouts">
<shared>
<config />
</shared>
</component>
<component name="AndroidLogFilters">
<option name="TOOL_WINDOW_LOG_LEVEL" value="ERROR" />
<option name="TOOL_WINDOW_CONFIGURED_FILTER" value="Show only s... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
-- select query with schema and database qualifiers
SELECT DBO.SOMEDATABASE.FOO.BAR FROM DBO.SOMEDATABASE.FOO;
-- create table with schema qualifiers
CREATE TABLE [dbo].[MyTable]
([ID] INT,
[Name] nvarchar);
-- temp table without qualifiers
SELECT * from #foo
/*********************************************... |
package underscore
func a() {}
|
//
// RZIRoutes.h
//
// Copyright 2015 Raizlabs and other contributors
// http://raizlabs.com/
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without... |
// GetTextDlg.cpp : ±¸Çö ÆÄÀÏÀÔ´Ï´Ù.
//
#include "stdafx.h"
#include "UINameTag.h"
#include "GetTextDlg.h"
#include "afxdialogex.h"
#include <platform/boss_platform.hpp>
#include <service/boss_boxr.hpp>
#include <format/boss_bmp.hpp>
// CGetTextDlg ´ëÈ »óÀÚÀÔ´Ï´Ù.
IMPLEMENT_DYNAMIC(CGetTextDlg, CDialogEx)
CGetTex... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Va... |
;(function(){
'use strict';
var inquirer = require('inquirer')
var _ = require('lodash')
module.exports = servicePrompts;
function servicePrompts (done) {
var _this = this;
if(!_.size(serviceQuestions())){
_this.questions = _this.questions.concat(serviceQuestions());
}
... |
package org.apache.camel.processor.interceptor;
import org.apache.camel.ContextTestSupport;
import org.apache.camel.builder.AdviceWithRouteBuilder;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.reifier.RouteReifier;
import org.junit.jupiter.api.Test;
/**
* This test ensures non-regression fo... |
DELETE FROM show_request_t WHERE id = $1;
|
"""py3o.template exposes a dirt simple API to render templated OpenOffice
documents into real OpenOffice documents with all your data merged-in.
"""
from py3o.template.main import Template
from py3o.template.main import TemplateException
from py3o.template.decoder import Decoder
|
require 'saxerator/builder/array_element'
require 'delegate'
module Saxerator
module Builder
class StringElement < DelegateClass(String)
attr_accessor :attributes
attr_accessor :name
def initialize(str, name = nil, attributes = nil)
@name = name
@attributes = attributes
... |
<?php
namespace Form;
class Validator
{
private $rules;
private $object;
public function __construct($rules, $object)
{
$this->rules = $rules;
$this->object = json_decode($object, TRUE);
}
public function isValid()
{
$errors = [];
foreach ($this->rules as $attribute => $rules)
{
$rules = explod... |
<?php namespace Owlgrin\Cashew;
use Illuminate\Support\ServiceProvider;
use Config;
use Stripe;
class CashewServiceProvider extends ServiceProvider {
/**
* Indicates if loading of the provider is deferred.
*
* @var bool
*/
protected $defer = false;
/**
* Register the service provider.
*
* @return v... |
<!--
@license Apache-2.0
Copyright (c) 2018 The Stdlib Authors.
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... |
readonly CONTROL_PLANE_GSA="events-controller-gsa"
readonly CONTROL_PLANE_NAMESPACE="cloud-run-events"
readonly SERVICE_ACCOUNT_EMAIL_KEY="EMAIL"
readonly ZONAL_CLUSTER_LOCATION_TYPE="zonal"
readonly REGIONAL_CLUSTER_LOCATION_TYPE="regional"
# Constants used for both init_XXX.sh and e2e-xxx.sh
export K8S_CONTROLLER_... |
/* $XFree86: xc/programs/xmh/init.c,v 1.5 2002/01/07 20:20:12 dawes Exp $ */
/* Init.c - Handle start-up initialization. */
#include "xmh.h"
#include "actions.h"
#include <errno.h>
#define MIN_APP_DEFAULTS_VERSION 1
#define xmhCkpDefault "%d.CKP"
static String FallbackResources[] = {
"*folderButton.label: Close",
... |
export const LOAD_SCORES_REQUEST = 'LOAD_SCORES_REQUEST';
export const LOAD_SCORES_SUCCESS = 'LOAD_SCORES_SUCCESS';
export const LOAD_SCORES_FAILURE = 'LOAD_SCORES_FAILURE';
export const LOAD_SCORE_REQUEST = 'LOAD_SCORE_REQUEST';
export const LOAD_SCORE_SUCCESS = 'LOAD_SCORE_SUCCESS';
export const LOAD_SCORE_FAILURE =... |
using namespace SparCraft;
using namespace BWAPI::UpgradeTypes;
UnitProperties UnitProperties::props[256];
UnitProperties::UnitProperties() :
capacityUpgrade(BWAPI::UpgradeTypes::None),
maxEnergyUpgrade(BWAPI::UpgradeTypes::None),
sightUpgrade(BWAPI::UpgradeTypes::None),
extraArmorUpgrade(BWAPI::UpgradeTypes::No... |
using namespace std;
// looking for white surfaces:
int high_thresh = 255;
int low_thresh = 230;
IplImage* img = 0;
IplImage* img0 = 0;
CvMemStorage* storage = 0;
const char* wndname = "Square Detection";
// finds a cosine of angle between vectors
// from pt0->pt1 and from pt0->pt2
double angle( CvPoint* pt1, CvPoint... |
<?php
trait HasLink {
public abstract function getUrl($lang = null);
public function getAdditionalLinkAttributes(array $defaults = []) {
return [];
}
protected function isRemovedFromApi() {
return isset($this->removed_from_api) && $this->removed_from_api;
}
abstract function ... |
static enum disir_status
retrieve_default_context (struct disir_context *context_keyval,
struct disir_version *semver_target,
struct disir_context **context_default)
{
enum disir_status status;
struct disir_collection *collection = NULL;
struct disir_conte... |
// This file is autogenerated from a template file. Please make
// modifications to
// `templates/src/objective-c/GRPCClient/private/version.h.template`
// instead. This file can be regenerated from the template by running
// `tools/buildgen/generate_projects.sh`.
#define GRPC_OBJC_VERSION_STRING @"1.4.2"
|
// Copyright (c) 2012 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 "chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.h"
#include <algorithm>
#include <iterator>
#include <map>
#include ... |
require 'color_picker/color'
require 'color_picker/palette'
require 'color_picker/version'
require 'color_picker/palette/templates'
|
<?php
class Google_Service_CloudIdentity_Membership extends Google_Collection
{
protected $collection_key = 'roles';
public $createTime;
public $name;
protected $preferredMemberKeyType = 'Google_Service_CloudIdentity_EntityKey';
protected $preferredMemberKeyDataType = '';
protected $rolesType = 'Google_Se... |
require 'ads_common/savon_service'
require 'adwords_api/v201406/customer_sync_service_registry'
module AdwordsApi; module V201406; module CustomerSyncService
class CustomerSyncService < AdsCommon::SavonService
def initialize(config, endpoint)
namespace = 'https://adwords.google.com/api/adwords/ch/v201406'
... |
require 'test_helper'
class ExportJsonJobTest < ActiveJob::TestCase
# test "the truth" do
# assert true
# end
end
|
author: shaun
comments: true
layout: post
description: A keynotes for SQLDelight.
keywords: sqldelight, android, potatotips, keynote
slug: slides-for-sqldelight
title: Slides for "SQLDelight"
---
I've recently done a simple introduction to SQLDelight on [potatotips](http://potatotips.connpass.com/event/30510/), which ... |
using System;
using Xamarin.Forms.Platform.Android;
using Xamarin.Forms;
using Android.Widget;
using System.Threading.Tasks;
using Android.Graphics;
[assembly: ExportRenderer(typeof(FAB.Forms.FloatingActionButton), typeof(FAB.Droid.FloatingActionButtonRenderer))]
namespace FAB.Droid
{
public partial class Floati... |
/* intreaga pagina ce este inserata in diviziunea din frame */
.container_update_q{
padding-top: 20px;
text-align:center;
line-height: 30px;
overflow: scroll;
background-color: #a7a7a7;
}
|
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Hy... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-multinomials: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../boo... |
<?php
namespace zpt\rest\test\message;
require_once __DIR__ . '/../test-setup.php';
use PHPUnit_Framework_TestCase as TestCase;
use zpt\rest\message\PhpEnvMessageBuilder;
class PhpEnvMessageBuilderTest extends TestCase
{
protected function setUp() {
// Mock $_SERVER variables required by PhpEnvRequestBuilder de... |
package com.communote.server.model.note;
/**
* This class holds constants of attributes and associations of the entity <code>Note</code>.
*
* @author Communote GmbH - <a href="http://www.communote.com/">http://www.communote.com/</a>
*/
public class NoteConstants {
public final static String CLASS_NAM... |
package org.caleydo.view.bicluster.internal.prefs;
import java.util.ArrayList;
import java.util.Collection;
import org.caleydo.core.gui.util.FontUtil;
import org.caleydo.core.gui.util.ScaleFieldEditor2;
import org.caleydo.core.gui.util.SpinnerFieldEditor;
import org.caleydo.view.bicluster.internal.Activator;
import ... |
package net.wigle.wigleandroid;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import org.osmdroid.util.GeoPoint;
import android.net.wifi.ScanResult;
/**
* network data. not thread-safe.
*/
public final class Network {
private final String bssid;
private final String ssid;
pri... |
package org.fit.proxy.jdbc;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Properties;
import ja... |
'use strict';
/**
* Flattens array a single level deep.
*
* @param {Array} array The array to flatten.
* @throws {TypeError} If `array` is not array.
* @return {Array} The new flattened array.
* @example
*
* flatten([[1, 2], [3, 4], [5], 6]);
* // -> [1, 2, 3, 4, 5, 6]
*
* flatten([1, [2, [3, [4]], 5], [10]... |
name "nfs-server"
maintainer "Łukasz Korecki"
maintainer_email "lukasz@coffeesounds.com"
license "MIT"
description "Installs nfs-server and configures a directory to be shared"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "0.1"
supports "ubun... |
<?php
/* Section that executes query */
if(@$_GET['form'] == "yes")
{
$db = @$_POST['database'];
if ( $db == false ) {
$db = $fenile['mysql_db'];
} else {
mysql_select_db($db);
}
$query = stripSlashes(@$_POST['query']);
$result = mysql_query($query);
echo "<h2 align='center'><strong>MySQL Query Send... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
/*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed... |
:: Purpose: Remove the "Libraries" icon that appears on the desktop after certain Windows Updates are applied
:: Requirements: Run this script as an Administrator
:: Author: reddit.com/user/vocatus ( vocatus.gate at gmail ) // PGP key: 0x07d1490f82a211a2
:: Version: 1.0.0 Initial write
SETLOCAL
... |
KISSY.use("editor", function (S, Editor) {
var Style = Editor.Style;
var Selection = Editor.Selection;
var Range = Editor.Range;
var $ = S.all;
var UA = S.UA;
describe('Style', function () {
describe('bold', function () {
var BOLD_STYLE = new Editor.Style({
... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
<OptionsSetting value="true" id="Add" />
<OptionsSetting value="true" id="Remove" />
<OptionsSetting value="true" id="Checkout" />
<OptionsSetting value="true" id="Upda... |
FROM balenalib/ccimx8x-sbc-pro-ubuntu:focal-run
# remove several traces of debian python
RUN apt-get purge -y python.*
# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
# install python dependencies
RUN apt-g... |
import { deepmerge } from '@material-ui/utils';
function round(value) {
return Math.round(value * 1e5) / 1e5;
}
const caseAllCaps = {
textTransform: 'uppercase',
};
const defaultFontFamily = '"Roboto", "Helvetica", "Arial", sans-serif';
/**
* @see @link{https://material.io/design/typography/the-type-system.html... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>error-handlers: 9 s</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
/*
* AdLib FM card driver.
*/
#include <sound/driver.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/isa.h>
#include <sound/core.h>
#include <sound/initval.h>
#include <sound/opl3.h>
#define CRD_NAME "AdLib FM"
#define DEV_NAME "adlib"
MODULE_DESCRIPTION(CRD_NAME);
MODULE_AUTHOR("Rene Herman... |
import {Attribute} from '../attribute/attribute';
import {EventAggregator} from 'aurelia-event-aggregator';
import notificationManager from '../notifications/sharednotificationmanager';
import _ from 'underscore';
import httpManager from '../services/httpManager';
import loginService from '../services/loginService';
e... |
#include <aws/fms/model/ListThirdPartyFirewallFirewallPoliciesResult.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/core/utils/UnreferencedParam.h>
#include <utility>
using namespace Aws::FMS::Model;
using namesp... |
{% extends "layouts/accounts.html" %}
{% load crispy_forms_tags %}
{% load i18n %}
{% block title %}{{ page_title }} | {{ block.super }}{% endblock %}
{% block inner %}
<div class="row">
<div class="col-sm-7">
<form action="" method="post" enctype="multipart/form-data">
{% csrf_token %}
{... |
classdef Theta < handle
%UNTITLED2 Summary of this class goes here
% Detailed explanation goes here
properties
Name
Curve
theta
thetaS
VantHoff
NonLinear
Tm
TmS
end
methods
function THETA=Theta(curve)
THE... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
<?php
namespace WS\OvsBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
use WS\OvsBundle\Entity\EvenementRepository;
class RechercheType extends AbstractType {
/**
* @param FormBuilderInterf... |
#include <master/client.h>
config_t *config;
/* #define IP "88.176.106.132" */
# define IP "127.0.0.1"
/* FIXME doc */
static int client_preprocess()
{
if (preprocess(config->argc, config->argv))
{
config_free(&config);
return -1;
}
if (send_argv(config->socket_fd, config->argc, conf... |
package com.netflix.zuul.proxy.handler;
import com.netflix.zuul.proxy.core.InterruptsImpl;
import com.netflix.zuul.proxy.framework.api.HttpRequestHandler;
import org.jboss.netty.channel.ChannelHandlerContext;
import org.jboss.netty.channel.MessageEvent;
import org.jboss.netty.channel.SimpleChannelUpstreamHandler;
impo... |
class Scraper::Microsoft
@@microsoft = nil
@@clouds = {
'north_europe' => {:name => 'Azure North Europe', :location => 'Dublin, Ireland'},
'western_europe' => {:name => 'Azure Western Europe', :location => 'Amsterdam, Netherlands'},
'north_central_us' => {:name => 'Azure North Central US', ... |
trait bar { fn dup(&self) -> Self; fn blah<X>(&self); }
impl bar for i32 { fn dup(&self) -> i32 { *self } fn blah<X>(&self) {} }
impl bar for u32 { fn dup(&self) -> u32 { *self } fn blah<X>(&self) {} }
fn main() {
10.dup::<i32>(); //~ ERROR does not take type parameters
10.blah::<i32, i32>(); //~ ERROR incorre... |
"""
This is a middleware to respect robots.txt policies. To activate it you must
enable this middleware and enable the ROBOTSTXT_OBEY setting.
"""
import re
from reppy.cache import RobotsCache
from scrapy import signals, log
from scrapy.exceptions import NotConfigured, IgnoreRequest
from scrapy.http import Request
f... |
package forklift.activemq.test;
import forklift.Forklift;
import forklift.connectors.ActiveMQConnector;
import org.apache.activemq.broker.BrokerService;
import org.apache.commons.io.FileUtils;
/**
* Contains all of the necessary connection management code that tests
* need in order to run against the activemq broke... |
package com.alarm.alarmweb.demo.spring.conditional;
public class WindowsListService implements ListService {
@Override
public String showListCmd() {
return "dir";
}
}
|