answer
stringlengths
15
1.25M
// Polyfills // (these modules are what are in 'angular2/bundles/angular2-polyfills' so don't use that here) // import 'ie-shim'; // Internet Explorer // import 'es6-shim'; // import 'es6-promise'; // import '<API key>'; // Prefer CoreJS over the polyfills above require('core-js'); require('zone.js/dist/zone'); if ('pr...
title: Linux fork() date: 2016-10-19 18:58:33 tag: Bin layout: post ## 0x00 ... ... fork()()->fork->-> Link... <!--more ## 0x01 fork() talking is weak c pid_t fork( void); * pid\_t int `#include<sys/types.h>` * 0ID-1 fork()(fork) copy c #include <unistd.h> #include <stdio.h> int main () { pid_t fpid; //fpidfork ...
require 'time_crisis/tzinfo/timezone_definition' module TimeCrisis::TZInfo module Definitions module Asia module Tehran include TimezoneDefinition timezone 'Asia/Tehran' do |tz| tz.offset :o0, 12344, 0, :LMT tz.offset :o1, 12344, 0, :TMT tz.offset :o2, 12600, 0,...
<script type="text/javascript"> function changeKotaKab(){ var select_provinsi = $("#select_provinsi").val(); $.ajax({ url: "<?php echo base_url('index.php/kecamatan/selectkotakab' ); ?>/" + select_provinsi, success: function(result) { $("#select_kota_kab").html(result); } ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>dpdgraph: Not compatible </title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css"...
# Extend Dynamics 365 Virtual Agent with Bot Framework The purpose of this project is to extend/combine your D365 Virtual Agent with your existing (or new) custom bot. You can read the details about this codewalk [here](https://dev.to/arafattehsin/<API key>).
# autoprefixer-online autoprefixer online Online [autoprefixer](http://autoprefixer.firstblood.me) Run server on local You need install node(version 4+) , npm(version 3+) and webpack(version 1.x) fist, then Clone project: $ git clone https://github.com/ssehacker/autoprefixer-online.git Install dependencies: $ npm insta...
#ifndef <API key> #define <API key> #include <nana/config.hpp> #include "detail/bedrock.hpp" #include "effects.hpp" #include "detail/general_events.hpp" #include <nana/paint/image.hpp> #include <memory> namespace nana { class drawer_trigger; class widget; namespace dev { Traits for widget classe...
<?php use google\appengine\api\users\User; use google\appengine\api\users\UserService; $user = UserService::getCurrentUser(); if (isset($user)) { /* echo sprintf('<li>Welcome, %s! (<a href="%s">sign out</a>)', $user->getNickname(), UserService::createLogoutUrl('/')); */ $ur...
<TS language="vi_VN" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Nhấn chuột phải để sửa địa chỉ hoặc nhãn</translation> </message> <message> <source>Create a new address</source> <trans...
'use strict'; //Setting up route angular.module('shop-list').config(['$stateProvider', function($stateProvider) { // Shop list state routing $stateProvider. state('detail-product', { url: '/detail-product/:productId', templateUrl: 'modules/shop-list/views/detail-produ...
<?php /** * 3 latest posts under slider. */ $thumb = has_post_thumbnail ()? <API key>( <API key>($post->ID), 'large' ): [null]; if (!$thumb[0]){ if ( get_post_meta( $post->ID, '<API key>' ) ){ $array = get_post_meta( $post->ID, '<API key>' ); $thumb = <API key>( $array [0], 'large' ); } els...
<?php namespace Dazzle\Redis\Command\Compose; use Dazzle\Redis\Command\Builder; use Dazzle\Redis\Command\Enum; use Dazzle\Redis\Driver\Request; trait ApiSetTrait { /** * @param Request $request * @return mixed */ abstract function dispatch(Request $request); /** * @override * @inher...
title: "International House of Pa....Brews!" layout: "post" permalink: "/2013/04/<API key>.html" uuid: "5761248402315161748" guid: "tag:blogger.com,1999:<API key>.<API key>" date: "2013-04-20 19:51:00" updated: "2013-04-20 19:51:39" description: blogger: siteid: "4897882164686544357" postid: "576124840231516174...
namespace AAWebSmartHouse.Data.Migrations { using System.Data.Entity.Migrations; using System.Linq; using AAWebSmartHouse.Common; using AAWebSmartHouse.Data.Models; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; public sealed class Configuration : <API key>...
#include "init.h" // for pwalletMain #include "bitcoinrpc.h" #include "ui_interface.h" #include "base58.h" #include <boost/lexical_cast.hpp> #define printf OutputDebugStringF using namespace json_spirit; using namespace std; class CTxDump { public: CBlockIndex *pindex; int64 nValue; bool fSpent; CWallet...
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.<API key>(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, targ...
# DjangoSample This is a sample Django project which samples how I organize and code a website. Each function and class code contained in the repository was coded by me. It is created for Python 3.6. Side notes: - The code is overcomplicated in a few places. The reasoning for that is to show some of the advanced topic...
module ValidatorIE class StateAP include ActiveModel::Validations attr_accessor :number validates :number, length: { minimum: 9, maximum: 9 }, numericality: true, presence: true validate :<API key> validate :<API key> validate :number_should_mod11 def initialize(opts={}) opts.each do...
# -*- coding: utf-8 -*- tokens = [ 'LPAREN', 'RPAREN', 'LBRACE', 'RBRACE', 'EQUAL', 'DOUBLE_EQUAL', 'NUMBER', 'COMMA', 'VAR_DEFINITION', 'IF', 'ELSE', 'END', 'ID', 'PRINT' ] t_LPAREN = r"\(" t_RPAREN = r"\)" t_LBRACE = r"\{" t_RBRACE = r"\}" t_EQUAL = r"\=" t_DOUB...
using IoTHelpers.Helpers; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using Windows.Devices.I2c; namespace IoTHelpers.I2c.Devices { public struct Acceleration { public double X { get; internal set; } ...
module.exports = function (grunt) { // Define the configuration for all the tasks grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), // Configure a mochaTest task mochaTest: { test: { options: { reporter: 'spec', ...
<!DOCTYPE html> <html> <head> <base href="../../" /> <meta charset="utf-8" /> <script src="_ext/d3.v3.min.js"></script> <script src="_ext/jquery-1.10.2.min.js"></script> <script src="_ext/sha1.js"></script> <script src="_ext/seedrandom-min.js"></script> <scrip...
<?php //Names the page template for each section /* Template Name: Early College */ get_header(); ?> <?php get_template_part( 'parts/banners' ); ?> <div class="row"> <div class="container"> <?php // Gets the alert custom post type id for each sub page needing special announcement $post_id = 5447; $queried_post = get_po...
import { createEllipsisItem, createFirstPage, createLastItem, createNextItem, createPageFactory, createPrevItem, } from 'src/lib/<API key>/itemFactories' describe('itemFactories', () => { describe('createEllipsisItem', () => { it('"active" is always false', () => { createEllipsisItem(0).should.h...
// <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 ReactiveDocs.WFReader.Properties { [global::System.Runtime.CompilerServices.<API key>()] [global::System.CodeD...
#include <algorithm> #include "GI/uvmapper.h" UVMapper::UVMapper( glm::ivec2 size) : m_size(size), m_scale(0.f), m_border(glm::vec2(1.)/glm::vec2(size)) {} UVMapper::~UVMapper() {} void UVMapper::computeLightmapPack(std::vector<Object*> &obj) { m_obj = obj; std::vector<Quadrilateral> m_quad; //U...
import java.lang.<API key>; public interface Sequence { public int size(); // Return number of elements in sequence. public void addFirst(int e); // Insert e at the front of the sequence. public void addLast(int e); // Insert e at the back of the sequence. // Inserts an element e to be at ind...
{-# LANGUAGE BangPatterns, DataKinds, DeriveDataTypeable, FlexibleInstances, <API key> #-} {-# OPTIONS_GHC -<API key> #-} module Hadoop.Protos.YarnProtos.AMCommandProto (AMCommandProto(..)) where import Prelude ((+), (/), (.)) import qualified Prelude as Prelude' import qualified Data.Typeable as Prelude' import qualif...
<?php // Autogenerated by Translator Builder return [ 'studies_level_5' => 'kurzfristige tertiäre Ausbildung', 'studies_level_6' => 'Bachelor oder Äquivalent', 'studies_level_7' => 'Magister oder Äquivalent', 'studies_level_8' => 'Doktor oder Äquivalent', 'company_activity' => 'W...
-- module Day04 (solveDay04) where module Day04 where import Control.Monad (mapM_) import Data.Char (chr, isDigit, ord) import Data.Function (on) import Data.List (group, nub, sort, sortBy) import Data.List.Split (splitOn, wordsBy) isSquareBracket :: Cha...
# SDE-R-Package Assignment 1 for Software Deployment and Evolution R package Contains just a simple fibonacci function fib(len) fib() accepts 1 integer parameter to specify the length of the fibonacci sequence.
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Coq bench</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="stylesheet...
/** * 1. Change the default font family in all browsers (opinionated). * 2. Correct the line height in all browsers. * 3. Prevent adjustments of font size after orientation changes in * IE on Windows Phone and in iOS. */ html { font-family: sans-serif; line-height: 1.15; -ms-text-size-adjust: 100%; -<AP...
module Multichain describe Client do let(:client) { described_class.new } it 'knows about its asset' do expect(client.asset).to eq 'odi-coin' end context 'send a coin' do it 'sends to a simple address', :vcr do expect(client.send_asset 'stu', 1).to eq ( { reci...
// 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 copies or substanti...
import pyqtgraph as pg from pyqtgraph.Qt import QtGui, QtCore import numpy from pyqtgraph.parametertree import Parameter, ParameterTree, ParameterItem, <API key> class <API key>(QtGui.QDialog): def __init__(self,viewer, parent): super(<API key>, self).__init__(parent) self.resize(800,600) se...
/** * App */ 'use strict'; // Base setup var express = require('express'); var app = express(); var path = require('path'); var bodyParser = require('body-parser'); var logger = require('morgan'); var mongoose = require('mongoose'); var config = require('./config'); var routes = require('./routes/index'); var validat...
$(document).ready(function(){ 'use strict'; //Turn off and on the music $("#sound-control").click(function() { var toggle = document.getElementById("sound-control"); var music = document.getElementById("music"); if(music.paused){ music.play(); $("#sound-control"...
(function() { 'use strict'; // Service function loggerService() { /* jshint validthis: true */ this.logs = []; /** * @summary Appends a log message of a given type to the collection of logs. */ this.append = function(type, message) { this.logs.pu...
/** * @ingroup boards_stk3600 * @{ * * @file * @brief Configuration of CPU peripherals for the STK3600 starter kit * * @author Hauke Petersen <hauke.petersen@fu-berlin.de> * @author Bas Stottelaar <basstottelaar@gmail.com> */ #ifndef PERIPH_CONF_H #define PERIPH_CONF_H #include "cpu.h" #inc...
# <API key> Limitlessled driver for NinjaSphere **How to start the driver:** 1. Download the sources and do **'make target'**. This will generate **'driver-limitlessled'** folder with driver binary compatible with sphere architecture along with some other necessary files 2. Make sure these directories are available in ...
from engine.api import API from engine.utils.printing_utils import progressBar from setup.utils.datastore_utils import <API key>, <API key> def <API key>(): print("\nRemove Duplicates") api = API() papers = api.get_all_paper() for i, paper in enumerate(papers): progressBar(i, len(papers)) ...
import { NgModule, Provider } from '@angular/core'; import { NgxsModule } from '@ngxs/store'; import { <API key> } from './soundcloud.service'; import { AppSoundcloudState } from './soundcloud.store'; import { <API key> } from './soundcloud-api.service'; export const <API key>: Provider[] = [ <API key>, <API key>, ...
package com.tkmdpa.taf.definitions.pantheon; import com.tkmdpa.taf.steps.pantheon.UserAccountSteps; import net.thucydides.core.annotations.Steps; import org.jbehave.core.annotations.Given; import org.jbehave.core.annotations.Then; import org.jbehave.core.annotations.When; public class <API key> { @Steps UserAcc...
// $Id: CurrentFunction.java 96 2005-02-28 21:07:29Z blindsey $ package com.blnz.xsl.expr; import com.blnz.xsl.om.*; /** * Represents the XSLT Function: node-set current() * * The current function returns a node-set that has the * current node as its only member. For an outermost * expression (an expression not o...
export { default } from './src/layout-container.vue';
@extends('masterPage') @section('content') <div class="box"> <div class="box-header"><h3 class="box-title"> Page3</h3></div> <!-- /.box-header --> <div class="box-body"> <form role="form"> <div class="box-body"> <div class="form-group"> ...
<tmpl-metadata parentId="demo" parentTitle="Demo" sort="1" id="basic" title="basic" desc=""/> <layout-use template="${data.layoutPath}" project-name="${data.projectName}" parent-id="${data.metadata.parentId}" page-title="${data.metadata.title}" page-id="${data.metadata.id...
require 'rails_helper' def create_service(student, educator) FactoryGirl.create(:service, { student: student, <API key>: educator, <API key>: 'Muraki, Mari' }) end describe StudentsController, :type => :controller do describe '#show' do let!(:school) { FactoryGirl.create(:school) } let(:educat...
/* *@author jaime P. Bravo */ $(document).ready(function () { //forms general function sendDataWithAjax(type, url, data) { return $.ajax({ type: type, url: url, data: data, dataType: 'json', beforeSend: function () { console....
// ViewController.h // <API key> #import <UIKit/UIKit.h> @interface ViewController : UIViewController { IBOutlet UIImageView *imageView1; IBOutlet UIImageView *imageView2; IBOutlet UIImageView *imageView3; IBOutlet UIImageView *imageView4; } @end
<?php class <API key> extends <API key> { // public function execute() { $tablesList = array( 'processing_request', 'product_change', 'locked_object', 'lock_item', 'cache_config', 'primary_config', 'config', ...
var <API key> = require('../../helpers/<API key>'); /** * @api {post} /gl/:LEDGER_ID/add-filter add filter * @apiGroup Ledger.Utils * @apiVersion v1.0.0 * * @apiDescription * Add a filter for caching balances. This will speed up balance * requests containing a matching filters. * * @apiParam {CounterpartyI...
#ifndef WOLF_CRYPT_TYPES_H #define WOLF_CRYPT_TYPES_H #include <wolfssl/wolfcrypt/settings.h> #include <wolfssl/wolfcrypt/wc_port.h> #ifdef __cplusplus extern "C" { #endif #if defined(WORDS_BIGENDIAN) #define BIG_ENDIAN_ORDER #endif #ifndef BIG_ENDIAN_ORDER #define LI...
from polyphony import testbench def g(x): if x == 0: return 0 return 1 def h(x): if x == 0: pass def f(v, i, j, k): if i == 0: return v elif i == 1: return v elif i == 2: h(g(j) + g(k)) return v elif i == 3: for m in range(j): ...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <link href="css/admin.css" type="text/css" rel="stylesheet"> <script src="js/main/jquery.js"></script>
<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="flayoutclass"><div class="flayoutclass_first"><table class="tableoutfmt2"><tr><th class="std1"><b>...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta content="Craig McClellan" name="author"> <title>Craig McClellan - T4023026184 </title> <link href="/asset...
package postactions import ( "net/http" "github.com/fragmenta/auth/can" "github.com/fragmenta/mux" "github.com/fragmenta/server" "github.com/fragmenta/view" "github.com/fragmenta/fragmenta-cms/src/lib/session" "github.com/fragmenta/fragmenta-cms/src/posts" "github.com/fragmenta/fragmenta...
/* * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, O...
#ifndef _SPACEWAR_H #define _SPACEWAR_H #define WIN32_LEAN_AND_MEAN #include "game.h" class Spacewar : public Game { private: public: // Constructor Spacewar(); //Destructor virtual ~Spacewar(); // Initialize the game void initialize(HWND hwnd); void update(); // Pure virtual func...
package main.habitivity.services; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.net.ConnectivityManager; import android.net.NetworkInfo; public class ConnectivityService implements <API key> { private Cont...
#!/bin/bash mkdir -p ~/timelinelogs cd /timeline/git echo "create virtual environment" virtualenv -p /usr/bin/python3.5 ~/venv echo "activate virtual environment" source ~/venv/bin/activate echo "install requirements using pip" pip install -r requirements.txt echo "start timeline example" python3.5 example.py > ~/timel...
<link type="text/css" rel="stylesheet" href="/static/css/main.css"> <link type="text/css" rel="stylesheet" href="/static/css/bgs.css"> <link type="text/css" rel="stylesheet" href="/static/css/graphs.css"> <link type="text/css" rel="stylesheet" media="all" href="{{g.s3_host}}/static/css/libs/font-awesome/css/font-awesom...
<?php /* @WebProfiler/Collector/twig.html.twig */ class <API key> extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); // line 1 $this->parent = $this->loadTemplate("@WebProfiler/Profiler/layout.html.twig", "@WebProfiler/Collector/twig.h...
<?php namespace Qafoo\ChangeTrack\FISCalculator; class TransactionDatabase { /** * Row based data set * * @var array */ private $data; /** * Items that occur in this data base * * @var string[] */ private $items = array(); /** * @param array $data */...
// @flow import React, { Component } from 'react'; import { Grid, Col, Row } from 'react-bootstrap'; let mitImagePath = '../resources/img/mitLogo.png'; /* Set mitImagePath to new path */ if (process.resourcesPath !== undefined) { mitImagePath = (`${String(process.resourcesPath)}resources/img/mitLogo.png`); // mitIm...
import {Typography, Popover, Input, Select, Checkbox} from 'antd'; import {<API key>} from './DataInspectorNode'; import {PureComponent} from 'react'; import styled from '@emotion/styled'; import {SketchPicker, CompactPicker} from 'react-color'; import React, {KeyboardEvent} from 'react'; import {HighlightContext} from...
// Use, modification and distribution are subject to the // Comeau C++ compiler setup: #include "cutl/details/boost/config/compiler/common_edg.hpp" #if (__COMO_VERSION__ <= 4245) # if defined(_MSC_VER) && _MSC_VER <= 1300 # if _MSC_VER > 100 // only set this in non-strict mode: # define <API key>...
import os import sys BASE_DIR = os.path.dirname(os.path.abspath(__file__)) sys.path.append(BASE_DIR) sys.path.append(os.path.dirname(BASE_DIR)) from global_variables import * from evaluation_helper import * cls_names = g_shape_names img_name_file_list = [os.path.join(<API key>, name+'.txt') for name in cls_names] <API ...
using System; using Windows.ApplicationModel.Activation; using Windows.UI.Core; using Windows.UI.Input; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Input; using Windows.UI.Xaml.Navigation; namespace Podcasts { using System.ComponentModel; using Commands; using Utilities; ...
/** * Auction collection */ 'use strict'; var Model = require('../models/auction_model.js'); var Collection = require('tungstenjs/adaptors/backbone').Collection; var AuctionCollection = Collection.extend({ model: Model }); module.exports = AuctionCollection;
# Public: Executes a block of code and retries it up to `tries` times if an # exception was raised. # tries - An Integer (default: Float::Infinity). # exceptions - A list of Exceptions (default: StandardError). # Examples # class Wrapper # include Bonehead # def login(username, password) # insist(5...
#include "mdl_file.hpp" MDLFile::MDLFile(std::string file_path): File(std::move(file_path)) {this->update();} bool MDLFile::exists_tag(const std::string& tag_name) const { return this->parsed_tags.find(tag_name) != this->parsed_tags.end(); } bool MDLFile::exists_sequence(const std::string& sequence_name) const { ...
package outbound_test import ( "context" "testing" "v2ray.com/core" "v2ray.com/core/app/policy" . "v2ray.com/core/app/proxyman/outbound" "v2ray.com/core/app/stats" "v2ray.com/core/common/net" "v2ray.com/core/common/serial" "v2ray.com/core/features/outbound" "v2ray.com/core/proxy/...
/* ** my_isneg.c for my_isneg in /home/soto_a/rendu/Piscine_C_J03 ** ** Made by adam kaso ** Login <soto_a@epitech.net> ** ** Started on Wed Oct 1 13:22:15 2014 adam kaso ** Last update Fri Dec 5 14:48:05 2014 Kaso Soto */ #include "my.h" int my_isneg(int n) { if (n >= 0) { my_putchar('P'); } ...
# -*- coding: utf-8 -*- from boto.swf.exceptions import SWFResponseError from swf.constants import REGISTERED from swf.querysets.base import BaseQuerySet from swf.models import Domain from swf.models.workflow import (WorkflowType, WorkflowExecution, CHILD_POLICIES) from swf.utils import...
module <API key> def self.included(cls) cls.extend(ClassMethods) end module ClassMethods def datatables_source(action, model, *attrs) modelCls = Kernel.const_get(model.to_s.capitalize) modelAttrs = modelCls.new.attributes columns = [] modelAttrs.each_key { |k| columns << k } ...
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Resources::Mgmt::V2019_03_01 module Models # Deployment operation information. class DeploymentOperation include MsRestAzure ...
.hangStyle { font-family: 'Shadows Into Light', cursive; } .repoText { margin-top: 10px; } .toast { background-color: red; color: black; }
# EANN - Evolutional artificial neuronal Network and learning java... [![Build Status](https:
#Requires -Version 3.0 . "$($PSScriptRoot)\..\..\TestInitialize.ps1" Describe '<API key>' { Context 'Success' { Context 'Site Content Type' { AfterEach { try { $Web = $SPClient.ClientContext.Site.OpenWebById($SPClient.TestConfig.WebId) $SPC...
# Standalone Cross-Compile Toolchain of AndroidNDK ## Files * `config.mk`: A configuration file for the installation of standalone cross-compile toolchain. * `toolchain`: A directory containing the generated standalone cross-compile toolchain. ## How to Setup 1. Edit `config.mk` to set three variables `ANDROID_NDK_ROOT...
# <API key>: true require 'spec_helper' describe Promo do let(:promo) { build(:promo, promoter_type: 'discount') } subject { promo } describe 'validations' do it { is_expected.to <API key> :name } it { is_expected.to <API key> :type } it { is_expected.to <API key> :promoter_type } end describe '.w...
#ifndef DEPENDENCY_EDITOR_H #define DEPENDENCY_EDITOR_H #include "config.h" #include <gtkmm.h> #include "dependencyaction.h" namespace dfm { class DependencyEditor : public Gtk::Dialog { public: DependencyEditor(Gtk::Window& parent, DependencyAction* action); private: DependencyAction* action; Gtk::Label de...
// File auto generated by STUHashTool using static STULib.Types.Generic.Common; namespace STULib.Types.Dump { [STU(0xBE0222CD)] public class STU_BE0222CD : STU_3DD6C6E9 { [STUField(0x982D7B62)] public STUVec3 m_982D7B62; } }
<div class='container'> <div class='row text-center'> <img src="/img/500Err.jpg" style="height:50%; width:50%;"></img> <h1><b>Error 500: Yikes!</h1></b> <i>{{#if error}} {{error}} {{/if}}</i> </div> </div>
<!DOCTYPE html PUBLIC "- <html xmlns="http: <head> <title>{{ title }}</title> {% include "chartflo/dashboards/head.html" %} </head> <body> <div id="app"> {% block header %}{% endblock %} {% block content %}{% endblock %} </div> <script>{% block vues %}{% endblock %}</script> {% block end %}{% endblock %...
import tensorflow as tf from ocnn import * # octree-based resnet55 def network_resnet(octree, flags, training=True, reuse=None): depth = flags.depth channels = [2048, 1024, 512, 256, 128, 64, 32, 16, 8] with tf.variable_scope("ocnn_resnet", reuse=reuse): data = octree_property(octree, property_name="feature",...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title></title> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> <link rel="stylesheet" href="../../js/lib/bootstrap/dist/css/bootstrap.min.css"> <style> body { font-family:...
#nullable disable using System; using System.Globalization; using System.IO; using Core2D.Model; using Core2D.ViewModels; using Core2D.ViewModels.Data; using CSV = CsvHelper; namespace Core2D.Modules.TextFieldWriter.CsvHelper { public sealed class CsvHelperWriter : ITextFieldWriter<DatabaseViewModel> { ...
package de.espend.idea.shopware.reference.provider; import com.intellij.codeInsight.lookup.LookupElement; import com.intellij.codeInsight.lookup.<API key>; import com.intellij.psi.PsiElement; import com.intellij.psi.<API key>; import com.intellij.psi.ResolveResult; import com.jetbrains.php.lang.psi.elements.<API key>; ...
<?php namespace Fes\Blog\Models; use Model; use Schema; /** * Category Model */ class Category extends Model { /** * @var string The database table used by the model. */ public $table = '<API key>'; /** * @var array Guarded fields */ protected $guarded = ['*']; /** * @var ...
package com.algorithms.sorting; public class MergeBU { public static void sort(Comparable[] a) { Comparable[] aux = new Comparable[a.length]; int N = a.length; for (int size = 1; size < N; size = size*2) { for (int i = 0; i < N; i = i + size) merge(a, aux, i, i+size-1, Math.min(i...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>H+ UI - ECHarts</title> <meta name="keywords" content="H+,bootstrap,,HTML,"> <meta name="description" content="H+Bootstrap3Html5+CSS3"> <link rel="shortcut icon" hre...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="A Social Media Analytics Platform that lets you advertise on the Social Media Accoun...
// <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 XmlFileExplorer.Properties { [global::System.Runtime.CompilerServices.<API key>()] [global::System.CodeDom.Com...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Drawing; using System.Windows.Forms; using System.Threading; using System.Drawing.Drawing2D; namespace Scheduler { public class Scheduler<T, K> : IRuntimeScheduler, IScheduler<K> where T:ScheduleTask, new() { ...
<?php declare(strict_types = 1); namespace FireflyIII\Rules\Triggers; use FireflyIII\Models\TransactionJournal; /** * Class TransactionType * * @package FireflyIII\Rules\Triggers */ final class TransactionType extends AbstractTrigger implements TriggerInterface { /** * A trigger is said to "match anything"...