answer stringlengths 15 1.25M |
|---|
\author AMD Developer Tools Team
\file <API key>.cpp
// Infra:
#include <AMDTBaseTools/Include/gtAssert.h>
#include <AMDTOSWrappers/Include/osProcess.h>
#include <AMDTOSWrappers/Include/osDebugLog.h>
#include <AMDTOSWrappers/Include/osStringConstants.h>
// Local:
#include <AMDTServerUtilities/Include/<API key>.h>
#incl... |
package brdgme
// CommandResponse is data relating to a successful command.
type CommandResponse struct {
Logs []Log
CanUndo bool
Remaining string
}
type Status struct {
Active *StatusActive `json:",omitempty"`
Finished *StatusFinished `json:",omitempty"`
}
type StatusActive struct {
... |
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
namespace GuySerializer.Properties
{
[global::System.Runtime.CompilerServices.<API key>()]
[global::System.CodeDom.Compi... |
category: Components
type: Data Display
title: Icon
subtitle:
SVG ([ svg iconfont](https://github.com/ant-design/ant-design-mobile/wiki/Why-use-svg-icon))
:
- `-o` `question-circle`() `question-circle-o`()
- `[icon]-[]-[]-[]`
## (WEB )
.
sh
npm install svg-sprite-loader -D
> Tip: [svg-sprite-loader](https://gith... |
/**
* Definition for singly-linked list.
* public class ListNode {
* int val;
* ListNode next;
* ListNode(int x) { val = x; }
* }
*/
public class Solution {
public ListNode deleteDuplicates(ListNode head) {
ListNode rHead = null;
ListNode rTail = null;
ListNode vHead = hea... |
package org.jabref.gui.util;
import java.util.Arrays;
import java.util.Collection;
import javafx.geometry.Pos;
import javafx.scene.Node;
import javafx.scene.control.Label;
import javafx.scene.control.Tooltip;
import org.jabref.gui.icon.IconTheme;
import org.controlsfx.control.decoration.Decoration;
import org.controlsf... |
package seedu.address.model;
import java.util.Comparator;
import java.util.Optional;
import seedu.address.commons.exceptions.<API key>;
import seedu.address.model.ModelManager.<API key>;
import seedu.address.model.filter.TaskPredicate;
import seedu.address.model.task.DeadlineTask;
import seedu.address.model.task.EventT... |
require 'spec_helper'
module RSpec
module Given
DESCRIBE_LINE = __LINE__
describe FileCache do
Given(:file_name) { __FILE__ }
Given(:cache) { FileCache.new }
When(:result) { cache.get(file_name) }
context "when reading the file" do
Then { result[DESCRIBE_LINE].should =~ /descri... |
using System;
using System.Collections;
using uScoober.Extensions;
namespace uScoober.TestFramework.Assert
{
public static class ShouldExtensions
{
private const string ActualOutOfElements = "Actual Out Of Elements";
private const string <API key> = "Expected Out Of Elements";
public sta... |
layout: post
title: LeetCode | Trapping Rain Water in Python
categories: LeetCode
tags: Python
<!-- import js for mathjax -->
<script src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=default"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']... |
var extensionLinker = require('./services/extensionLinker');
function BootstrapServices(){
}
module.exports = BootstrapServices; |
package com.lasarobotics.library.util;
/**
* 3D Vector : Immutable
*/
public class Vector3<T> {
public final T x;
public final T y;
public final T z;
public static class Builder<T> {
private T x, y, z;
public Builder<T> x(T n) {
this.x = n;
return this;
... |
#include <QApplication>
#include "paymentserver.h"
#include "guiconstants.h"
#include "ui_interface.h"
#include "util.h"
#include <QByteArray>
#include <QDataStream>
#include <QDebug>
#include <QFileOpenEvent>
#include <QHash>
#include <QLocalServer>
#include <QLocalSocket>
#include <QStringList>
#if QT_VERSION < 0x050... |
<link rel="import" href="../polymer/polymer.html">
<link rel="import" href="file-fire-behavior.html">
<dom-module id="file-fire">
<template>
<style>
:host {
display: block;
}
</style>
<template is="dom-if" if="{{showInputs}}">
<template is="dom-if" if="{{onlyImages}}">
/**
* A... |
# <API key>: true
module KubernetesHelpers
include Gitlab::Kubernetes
NODE_NAME = "<API key>"
def kube_response(body)
{ body: body.to_json }
end
def kube_pods_response
kube_response(kube_pods_body)
end
def nodes_response
kube_response(nodes_body)
end
def <API key>
kube_response(nodes_m... |
# This file is part of Indico.
# Indico is free software; you can redistribute it and/or
from marshmallow import fields
from indico.core.marshmallow import mm
from indico.modules.events.sessions.models.blocks import SessionBlock
from indico.modules.events.sessions.models.sessions import Session
class SessionBlockSchema... |
<?php
if (isset($this->session->userdata['logged_in'])) {
$username = ($this->session->userdata['logged_in']['username']);
$email = ($this->session->userdata['logged_in']['email']);
$tipouser = 'Administrador';
$id_user = ($this->session->userdata['logged_in']['id']);
} else {
redirect(base_url());
... |
def format_money(amount):
# your formatting code here
return '${:.2f}'.format(amount) |
function <API key>({ appId, apiKey }) {
sessionStorage.setItem('placesAppId', appId);
sessionStorage.setItem('placesApiKey', apiKey);
}
function <API key>() {
const appId = sessionStorage.getItem('placesAppId');
const apiKey = sessionStorage.getItem('placesApiKey');
if (appId && apiKey) {
return { appId, ... |
#ifndef LAYOUTPLANETUNITS_H
#define LAYOUTPLANETUNITS_H
#include "Gui3d/WindowLayout.h"
class LayoutPlanetUnits : public WindowLayout
{
public:
<API key>();
// Construction
LayoutPlanetUnits();
// NodeInterfaceClient interface
void onActivate();
void onDeactivate();... |
#include "C:\Factory\Common\all.h"
#include "Define.h"
static void DoSendBit(uint bit)
{
uint evReady = eventOpen(EV_READY);
uint evBit_0 = eventOpen(EV_BIT_0);
uint evBit_1 = eventOpen(EV_BIT_1);
int result;
if(handleWaitForMillis(evReady, 5000))
{
if(bit)
eventSet(evBit_1);... |
{% extends "pbase.html" %}
{% block sidebar %} <style type="text/css"> </style> {% endblock %}
{% block content %}
<style type="text/css">
.main { margin-left: 25px; margin-top: 30px; }
.title {
font-size: 1.4em; margin-top: 20px; border-bottom: 1px solid #ccc;
padding-left: ... |
package com.witchworks.common.block.natural.crop;
import com.witchworks.common.lib.LibBlockName;
import net.minecraft.block.Block;
import net.minecraft.block.state.IBlockState;
import net.minecraft.init.Blocks;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
import java.util.Random;
public cl... |
<HTML><HEAD>
<TITLE>Review for Maverick (1994)</TITLE>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0110478">Maverick (1994)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/ReviewsBy?Dragan+Antulov">Dragan Ant... |
# MyFirstGitHubTest
this is my first repository for testing
testing possibilities |
'use strict';
const validation_schema = require('removals_schema').event;
const service = require('../../../api/services/<API key>');
describe('UNIT <API key>', function () {
let <API key>;
before(() => {
<API key> = global.<API key>;
global.<API key> = {
validate: sinon.stub()
};
service.vali... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_102) on Mon Jan 16 20:13:07 PST 2017 -->
<title>ComputeTax</title>
<meta name="date" content="2017-01-16">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src=... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Mount Diablo</title>
<meta name="description" content="Mt Diablo is one of the highest points in San Francisco Bay Area. On... |
<?php
class Message
{
public static function sendToConversation($accessToken, $opt)
{
$response = Http::post("/message/<API key>",
array("access_token" => $accessToken),
json_encode($opt));
return $response;
}
public static function send($accessToken, $opt)
{
... |
using System.IO;
namespace ExperimentalTools.Roslyn.Features.TypeDeclaration
{
internal static class NameHelper
{
public static string RemoveExtension(string documentName) => Path.<API key>(documentName);
public static string AddExtension(string documentName) => $"{documentName}.cs";
}
} |
namespace _04.WorkingWithData.Web.ViewModels
{
public class TagViewModel
{
public string Name { get; set; }
}
} |
<?php
/* @Twig/base_js.html.twig */
class <API key> extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
);
}
protected function doDisplay(array $context, array $blocks = arra... |
package tie.hackathon.travelguide;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import and... |
<h1>
{{title}}
</h1>
<nav>
<a routerLink="/dashboard" routerLinkActive="active">Dashboard</a>
<a routerLink="/heroes" routerLinkActive="active">Heroes</a>
</nav>
<router-outlet></router-outlet> |
import React, {Component} from 'react';
import DataActions from '../actions/dataActions';
import DataStore from '../stores/dataStore';
import {Table, TableBody, TableHeader, TableHeaderColumn, TableRow, TableRowColumn} from 'material-ui/Table';
import '../css/categoryPage.css';
export default class ValueSeriesItems ext... |
// Ver.2.0.0
enum <API key> : int {
<API key> = 0,
<API key>,
};
#ifdef __OBJC__
#import <CoreLocation/CoreLocation.h>
#import <Foundation/Foundation.h>
@interface EposEasySelectInfo : NSObject
@property (assign, nonatomic, readonly) int deviceType;
@property (strong, nonatomic, readonly) NSString *printerName... |
using System;
using System.Linq;
using System.Threading.Tasks;
using GitNStats.Core;
using LibGit2Sharp;
namespace GitNStats
{
public enum Result
{
Success = 0,
Failure = 1
}
public class Controller
{
private readonly View _view;
private readonly FileSystem _fileSyste... |
import React,{Component} from 'react'; |
var ripple = require('ripple');
var template = require('./index.html');
var Logo = ripple(template);
module.exports = new Logo(); |
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
# all copies or substantial port... |
- : 1864-261-4639
- Email: ci_knight@msn.cn
- Wechat: ci_knight
- : [](https:
- //1994
- / (``````)
- : 1
- : [blog.ibeats.top](http://blog.ibeats.top)
- Github: [ciknight](https://github.com/ciknight)
- : /
- : (Web)
- : 11k~18k
- : ,,
## () (201412 ~ 20154)
__:__ ,ServerBug,H5..
> ,PythonDjango,.H5api.
uWsgi+Nginx.
>... |
C $Header$
C $Name$
C
CBOP
C !ROUTINE: RECIP_DYG_MACROS.h
C !INTERFACE:
C include RECIP_DYG_MACROS.h
C !DESCRIPTION: \bv
C *==========================================================*
C | RECIP_DYG_MACROS.h
C *==========================================================*
C | These macros are u... |
package exercise02;
public class Triangle implements Polygon
{
private Point[] vertices;
public Triangle(Point p1, Point p2, Point p3) {
vertices = new Point[] { p1, p2, p3 };
}
@Override
public Point[] allVertexes() {
return vertices;
}
@Override
public double perimeter(... |
# Joules
# @description: Module for providing circular motion formulas
# Circular motion module (circular_motion.rb)
module Joules
module_function
# @!group Circular Motion Methods
# Calculates the angular velocity given linear velocity and radius.
# @param linear_velocity [Int, Float]
# linear_velocity is ... |
# Change Log
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased]
## [1.3.5]
- Added 'availableToServe' to BackupRecord DTO
- Added 'status' to TCPool profile DTO
- Improved the testing steps used latest `go 1.14` and `go... |
import { bookshelfSlugPlugin } from "./../lib/plugin";
import Bookshelf from "bookshelf";
import { PluginSettings } from "./../lib/interfaces";
import chai from "chai";
import { knex } from "./database";
import faker from "faker";
let expect = chai.expect;
const createPostModel = (settings: PluginSettings = {}) => {
... |
layout: default
<div id="home" class="page-content wc-container">
<div class="posts">
{% for post in site.posts limit:10 %}
<div class="post">
<h3 class="post-title">
<a href="{{ post.url | prepend: site.baseurl | prepend: site.url }}">
{... |
<?php
class Hana_Router
{
protected $project = array();
protected $module = array();
protected $settings = array();
protected $structure = array();
protected $projectSet = array();
protected $params = array();
protected $moduleSet = array();
public function __construct(){
$settin... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title></title>
<style>
div {
width: 200px;
height: 200px;
background-color: #58a;
}
</style>
</head>
<body>
<div id="ad">
</div>
<script>
... |
<?php
declare(strict_types=1);
namespace Windwalker\Utilities\Cache;
/**
* The RuntimeCacheTrait class.
*/
trait RuntimeCacheTrait
{
protected static array $cacheStorage = [];
protected static function cacheGet(string $id)
{
return static::$cacheStorage[$id] ?? null;
}
protected static fun... |
[ of scanners an... |
package com.azure.spring.integration.eventhub.impl;
import com.azure.spring.cloud.context.core.util.Tuple;
import com.azure.spring.integration.core.api.PartitionSupplier;
import com.azure.spring.integration.eventhub.api.<API key>;
import com.azure.spring.integration.eventhub.api.EventHubRxOperation;
import org.springfr... |
'use strict';
// imports
import { Component, EventEmitter, Input, Output } from '@angular/core';
import {Device} from './../util/device.class';
import {LatLng} from './../core/latlng.model';
import {LocationService} from './../locationsearch/location.service';
import {preferences} from './../app.mod... |
package at.rags.morpheus;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.junit.Before;
import org.junit.Test;
import org.mockito.ArgumentCaptor;
import org.mockito.Matchers;
import org.mockito.Mockito;
import java.lang.reflect.Array;
import java.lang.reflect.Field;
impo... |
'use strict';
const immutable = require('immutable');
module.exports = immutable.fromJS({
renderer: {
backgroundColor: 0x061639,
autoResize: true,
width: 640,
height: 480
}
}); |
function problem1() {
var answer,
inputInteger,
odd,
outputField;
inputInteger = document.getElementById('problem-1').value;
console.log('Problem 1');
answer = (inputInteger & 1) === 1 ? 'odd' : 'even';
console.log(inputInteger + ' is: ' + answer);
console.log('\n');
... |
using System;
using System.Globalization;
using System.Linq;
using System.Net;
using Microsoft.Extensions.Configuration;
using NBitcoin;
namespace BTCPayServer.Configuration
{
public static class <API key>
{
public static T GetOrDefault<T>(this IConfiguration configuration, string key, T defaultValue)
... |
layout: post
published: true
title: How OmniFocus controls my life
At this point it's pretty fair to say that [OmniFocus][of] rules my life. I've
started to really take GTD seriously about 2 years ago. I had tried a lot of
different task managers before of course. I loved [Things][things] when it
originally came out as... |
@media (--viewport-max-s) {
body {
font-size: 1rem;
}
} |
// Regex.h
// Outlander
#import <Foundation/Foundation.h>
@interface Regex : NSObject
+(NSArray<<API key> *> *) matchesForString:(NSString *)value with:(NSString *)pattern;
@end |
<?
# file name: header.php
# purpose: header for each .php page
# created: June 2011
# authors: Don Franke
# Josh Stevens
# Peter Babcock
?>
<table width="100%" class="header">
<tr>
<td align="left" valign="middle"><a href=index.php><img
src="images/... |
# Tests for the preprocessor.
require 'test_helper'
# publicize the private methods so we can test them easily
class C::Preprocessor
public :full_command
end
class PreprocessorTest < Minitest::Test
attr_accessor :cpp
def setup
@cpp = C::Preprocessor.new(quiet: true)
@cpp.include_path << 'dir1' << 'dir 2'
... |
// <auto-generated>
// This code was generated from a template.
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
namespace U413.Domain.Entities
{
using System;
using Syst... |
<table width="90%" border="0"><tr><td><script>function openfile(url) {fullwin = window.open(url, "fulltext", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");}</script><div class="layoutclass_pic"><div class="<API key>"><table class="ztable"><tr><th class="ztd1"><b> </b></... |
import { TestBed, inject, async } from '@angular/core/testing';
import RestClient from 'another-rest-client';
import { RestApiService } from '../../rest-api/rest-api.service';
import { <API key> } from './<API key>.service';
class RestClientMock {
public res: any;
public panel: any;
public common: any;
}
cl... |
import {
Component,
OnInit,
ViewEncapsulation,
Input,
Output,
EventEmitter
} from '@angular/core';
@Component({
selector: 'app-header',
encapsulation: ViewEncapsulation.None,
//styleUrls: ['/header.scss'],
templateUrl: './header.html'
})
export class HeaderComponent {
@Input() logoTitle: string = ... |
#ifndef BITCOIN_MAIN_H
#define BITCOIN_MAIN_H
#include "bignum.h"
#include "net.h"
#include "key.h"
#include "script.h"
#include "db.h"
#include <list>
class CBlock;
class CBlockIndex;
class CWalletTx;
class CWallet;
class CKeyItem;
class CReserveKey;
class CWalletDB;
class CAddress;
class CInv;
class CRequestTracker;
... |
<?php
include_once('../src/SVGCreator/Element.php');
include_once('../src/SVGCreator/SVGException.php');
include_once('../src/SVGCreator/Elements/Rect.php');
include_once('../src/SVGCreator/Elements/Group.php');
include_once('../src/SVGCreator/Elements/Svg.php');
include_once('../src/SVGCreator/... |
/*!
** @file EInt1.c
** @version 01.02
** @brief
** This component, "ExtInt_LDD", provide a low level API
** for unified access of external interrupts handling
** across various device designs.
** The component uses one pin which generates interrupt on
** selected edge.
*/
/*!
**... |
# -*- coding: utf-8 -*-
# Generated by Django 1.9.4 on 2016-03-23 04:59
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('blog', '<API key>'),
]
operations = [
migrations.AddField(
model_name... |
angular.module('noTeRayesCoApp', [])
.controller('mainCtrl', ['$scope', '$http', '$interval', function ($scope, $http, $interval) {
// True if Pilars have started
$scope.pilares = false;
$scope.days = 000;
$scope.hours = 00;
$scope.minutes = 00;
$scope.seconds = 00;
... |
<?php
namespace CandyCMS\Core\Models;
use CandyCMS\Core\Helpers\AdvancedException;
use CandyCMS\Core\Helpers\Helper;
use CandyCMS\Core\Helpers\Pagination;
use PDO;
class Sessions extends Main {
/**
* Fetch all user data of active session.
*
* @static
* @access public
* @return array $aResult user data
... |
<?php
use ByJG\Util\Psr7\StreamBase;
use PHPUnit\Framework\TestCase;
require_once __DIR__ . "/StreamBaseTest.php";
class FileStreamTest extends StreamBaseTest
{
const FILENAME = "/tmp/filestream-test.txt";
/**
* @param $data
* @return StreamBase
*/
public function getResource($data)
{
... |
export { default as a, b, c as d } from 'e';
export * from 'f'; |
/*
* Webpack development server configuration
*
* This file is set up for serving the webpack-dev-server, which will watch for changes and recompile as required if
* the subfolder /webpack-dev-server/ is visited. Visiting the root will not automatically reload.
*/
'use strict';
var webpack = require('webpack');
mo... |
package jmb.jcortex.trainers;
import jmb.jcortex.data.SynMatrix;
import org.junit.Test;
import java.util.Arrays;
import java.util.List;
import static org.assertj.core.api.Assertions.assertThat;
public class <API key> {
@Test
public void <API key>() {
List<SynMatrix> nodeValues = Arrays.asList(
... |
from datetime import timedelta
import time
from pypi_portal.core.email import send_email, send_exception
from pypi_portal.extensions import mail, redis
def raise_and_send():
with mail.record_messages() as outbox:
try:
raise ValueError('Fake error.')
except ValueError:
send_ex... |
Expect the practicioner to be alert,motivated and capable of judgement
Galactic modeling language
there is a difference between wandering at random and real exploring
without direction or purpose... you'll be lost
Chapter 1
recognize a risk and turn that into a question to be answered
we always find the most serious bu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Server.RDungeons {
public class DungeonArrayRoom {
public int Opened { get; set; }
public int StartX { get; set; }
public int StartY { get; set; }
public int EndX { get; set; }
pub... |
import { stateTypes } from '../util';
export default function() {
return {
types: ['transition'],
exit: function(node) {
var data = node.data;
data.onTransition = (data.onTransition || []).concat(node.children);
node.children = [];
return node;
}
};
}; |
package fr.bmartel.pcapdecoder.structure.types.inter;
public interface IPacketBlock {
int getInterfaceId();
int getDropsCount();
Long getMillis();
int getCaptureLength();
int getPacketLength();
byte[] getPacketData();
byte[] getOptionsData();
} |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml... |
[World Wide Web Consortium][0][World Wide Web Consortium][0][Hammerdown][1]
[0]: http:
[1]: http://hammerdown.com./ |
# zscroller
dom scroller based on [zynga scroller](https://zynga.github.io/scroller/)
[![NPM version][npm-image]][npm-url]
[![gemnasium deps][gemnasium-image]][gemnasium-url]
[![node version][node-image]][node-url]
[![npm download][download-image]][download-url]
[npm-image]: http://img.shields.io/npm/v/zscroller.svg?st... |
using BinDeps
using Compat
using Compat.Sys: iswindows, isapple, isunix
@BinDeps.setup
version = "3370"
baseurl = "ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/"
if isunix()
archivename = "cfitsio$(version).tar.gz"
elseif iswindows()
archivename = "cfitsio_MSVC_$(Sys.WORD_SIZE)bit_DLL_$(version).zip"
end
libcf... |
require 'rubygems'
require 'bundler'
begin
Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
$stderr.puts e.message
$stderr.puts "Run `bundle install` to install missing gems"
exit e.status_code
end
require 'test/unit'
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOA... |
layout: post
title: CentOS5.4LAN
categories:
- Cent OS
- Lavie M
tags:
- AirStation
- WPA
- "LAN"
status: publish
type: post
published: true
meta:
_edit_last: '2'
_wp_old_slug: a
author:
login: yokoshima
email: k.yokoshima@gmail.com
display_name: yokoshima
first_name: ''
last_name: ''
<p><a href="lavie-m%... |
from azure.iot.modelsrepository import (
<API key>,
<API key>,
<API key>,
)
from azure.core.exceptions import (
<API key>,
ServiceRequestError,
<API key>,
HttpResponseError,
)
import pprint
dtmi = "dtmi:com:example:<API key>;1"
dtmi2 = "dtmi:com:example:<API key>;2"
# By default the clients ... |
using System;
using System.Collections.Generic;
using Jison;
namespace Sheet
{
public class Expression : ParserValue
{
public bool ValueSet = false;
public string Type;
public bool BoolValue;
public double DoubleValue;
public List<Expression> Children;
public Expr... |
import {BotConfig} from './bot-config.model';
/**
* Tests the BotConfig model behaves as expected.
*
* @author gazbert
*/
describe('BotStatus model tests', () => {
it('should have correct initial values', () => {
const bot = new BotConfig('gdax-1', 'GDAX Bot', 'https://jakku.com/api/v1', 'rey', 'force')... |
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Language" content="en">
<meta name="author" content="Sanjeev Kumar Pandit">
<meta name="description" content="My personal website">
<m... |
package se.atg.sam.ui.rest;
import javax.ws.rs.client.Client;
import javax.ws.rs.client.WebTarget;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import org.junit.Assert;
import org.junit.Test;
import com.google.inject.Inject;
import com.google.inject.name.Named;
import se.atg.sam.model.auth.User;... |
<div class="row">
<div class="container">
<div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">
</div>
<div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
<table class="table table-responsive table-hover">
<thead>
<tr>
<th colspan... |
import { getPkgReleases } from '..';
import * as httpMock from '../../../test/http-mock';
import { getName } from '../../../test/util';
import * as _hostRules from '../../util/host-rules';
import * as github from '.';
jest.mock('../../util/host-rules');
const hostRules: any = _hostRules;
const githubApiHost = 'https://... |
if (!linz) {
var linz = {};
}
(function () {
var adminPath;
$(document).ready(function () {
// add form validation
$('form[<API key>="true"]').bootstrapValidator({});
// add delete prompt
$('[data-linz-control="delete"]').click(function () {
if ($(this).attr('dat... |
#!/usr/bin/env python3
# Create training sets. This short function does nothing
import csv, os, sys, random
from collections import Counter
import numpy as np
import pandas as pd
# import utils
currentdir = os.path.dirname(__file__)
libpath = os.path.join(currentdir, '../lib')
sys.path.append(libpath)
import SonicScrew... |
package ch.jalu.injector.testing.extension;
import ch.jalu.injector.Injector;
import ch.jalu.injector.InjectorBuilder;
import ch.jalu.injector.handlers.Handler;
import ch.jalu.injector.handlers.postconstruct.<API key>;
import ch.jalu.injector.testing.InjectDelayed;
import ch.jalu.injector.utils.ReflectionUtils;
import ... |
import { Component } from '@angular/core';
import {NavController, NavParams} from 'ionic-angular';
import { player } from '../../models/player';
import {AngularFireDatabase, <API key>, <API key>} from 'angularfire2/database';
import {stringify} from "@angular/core/src/util";
import 'rxjs/add/operator/take';
@Component(... |
var expect = require('chai').expect;
describe('data adapter', function() {
it('should throw error if data adapter does not pass interface checker', function*() {
var err = "The passed in data adapter has the following issue:"
+ "\nMissing insert method"
+ "\nMissing bulkInsert method"
+ "\nMissing upd... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.