answer
stringlengths
15
1.25M
// ver 1.1 #include<iostream> #include<sstream> #include<string> #include<fstream> #include<cmath> #include<iomanip> #include<stdlib.h> #include "main.h" #include "readindata.h" #include "arsenal.h" #include "ParameterReader.h" #include "Table.h" using namespace std; read_FOdata::read_FOdata(ParameterReader* paraRdr_in...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Pemeriksaan extends CI_Controller { function __construct(){ parent::__construct(); } public function index(){ if ($this->session->userdata('logged_in')) { $data['pasien'] = $this->Model_pemeriksaan->selec...
import { createValidator } from 'utils/validatorCompiler'; const constraints = { email: { presence: true, email: true, }, password: { presence: true, } }; export default createValidator(constraints);
game.PlayerBaseEntity = me.Entity.extend({ init: function(x, y, settings) { this._super(me.Entity, 'init', [x, y, { image: "tower", width: 100, height: 100, spritewidth: "100", spriteheight: "100", getShape: func...
using System; class NumbersFromOneToN { static void Main() { int number = int.Parse(Console.ReadLine()); for (int i = 1; i <= number; i++) { Console.Write("{0} ", i); } Console.WriteLine(); } }
// [bundle remove start] <reference path="<API key>.d.ts" /> // [bundle remove end] // Type definitions for Arcady AutoMapper.js ${libraryVersion} declare module <API key> { /** * AutoMapper implementation, for both creating maps and performing maps. Comparable usage and functionality to the original * .N...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class <API key> extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('estados', function($table) { $table->incremen...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Ion_auth { /** * account status ('not_activated', etc ...) * * @var string **/ protected $status; /** * extra where * * @var array **/ public $_extra_where = array(); /** * ...
# -*- coding: utf-8 -*- require File.expand_path('../../test_helper', __FILE__) module Peakium class SubmissionFormTest < Test::Unit::TestCase should "create should return a new submission form" do @mock.expects(:post).once.returns(test_response(<API key>)) sf = Peakium::SubmissionForm.build('create_s...
/** * Get the Microsoft Stream id. * @param {string} urlString - the url from which you want to extract the id * @returns {string|undefined} */ export default function microsoftStream(urlString) { const regex = (urlString.includes('embed')) ? /https:\/\/web\.microsoftstream\.com\/embed\/video\/([a-zA-Z\...
#!/usr/bin/perl use strict; use warnings; package WWW::Shopify::Tooltips; use WWW::Shopify; use Exporter qw(import); my $tooltips = { 'WWW::Shopify::Model::FulfillmentService' => { '<API key>' => 'States if the fulfillment service tracks product invento...
<!DOCTYPE html PUBLIC "- <html xmlns="http: <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.13"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>bit by bit: Class Hie...
#!/usr/bin/env python import optparse import sys from kimpira.core import Runtime from kimpira.version import get_version def parse_args(): usage = "usage: %prog [options] <jobfile>" p = optparse.OptionParser(usage) p.add_option('-V', '--version', action='store_true', dest='show_version', default=False, hel...
<?php namespace EBC\PublisherClient\PublisherList; class PublisherList { /** * @var string */ protected $id; /** * @var string */ protected $name; /** * @var string */ protected $description; /** * @var array */ protected $interests; /** *...
<!DOCTYPE HTML PUBLIC "- <!--NewPage <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_34) on Wed Oct 23 13:33:50 EDT 2013 --> <TITLE> org.hibernate.ejb.packaging (Hibernate JavaDocs) </TITLE> <META NAME="date" CONTENT="2013-10-23"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Sty...
module PartialRecordSel where -- Partial record selectors use 'error' in the output (which is undefined) -- Would be better to use 'panic' (or be able to skip them entirely). data R = R1 { a :: Bool } | R2 { b :: Bool }
class CreateLocations < ActiveRecord::Migration def change create_table :locations do |t| t.string :code, null: false t.string :name, null: false end end end
<?php namespace Bun\Core\Config\Test\Container; use Bun\Core\Container\Container; use Bun\Core\Tests\AbstractTest; use Bun\Core\Tests\TestDependency1; use Bun\Core\Tests\TestDependency2; use Bun\Core\Tests\TestService; /** * Class ContainerTest * * @package Bun\Core\Config\Test\Container */ class ContainerTest exte...
#coding = utf-8 import sys from File import File from Execute import Execute def test(): isKeep = True dstFileName = None argsLen = len(sys.argv) if argsLen < 2: sys.exit() if argsLen >= 3: if sys.argv[2].startswith('-nk'): isKeep = False if argsLen > 3: ...
layout: single title: "" date: 2018-09-12 21:30:00 +0800 categories: [Leetcode] tags: [Array, Simulation] permalink: /problems/<API key>/ ## 985. (Medium) {% raw %} <p>&nbsp;<code>A</code>&nbsp;&nbsp;<code>queries</code></p> <p>&nbsp;<code>i</code>&nbsp;&nbsp;<code>val =&nbsp;queries[i][0], index...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>lists</title> </head> <body> <table> <tr id = "container"> </tr> </table> <iframe src="/vanguard.html"></iframe> </body> <style> ifram...
<html><body> <h4>Windows 10 x64 (18363.592)</h4><br> <h2><API key></h2> <font face="arial"> +0x000 Flags : <a href="./<API key>.html"><API key></a><br> +0x000 FileOffset : Uint8B<br> +0x000 VirtualAddress : Ptr64 Void<br> +0x000 PointerProtoPte : Ptr64 Void<br> </font></body></html>
Public Class TimerClass Dim _TargetTimeString As String Public Enum TimePeriod Daily Hourly End Enum Public ReadOnly Property GetInterval() As Integer Get Return DateDiff(DateInterval.Second, Now, get_Next_ImportDate) * 1000 End Get End Property Public...
<nav id="breadcrumb"> <ul class="list-inline"> <li class="item"> <i ng-class="{ 'icon-sitemap': ! isSearching(), 'icon-search': isSearching() }"></i> <a ui-sref="app.projects({ path: 'all' })" title="{{ 'ACCESS_TO' | translate: { item: item.name } }}" ng-if="! isEmpty() && ! isSearch...
#ifndef ION_ALLOCATORS_H #define ION_ALLOCATORS_H #include "support/cleanse.h" #include <map> #include <string> #include <string.h> #include <boost/thread/mutex.hpp> #include <boost/thread/once.hpp> /** * Thread-safe class to keep track of locked (ie, non-swappable) memory pages. * * Memory locks do not stack, that ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Media; using System.Windows.Media.Animation; namespace ModernWPF { <summary> Quick utility for doing simple ad-hoc animations. </summary> public...
<?php namespace Oro\Bundle\AttachmentBundle\Provider; use Oro\Bundle\EntityConfigBundle\Config\ConfigInterface; /** * Provides an interface for classes that can be used to get attachment entity config. */ interface <API key> { /** * @param string $entityClass * @param string $fieldName * @return Co...
<?php namespace Ndewez\WebHome\CommonBundle\Menu; use Ndewez\WebHome\CommonBundle\Model\MenuItem; use Ndewez\WebHome\CommonBundle\Model\MenuItemDivider; use Symfony\Bundle\FrameworkBundle\Routing\Router; /** * Class BuilderMenu. */ class BuilderMenu { /** @var Router */ private $router; /** * @param ...
import React from 'react' import {createDevTools} from 'redux-devtools' import LogMonitor from '<API key>' import DockMonitor from '<API key>' export default createDevTools( <DockMonitor toggleVisibilityKey="ctrl-h" changePositionKey="ctrl-w" > <LogMonitor /> </DockMonitor> )
#!/bin/sh # CYBERWATCH SAS - 2017 # Security fix for USN-2958-1 # Operating System: Ubuntu 14.04 LTS # Architecture: x86_64 # - poppler-utils:0.24.5-2ubuntu4.4 # - libpoppler-qt4-4:0.24.5-2ubuntu4.4 # - libpoppler44:0.24.5-2ubuntu4.4 # - libpoppler-glib8:0.24.5-2ubuntu4.4 # - libpoppler-cpp0:0.24.5-2ubuntu4.4...
{{-- Delete Image --}} @can('delete', $image) <div style="display: flex; flex-direction: row-reverse;"> <button class="btn btn-danger deleteBtn" data-toggle="modal" data-target="#deleteConfirmModal" data-message="{{ __('images.show.delete_confirm') }}" ...
import Promise from 'bluebird' import { merge } from 'ramda' import runTest from '../../test/runTest' test('client.user.create', () => runTest({ connect: { api_key: 'foobar', }, subject: client => client.user.create({ email: 'foo@bar.com', password: 'ilovememes', invite_<API key>, ...
window.c.root.Team = (function(m, c) { return { view: function() { return m('#static-team-app', [ m.component(c.TeamTotal), m.component(c.TeamMembers) ]); } }; }(window.m, window.c));
$stream = file_get_contents('AluminiumLAST.txt'); $avgp = "0.09"; $high = "0.10"; $low = "0.09"; echo "&L=".$stream."&N=Aluminium&"; $temp = file_get_contents("AluminiumTEMP.txt", "r"); if ($stream != $temp ) { $mhigh = ($avgp + $high)/2; $mlow = ($avgp + $low)/2; $llow = ($low - (($avgp - $low)/2)); $hhigh = ($high ...
<?php include_once("conexion.php"); // Rellenar la tabla para el reporte $quer0 = "DELETE FROM repbonoafiliacion WHERE 1"; $resul0 = mysql_query($quer0,$link); $query = "SELECT * FROM patrocinio order by patroc_codigo,tit_codigo"; $result = mysql_query($query,$link); $txt = ""; while($row = mysql_fetch_array($result)) ...
task default -depends Test task Test -depends Compile, Clean -PreAction {"Pre-Test"} -Action { "Test" } -PostAction {"Post-Test"} task Compile -depends Clean { "Compile" } task Clean { "Clean" }
package nl.q42.jue; import java.util.ArrayList; import java.util.Date; /** * Collection of updates to a schedule. */ public class ScheduleUpdate { private ArrayList<Command> commands = new ArrayList<Command>(); String toJson() { StringBuilder json = new StringBuilder("{"); for (int i = 0; i < ...
<?php namespace FurryBear\Http\Adapter; use FurryBear\Common\Exception\NoResultException, FurryBear\Proxy\Curl as CurlProxy, FurryBear\Http\<API key>; class Curl implements <API key> { /** * The contents of the <code>"User-Agent: "</code> header to be used in a * HTTP request. * * @var s...
package se.chriskevin.mysterymaze.environment; import se.chriskevin.mysterymaze.animation.AnimationState; import se.chriskevin.mysterymaze.animation.Direction; import se.chriskevin.mysterymaze.behavior.Actor; import se.chriskevin.mysterymaze.behavior.Behavior; import javax.imageio.ImageIO; import java.awt.*; import jav...
package cassandra import com.datastax.spark.connector.cql.CassandraConnector import com.datastax.spark.connector.{SomeColumns, _} import org.apache.spark.SparkConf import scala.collection.immutable.HashMap import scala.util.Random object CassandraOperations { def createKeyspace(sparkConf: SparkConf, map: HashMap[Stri...
<?php use yii\db\Schema; use yii\db\Migration; class <API key> extends Migration { public function safeUp() { $this->createTable('cms_block', [ 'id' => $this->primaryKey(), 'group_id' => $this->integer(11)->notNull(), 'class' => $this->string(255)->notNull(), ...
#!/usr/bin/env python import math amicable_numbers = list() def d(n): sum_of_divisors = 1 # since 1 is always a divisor, no need to check for possible_divisor in range(2, math.floor(math.sqrt(n)) + 2): if n%possible_divisor == 0: sum_of_divisors += possible_divisor sum_of_divisors += int(n/possible_...
// <API key>.h // QRCodeScanDemo #import <UIKit/UIKit.h> @interface <API key> : UIViewController @end
#ifndef h2o__time_h #define h2o__time_h #include <time.h> #if defined( __cplusplus) && !defined(__c_as_cpp) extern "C" { #endif #define <API key> (sizeof("Sun, 06 Nov 1994 08:49:37 GMT") - 1) #define H2O_TIMESTR_LOG_LEN (sizeof("29/Aug/2014:15:34:38 +0900") - 1) /** * builds a RFC-1123 style date string */ void <API ...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Scottish Ruby Conference</title> <meta name="author" content="raesene"> <!-- Enable responsive viewport --> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- Le HTML5 shim, for IE6-8 support of HTML elements --...
require 'spec_helper' RSpec.describe <API key> do describe "validations" do it { should <API key>(:name) } it { should <API key>(:email) } it { should <API key>(:presentation_theme) } it { should <API key>(:presentation_title) } it { should <API key>(:<API key>) } it { should <API key>(:<API k...
// ==UserScript== // @name Java 7 Documentation Redirect // @description Redirects to the Java SE 7 documenation from older pages.
<?php namespace Acme\UserBundle\DataFixtures\ORM; use Acme\UserBundle\Entity\User; use Doctrine\Common\DataFixtures\Doctrine; use Doctrine\Common\DataFixtures\FixtureInterface; use Doctrine\Common\Persistence\ObjectManager; class LoadUserData implements FixtureInterface{ function load(ObjectManager $manager) { ...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); require(APPPATH.'libraries/api/T_API_Controller.php'); /** * * The Login Controller/Endpoint * * @uses API Controller * @package CodeIgniter * @subpackage Libraries * @category Libraries * @author ...
<?php use Docit\Core\Extensions; $index = Route::get('/', ['as' => 'docit.index', 'uses' => 'DocitController@index']); $document = Route::get('{projectSlug}/{ref?}/{document?}', [ 'as' => 'docit.document', 'uses' => 'DocitController@document' ]); $document->where('document', '(.*)'); if(count(Extensions::<API key>()) >...
# File: NuGet.psm1 # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # all ...
import merge from 'lodash/merge'; import SharpDataList from '../src/components/DataList.vue'; import { shallowMount } from '@vue/test-utils'; describe('DataList', ()=>{ function createWrapper({ ...options }={}) { return shallowMount(SharpDataList, { // language=Vue stubs: { ...
using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; using IdentityServer4.<API key>; using Microsoft.AspNetCore.Hosting; using CenoredTIC.Domain.Abstracts.Enums; using CenoredTIC.Core.Configurations.Extensions; using CenoredTIC.Domain.Settings; using CenoredTIC.Core.Utilities; using Ceno...
#pragma once #include "system/Codable.hpp" #include "Common.hpp" /** \brief An animation is a transformation evaluated at each frame and applied to an object. \ingroup Scene */ class Animation { public: /** \brief Frame in which the transformation shoud be applied. */ enum class Frame { MODEL, ///...
/** @module azure-mobile-apps/express/tables/table @description This module provides functionality for configuring features of individual tables with an Azure Mobile App. The returned table object exposes functions for attaching middleware and operation functions, i.e. use, read, read.use, insert, insert.use, etc. Thes...
<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "- <html xmlns="http: <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link href="/Public/Admin/Styles/general.css" rel="stylesheet" type="text/css" /> <style type="text/css"> #header-div { background:#278296...
var gulp = require('gulp'); var paths = require('../paths'); var sourcemaps = require('gulp-sourcemaps'); var concat = require('gulp-concat'); var source = require('vinyl-source-stream'); var buffer = require('vinyl-buffer'); var browserify = require('browserify'); var watchify = require('watchify'); var babel = requir...
//! The elements of an Openstreetmap XML file. //! For now, the types only cotain a limited set of the most important //! attributes. use std::{borrow, hash, str}; use std::collections::{HashMap, HashSet}; An OSM data set. Contains a set each for nodes, ways, and relations. pub struct Osm { nodes: HashSet<Node>, ...
var path = require('path'), root = __dirname, testConfFolder = path.join(root, 'testConfigFiles'), mainConf = path.join(testConfFolder, 'main.conf.js'), configManager = require('../src/config-manager.js'); configManager.init(mainConf); // A test suite module.exports = { name: 'kea-config benchmark',...
using System; using System.Collections.Generic; using System.Linq; public class Array_Manipulator { public static void Main() { var numbers = Console.ReadLine() .Split(new[] { ' ' }, StringSplitOptions.RemoveEmptyEntries) .Select(int.Parse) .ToList(); var line...
export * from './baTournament.service';
<!-- HEADER --> <div data-smart-include="app/layout/partials/header.tpl.html" class="placeholder-header"></div> <!-- END HEADER --> <!-- Left panel : Navigation area --> <!-- Note: This width of the aside area can be adjusted through LESS variables --> <div data-smart-include="app/layout/partials/navigation.tpl.html" c...
<?php class SiteController extends EApiController { public $defaultAction = 'error'; public function actionError() { if ($error = Yii::app()->errorHandler->error) { // just render it for the sake of the example $this->renderJson($error); } } }
module Elastics class ModelsIndices < Indices def initialize(config_path) default = {}.extend Struct::Mergeable (Conf.elastics_models + Conf.<API key>).each do |m| m = eval"::#{m}" if m.is_a?(String) default.deep_merge! m.elastics.default_mapping end replace default.deep_me...
function transform(model, _attrs) { model.layout = model.layout || "Reference"; model.pagetype = "Reference"; if (!model.title) { model.title = model.name[0].value + " " + model.type; } // If toc is not defined in model, read it from __attrs if (_attrs._tocPath && _attrs._tocPath.indexOf("~/") == 0) { ...
<?php /** * @namespace */ namespace Xhprof\Storage; class Redis extends AbstractStorage implements StorageInterface { /** * @var \Redis */ protected $redis; /** * * @param \Redis $redis */ public function __construct(\Redis $redis) { $this->redis = $redis; } ...
import { Meteor } from '../../utility/meteor/packages'; import questions from '../../api/questions/collection'; import experts from '../../api/experts/collection'; if (Meteor.settings.private.seedDatabase) { // Questions if (questions.find().count() === 0) { // Car types questions.insert({ label: 'sel...
#include "image.h" #include <stdlib.h> #include <assert.h> #include <memory.h> #include <kazmath/vec3.h> static float _occlusion_scale = 1.0f; void <API key>(float s) { _occlusion_scale = s; } heman_image* <API key>(heman_image* heightmap) { assert(heightmap->nbands == 1); int width = heightmap->width; ...
// SimpleChart JQuery Plugin // By Robert Haddad (SmokinPuppy) @ 2014 var graph; var c; var xPadding = 30; var yPadding = 30; var xfixer = 0.98; var yfixer = 0.98; var data = [{ values:[ {X:5,Y:50}, {X:10,Y:100} ], color:"red", title:"Red Color", action: "alert('Red Color');" },{ ...
body { font-size: 0.9em; font-family: Lucida; } a { color: #3182bd; } .content { width: 990px; margin: 0 auto; border-top: 0px; background-color: #ffffff; overflow: hidden; } .clear { clear: both; }
<?php namespace Hospital\PacienteBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\<API key>; use Symfony\Component\OptionsResolver\<API key>; use Hospital\PacienteBundle\Entity\Ingreso; class PacienteType extends AbstractType { public function buildForm(<API key> $builder, array $opt...
package dvla.common.domain.vehicle_lookup import dvla.common.domain.vehicle_lookup.JsonFormats.<API key> import org.scalatest.{Matchers, WordSpec} import spray.json.pimpString class JsonFormatsSpec extends WordSpec with Matchers { "JsonFormats" should { "successfully unmarshall a valid json vehicle lookup request...
require File.expand_path('../boot', __FILE__) require 'rails/all' Bundler.require(*Rails.groups) require "billing" module Dummy class Application < Rails::Application
package org.jcodings.specific; import org.jcodings.exception.EncodingError; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertArrayEquals; import org.junit.Test; public class TestASCIIEncoding { @Test public void <API key>() { assertEquals(1, ASCIIEncoding.INSTANCE.codeTo...
# escape=` # 0.1.0 FROM microsoft/windowsservercore SHELL ["powershell", "-Command", "$<API key> = 'Stop';"] RUN ` # Install Chocolatey. $env:<API key> = 'false'; ` iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex; ` # Install Psake, .NET Developer Pack 4.6.2. choco install psake -y; ` ...
<?php namespace Gestion\PassBundle\DependencyInjection; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\Config\FileLocator; use Symfony\Component\HttpKernel\DependencyInjection\Extension; use Symfony\Component\DependencyInjection\Loader; class <API key> extends Extension { /** ...
<!DOCTYPE html PUBLIC "- <html xmlns="http: <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <META HTTP-EQUIV="CACHE-CONTROL" CONTENT=NO-CACHE""> </head> </head> <body> <?php require 'plugin.php'; GetAdmin(); $sql = mysqli_query($status,"select * from data_sbj") ?> <?php require ...
require "tennis/actor" module Tennis class Fetcher include Actor attr_reader :worker_pool def initialize(worker_pool, options) @job_classes = options[:job_classes] @worker_pool = worker_pool @backend = Tennis.config.backend @done = false end def fetch return if done? ...
package com.azure.ai.metricsadvisor.models; import com.azure.core.annotation.Fluent; import java.time.OffsetDateTime; /** * Additional properties to filter result for metric feedback list operations. */ @Fluent public final class <API key> { private DimensionKey dimensionFilter; private FeedbackType feedbackT...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class <API key> extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('coin_data_codes', function ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta id="repository-name" content="github.com/calebuharrison/CrystGLFW"> <link href="../css/style.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="../js/doc.js"></script> <title>CrystGLFW::Key - github.com/calebuharr...
// <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 Moonfish.Guerilla.Tags { using Moonfish.Tags; using Moonfish.Model; using System.IO; using System.Coll...
The MIT License (MIT) Copyright (c) 2013 Andrew Dryga 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 limitation the rights to use, copy, modify, merge, publi...
declare module "<API key>" { declare module.exports: Function; }
<video width="320" height="240" controls> <source [src]="postContent.value.mediaUrl" type="video/mp4"> </video>
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using DynThings.Data.Models; using DynThings.Data.Repositories; using DynThings.Core; using ResultInfo; namespace DynThings.WebPortal.Controllers { public class <API key> : BaseController { <API ke...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace AdferoVideoDotNet.<API key>.VideoPlayers { public abstract class AdferoPlayers { public const string RcFlashPlayer = "rcflashplayer"; public const string RedBean = "redbean"; } }
import {remap, norm, denorm} from './remap' import assert from 'assert' assert.equal(remap(0, 1, 0, 10, 0.5), 5) assert.equal(remap(-1, 1, -1, 0, 0), -0.5) assert.equal(remap(-100, 100, 10, 20, 123), 21.15) assert.equal(norm(50, 200, 100), 1/3) assert.equal(denorm(50, 200, -0.5), -25) assert.equal(denorm(0, 10, norm(0,...
describe 'Adding Vehicle Properties from a Schema' do let(:schema) { GFFixtures.get_fixture('vehicle') } let(:klass) do vehicle = schema Class.new.instance_eval do include GarbageFactory.model(vehicle) end end describe 'The default variables from a freshly created instance' do subject { kl...
"use strict"; import React, { Component } from "react"; export default class Tabs extends Component { render() { return ( <div className="tab-group"> {this.props.children} </div> ); } }
<?php namespace Werkstatt\Bundle\FootBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\<API key>; use Symfony\Component\OptionsResolver\<API key>; class GameTeamType extends AbstractType { /** * @param <API key> $builder * @param array $options */ public functio...
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2 // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2013.07.27 at 08:11:57 PM EEST package eu.datex2.schema._1_0._1_0; import java.math.BigInte...
package edu.rit.cs.csc.recorder.gui; import java.awt.BorderLayout; import java.awt.Container; import java.awt.Dimension; import java.awt.GraphicsEnvironment; import java.awt.GridLayout; import java.awt.<API key>; import java.awt.<API key>; import java.awt.Point; import java.awt.event.ActionEvent; import java.awt.event....
using SQLite; using System; namespace MidnightBot.DataModels { internal abstract class IDataModel { [PrimaryKey, AutoIncrement] public int? Id { get; set; } [Newtonsoft.Json.JsonProperty ("createdAt")] public DateTime DateAdded { get; set; } = DateTime.Now; public IDataMo...
from distutils.core import setup import py2exe setup(console=['daemon.py'])
// agreement provided at the time of installation or download, or which // otherwise accompanies this software in either electronic or hard copy form. // DESCRIPTION: // This file contains the class AcGeScale3d - a mathematical entity used to // represents scaling transformations in 3-space. // Contract: The scale v...
using System; using System.IO; using System.Threading; using System.Diagnostics.CodeAnalysis; using Renci.SshNet.Common; namespace Renci.SshNet.Sftp { <summary> Exposes a <see cref="Stream"/> around a remote SFTP file, supporting both synchronous and asynchronous read and write operations. </summary> pu...
<md-dialog aria-label="Show More"> <form ng-cloak> <md-toolbar> <div class="md-toolbar-tools"> <md-icon md-svg-src="{{resource.image}}" class="avatar"></md-icon> <h2>{{element.name | uppercase}}</h2> <span flex></span> <md-button class="md-icon-button" ng-click="cancel()"> ...
body { background: #4D84E0;} .reveal { color: #333333; font-weight: normal; font-size: 36px; font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; } ::selection { background: rgba(0, 0, 0, 0.99); color: white; text-shadow: none; } .r...
#ifndef <API key> #define <API key> namespace rainbow::assets { constexpr unsigned int kLogoWidth = 1128; constexpr unsigned int kLogoHeight = 2204; constexpr char kLogoURI[] = "rainbow://assets/logo.svg"; constexpr uint8_t kLogo[] = R"(<svg xmlns="http: R"(<path style="fill: #fff; fill-...