answer
stringlengths
15
1.25M
namespace UnityEditor.ShaderGraph { interface IPropertyFromNode { <API key> AsShaderProperty(); int outputSlotId { get; } } }
/** * <API key> Object * @class * @constructor */ <API key> = function(gl, vertexSource, vertexHeader, fragmentSource, fragmentHeader) { this.gl = gl; var <API key> = this.gl.<API key>(this.gl.FRAGMENT_SHADER, this.gl.HIGH_FLOAT); this.precision = (<API key>.precision != 0) ? 'precision highp float;\n\nprec...
"use strict"; module.exports = function(grunt) { // Project configuration. grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), interval: 200, jshint: { options: { curly: true, eqeqeq: true, immed: true, latedef: false, newcap: true, noarg: t...
namespace _04.Hotel { using System; public class Hotel { public static void Main() { string month = Console.ReadLine(); int nightsCount = int.Parse(Console.ReadLine()); if (month == "May" || month == "October") { double discount...
# Python Code From Book # This file consists of code snippets only # It is not intended to be run as a script raise SystemExit # 3. Thinking in Binary import magic print magic.from_file("my_image.jpg") # JPEG image data, Exif standard: [TIFF image data, big-endian, # direntries=16, height=3264, bps=0, <API key>=RGB], #...
# 106. Construct Binary Tree from Inorder and Postorder Traversal [M] Given inorder and postorder traversal of a tree, construct the binary tree. # Note: You may assume that duplicates do not exist in the tree. # Code: c++ /** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *l...
class <API key> < <API key> before_filter :respond_to_options <API key> find_by: :short_title def index @current = Conference.where('end_date >= ?', Date.current).order('start_date ASC') @antiquated = @conferences - @current end def show; end def schedule @rooms = @conference.rooms @events =...
//borrowed from stefanocudini <API key> (function($) { $.fn.<API key> = function(inputEl, options) { var searchlist = this, searchlist$ = $(this), inputEl$ = $(inputEl), items$ = searchlist$, callData, callReq; //last callData execution ...
(function ($) { $.fn.initialize = function (options) { var currentElement = $(this), opts = options; var getSize = function(obj) { var size = 0, key; for (key in obj) { if (obj.hasOwnProperty(key)) size++; } return size; }; var setEvents = function () { ...
package com.mdg.droiders.samagra.shush; import android.Manifest; import android.app.NotificationManager; import android.content.ContentValues; import android.content.Intent; import android.content.SharedPreferences; import android.content.pm.PackageManager; import android.database.Cursor; import android.net.Uri; import...
<?php # -*- coding: utf-8 -*- namespace Devbanana\WPNonceWrapper; /** * Wordpress nonce attached to field. * * Wrapper of wp_nonce_field(). * * @author Brandon Olivares */ class WPNonceField extends AbstractWPNonce { /** * Generate nonce. * * Wrapper for wp_nonce...
#ifndef B2_POLYGON_SHAPE_H #define B2_POLYGON_SHAPE_H #include <Box2D/Collision/Shapes/b2Shape.h> A convex polygon. It is assumed that the interior of the polygon is to the left of each edge. Polygons have a maximum number of vertices equal to <API key>. In most cases you should not need many vertices for a convex poly...
/** * utility library */ var basicAuth = require('basic-auth'); var fs = require('fs'); /** * Simple basic auth middleware for use with Express 4.x. * * @example * app.use('/api-requiring-auth', utils.basicAuth('username', 'password')); * * @param {string} username Expected username * @param {string} ...
layout: page title: "Matthew Dean Gerber" comments: true description: "blanks" keywords: "Matthew Dean Gerber,CU,Boulder" <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <script src="https://dl.dropboxusercontent.com/s/pc42nxpaw1ea4o9/highcharts.js?dl=0"></script> <!-- <s...
<TS language="cs" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Pravým kliknutím upravte adresu nebo popisek</translation> </message> <message> <source>Create a new address</source> <tran...
<?php return [ 'driver' => env('SCOUT_DRIVER', 'algolia'), 'prefix' => env('SCOUT_PREFIX', ''), 'queue' => true, 'algolia' => [ 'id' => env('ALGOLIA_APP_ID', ''), 'secret' => env('ALGOLIA_SECRET', ''), ], 'elasticsearch' => [ 'index' => env('ELASTICSEARCH_INDEX', 'laravel...
from django.contrib.auth import get_user_model from rest_framework.authentication import <API key>, BasicAuthentication from rest_framework import routers, serializers, viewsets, permissions from rest_framework_jwt.authentication import <API key> from rest_framework.reverse import reverse from .models import Comment #...
import React from 'react' import { FormControl } from 'react-bootstrap' import './@FilterListInput.css' const FilterListInput = ({onFilter, searchValue}) => { let handleFilter = e => { onFilter(e.target.value) } return (<FormControl className='FilterListInput' type='text' defaultValue={searchValue} placeholde...
body { margin:0; font-family: Verdana,sans-serif; background-color: #F5F5F5; font-size: 14px; } h1 { font-size: 1.10em; } h2 { font-size: 1.10em; margin-top: 0;} h3 { font-size: 1em; } a { text-decoration: none; } section > div, .alert { width:50%; margin:auto; } /* all sections are off by default */ bod...
class <API key> < ActiveRecord::Migration def self.up create_table :<%= table_name %>_owners do |t| t.string :log_md5, null: false t.string :identifier_id, null: false # this can be used to store additional info, such as the class of identifier_id above, or anything else # you may read the...
// <auto-generated /> namespace HRMBot.Repository.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")] public sealed partial class ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Inference.Interpreter; using Inference.Interpreter.LISP; using Inference.Interpreter.Scheme; using Inference.Parser; using NUnit.Framework; namespace Inference.Tests.Interpreter.Scheme { #region...
<?php Doctrine::autoload('Doctrine_Query_Part'); class <API key> extends Doctrine_Query_Part { /** * DQL GROUP BY PARSER * parses the group by part of the query string * * @param string $str * @return void */ public function parse($str, $append = false) { $r = array(); ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.AI.TextAnalytics.Tests { [ClientTestFixture( <API key>.ServiceVersion.V3_1, <API key>.ServiceVersion.V3_2_Preview_2)] public class <API ...
#ifndef NNTPCHAN_LINE_HPP #define NNTPCHAN_LINE_HPP #include "server.hpp" #include <stdint.h> #include <sstream> namespace nntpchan { /** @brief a buffered line reader */ class LineReader { public: /** @brief queue inbound data from connection */ void Data(const char *data, ssize_t s); protected: /** @brief handl...
// advent16.rs // find Aunt Sue extern crate pcre; use std::io; fn main() { loop { let mut input = String::new(); let result = io::stdin().read_line(&mut input); match result { Ok(byte_count) => if byte_count == 0 { break; }, Err(_) => { println!("erro...
package jenkins.plugins.http_request; import static com.google.common.base.Preconditions.checkArgument; import java.io.IOException; import java.io.PrintStream; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Map; import javax.annotation.Nonnull; import org.kohsuke.stapl...
# <API key> Use multiple entry points in your [rollup](https://github.com/rollup/rollup) bundle. This is particularly useful for tests, but can also be used to package a library. The exports from all the entry points will be combined, e.g. js // a.js export const a = 1; // b.js export const b = 2; // c.js export const ...
.eventList { position:relative; } .event { -webkit-transition: all 0.5s; -moz-transition: all 0.5s; transition: all 0.5s; } .eventComplete { background-color: lightgray; position: relative; margin-left: -5px; text-decoration: line-through; } .eventComplete > tbody { background-color:...
# Common-Lisp examples The examples and my notes are from the book [Common LISP - A Gentle Introduction to Symbolic Computation](http: MIT
package by.bsuir.verkpavel.adb.data; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.util.ArrayList; import by.bsuir.verkpavel.adb.data.entity.Account; import by.bsuir.verkpavel.adb.data.entity.Client; import by.bsuir.verkpavel.adb.data.entity.Deposit; import by.bsui...
"use strict"; var spawn = require('child_process').spawn, util = require('util'), Duplex = require('stream').Duplex, apply = function(obj, method, args) { return obj[method].apply(obj, args); } var EarPipe = function(type, bits, transcode) { var params; if (!(this instanceof EarPipe)) { ...
<HTML><HEAD> <TITLE>Review for Total Recall (1990)</TITLE> <LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css"> </HEAD> <BODY BGCOLOR="#FFFFFF" TEXT="#000000"> <H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0100802">Total Recall (1990)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/ReviewsBy?Jaye+Mathisen">Jay...
<app-header></app-header> <div class="app-body"> <app-sidebar></app-sidebar> <main class="main"> <ol class="breadcrumb"> <breadcrumbs></breadcrumbs> </ol> <div class="container-fluid"> <router-outlet></router-outlet> </div> </main> </div> <app-footer><...
<?php namespace Field\Providers; use Pluma\Support\Providers\ServiceProvider; class <API key> extends ServiceProvider { /** * Array of observable models. * * @var array */ protected $observables = [ [\Field\Models\Field::class, '\Field\Observers\FieldObserver'], ]; /** *...
/** * @description - The purpose of this model is to lookup various Drinking activities for a user */ var baseModel = require('./base'); var Drink; Drink = baseModel.Model.extend({ tableName: 'drink' }); module.exports = baseModel.model('Drink', Drink);
module.exports = { root: true, parser: 'babel-eslint', parserOptions: { sourceType: 'module', ecmaFeatures: { 'jsx': true }, }, globals: { enz: true, xhr_calls: true, }, plugins: [ 'react' ], extends: 'react-app', rules: { 'semi': [2, 'never'], // allow paren-le...
define(['jquery'], function ($) { if (!Array.prototype.reduce) { Array.prototype.reduce = function (callback) { var t = Object(this), len = t.length >>> 0, k = 0, value; if (arguments.length === 2) { value = arguments[1]...
package com.lfk.justweengine.Utils.tools; import android.content.Context; import android.content.SharedPreferences; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.lang.reflect.<API key>; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Hash...
<?php return array ( 'id' => 'samsung_z130_ver1', 'fallback' => '<API key>', 'capabilities' => array ( 'model_name' => 'Z130', 'brand_name' => 'Acer', 'release_date' => '2013_september', '<API key>' => '74', '<API key>' => '50', ), );
import processing.core.*; import processing.data.*; import processing.event.*; import processing.opengl.*; import ddf.minim.spi.*; import ddf.minim.signals.*; import ddf.minim.*; import ddf.minim.analysis.*; import ddf.minim.ugens.*; import ddf.minim.effects.*; import codeanticode.syphon.*; import java.util.HashMap; im...
ml.module('three.scenes.Fog') .requires('three.Three', 'three.core.Color') .defines(function(){ THREE.Fog = function ( hex, near, far ) { this.color = new THREE.Color( hex ); this.near = ( near !== undefined ) ? near : 1; this.far = ( far !== undefined ) ? far : 1000; }; });
<?php class IrCssClassBody extends \IrCssClassFather { function __construct ($className) { parent::__construct ('body', $className) ; } function setFontNormal ($fontSize, $textAlign) { $this->fontFamily = '"Segoe UI", Tahoma, Arial, Verdana' ; $this->fontStyle = 'normal' ; $t...
<form> <fieldset> <form-field name="2_1"> <input ng-model="field.value" ng-model-options="{ debounce: 300 }" class="form-control"> </form-field> <form-field name="2_2"> <input ng-model="field.value" ng-model-opt...
bool isSameTree(struct TreeNode* p, struct TreeNode* q) { if (p == NULL && q == NULL) { return true; } else if ((p && !q) || (q && !p)) { return false; } else if ((p->left == NULL && q->left != NULL) || (q->left == NULL && p->left != NULL)) { return false; } else if ((p->right ==...
require 'ostruct' module SimCtl class Command module StatusBar # Clear all status bar overrides # @param device [SimCtl::Device] the device # @return [void] def status_bar_clear(device) unless Xcode::Version.gte? '11.4' raise <API key>, 'Needs at least Xcode 11.4' ...
// 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...
.send{ background-color: #FFC107; margin-bottom: 5px; } .animalName { font-size: 32px; color: #FFC107; text-shadow: 0 0 1px #070101; margin-bottom: 10px; text-align: left; } Form { margin-top: 20px; } .animalPic { padding:1px; border:3px solid #021a40; }
/** * @file Generate ico image files. * @memberof module:ci/tasks * @function icoTask * @param grunt * @param {object} config - Task configuration. * @param {function} callback - Callback when done. * */ "use strict"; var ico = require('../../lib/commands/ico'); module.exports = function (grunt, config, callbac...
/*GENERAL*/ html { zoom: 0.8; -<API key>: exact; } body { font-family: "Source Sans Pro", Arial, Helvetica, sans-serif; font-weight: 400; font-size: 14px; } h1,h2,h3 { font-weight: 300; margin: 0.3em 0; } h4,h5 { font-weight: 400; margin: 0.5em 0; } h5 { font-size: 1.2em; } h1 { ...
<<<< HEAD # Object Oriented Programming Assignments 2014/2015 ## Assignment 2 Create a retro-style game to run on this beautiful arcade cabinet. ![Arcade](arcade1.jpg) ![Arcade](arcade2.jpg) If you need inspiration, check out: [![Video](http: [![Video](http: [![Video](http: [![Video](http: [![Video](http: [![Video](htt...
'use strict'; const path = require('path') const webpack = require('webpack') const pkg = require('./package.json') const HtmlWebpackPlugin = require('html-webpack-plugin') const <API key> = require('webpack-notifier') var paths = { dist: path.join(__dirname, 'dist'), src: path.join(__dirname, 'src') } const ba...
var <API key> = function () { var handleImages = function() { var uploader = new plupload.Uploader({ runtimes : 'html5,html4', browse_button : document.getElementById('<API key>'), // you can pass in id... container: document.getElementById('<API key>'), // ... or DOM Ele...
var dotBeautify = require('../index.js'); var fs = require('fs'); var chai = require('chai'); var assert = chai.assert; var expect = chai.expect; var setup = 'function start (resp)\ {\ resp.writeHead(200, {"Content-Type": "text/html"\ });\ fs.readFile(filename, "utf8", function(err, data) {\ if (er...
function Block() { this.isAttacked = false; this.hasShip = false; this.shipType = "NONE"; this.attackable = true; this.shipSize = 0; this.direction = "no" } function Ship(x,y,direction,size){ this.x = x; this.y = y; this.direction = direction; this.size = size; this.win = fal...
import Ember from 'ember'; export default Ember.Component.extend({ colorMap: { running: 'green', waiting: 'orange', terminated: 'red' }, getStatusByName(name) { let retval = null; Ember.$.each(this.get('containerStatuses'), (i, containerStatus) => { if (name === containerStatus.name) { ...
define(function() { var TramoView = Backbone.View.extend({ tagName: 'tr', template: _.template($('#tramo-tmpl').html()), events: {}, initialize: function() {}, render: function(index) { $(this.el).html(this.template(this.model.toJSON())) .addClass(...
import * as Q from 'q' export {Q}
@font-face { font-family: "Flaticon"; src: url("../fonts/flaticon.eot"); src: url("../fonts/flaticon.eot#iefix") format("embedded-opentype"), url("../fonts/flaticon.woff") format("woff"), url("../fonts/flaticon.ttf") format("truetype"), url("../fonts/flaticon.svg") format("svg"); font-weight: normal; font-sty...
#ifndef BITCOIN_SERIALIZE_H #define BITCOIN_SERIALIZE_H #include <string> #include <vector> #include <map> #include <set> #include <cassert> #include <limits> #include <cstring> #include <cstdio> #include <boost/type_traits/is_fundamental.hpp> #include <boost/tuple/tuple.hpp> #include <boost/tuple/tuple_comparison.hpp>...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DefaultValues { class Program { static void Main(string[] args) { var dict = new Dictionary<string, string>(); var currValue = Console.ReadLine()....
<!DOCTYPE html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> <head> <meta chars...
module.exports = { <API key>: ['js', 'jsx', 'json', 'vue', 'ts', 'tsx'], transform: { '^.+\\.vue$': 'vue-jest', '.+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$': 'jest-transform-stub', '^.+\\.tsx?$': 'ts-jest' }, <API key>: ['/node_modules/'], moduleNameMapper: { ...
package pttravis; import java.util.List; public class ScoreElementalDef implements ScoreItems { public ScoreElementalDef() { } @Override public String getName() { return "Elemental Def"; } @Override public float score(List<Item> items) { if( items == null ) return 0; ...
#!/usr/bin/env python import Config import Database import atexit, os, time from flask import Flask from concurrent.futures import ThreadPoolExecutor from classes import CRONTask # Generate a thread pool executor = ThreadPoolExecutor(5) app = Flask( __name__ ) @app.route( "/" ) def index( ) : return "View Generator...
#ifndef <API key> #define <API key> #include <QtCore/QVariant> #include <QtGui/QAction> #include <QtGui/QApplication> #include <QtGui/QButtonGroup> #include <QtGui/QDialog> #include <QtGui/QDialogButtonBox> #include <QtGui/QFormLayout> #include <QtGui/QHeaderView> #include <QtGui/QLabel> #include <QtGui/QLineEdit> #inc...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); exports.bitcoin = { messagePrefix: '\x18Bitcoin Signed Message:\n', bech32: 'bc', bip32: { public: 0x0488b21e, private: 0x0488ade4, }, pubKeyHash: 0x00, scriptHash: 0x05, wif: 0x80, }; exports.regtest = { messagePrefix:...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>paramcoq: Not compatible </title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css"...
.navbar-brand a { color: inherit; text-decoration: none; } .content { margin-top: 70px; }
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2017-10-23 15:47 from __future__ import unicode_literals from django.db import migrations, models import oktansite.models class Migration(migrations.Migration): dependencies = [ ('oktansite', '<API key>'), ] operations = [ migrations.Ad...
#include "pQueue.h" #include <stdlib.h> #include <stdio.h> void initPQueue(pQueue **queue) { //We allocate memory for the priority queue type //and we initialize the values of the fields (*queue) = (pQueue *) malloc(sizeof(pQueue)); (*queue)->first = NULL; (*queue)->size = 0; return; } void addP...
#include "injected.h" #include <mach-o/dyld_images.h> #include <mach-o/loader.h> #include <mach-o/nlist.h> #include <string.h> #include <dlfcn.h> /* These values are overwritten on a per-injection basis by the injector. */ /* Must not be defined as consts, or the compiler will optimize them. */ struct <API key> *dyld_i...
require 'basalt/packages/repo' require 'basalt/packages/package_assert' module Basalt class Packages # Allows the searching of multiple repos as if it was one repo class MultiRepo include PackageAssert # @return [Array<Repo>] attr_accessor :repos def initialize @repos = [] ...
# <API key>: true module Citywrapper class Configuration attr_accessor :api_key end end
import React from 'react'; import PropTypes from 'prop-types'; import './index.css'; const TemplateWrapper = ({children}) => <div>{children()}</div>; TemplateWrapper.propTypes = { children: PropTypes.func, }; export default TemplateWrapper;
require "spec_helper" require "active_support/core_ext/string/strip" describe FeedSearcher do describe ".search" do context "when there are link elements of feeds in the resource" do before do stub_request(:get, "http://example.com/").to_return( :body => <<-EOS.strip_heredoc <!...
#ifndef POINT_H #define POINT_H #include <string> using namespace std; class Point { public: Point(string line); Point(double x, double y); void setX(double x); void setY(double y); double getX(); double getY(); private: double x; double y; }; #endif
title: Customize the Consent Prompt description: Learn how to customize the consent prompt presented to users during authorization. topics: - scopes - permissions - authorization - consent-prompt - mgmt-api contentType: - how-to useCase: - development - secure-api # Customize the Consent Prompt When a t...
<!DOCTYPE html> <html xmlns:msxsl="urn:<API key>:xslt"> <head> <meta content="en-us" http-equiv="Content-Language" /> <meta content="text/html; charset=utf-16" http-equiv="Content-Type" /> <title _locid="<API key>">.NET Portability Report</title> <style> /* Body style, for the entire document */...
<?php namespace Brainteaser\Domain\Exercise; use Brainteaser\Domain\Training\Training; use DateTime; interface Exercise { /** * @return string */ public function getId() : string; /** * @return Training */ public function getTraining() : Training; /** * @return SequenceNumbe...
// TomKitten48.xaml.cpp // Implementation of the TomKitten48 class #include "pch.h" #include "TomKitten48.xaml.h" using namespace PrintableTomKitten; using namespace Platform; using namespace Windows::Foundation; using namespace Windows::Foundation::Collections; using namespace Windows::UI::Xaml; using namespace Window...
'use strict'; describe('Purchases E2E Tests:', function () { describe('Test purchases page', function () { it('Should report missing credentials', function () { browser.get('http://localhost:3000/purchases'); expect(element.all(by.repeater('purchase in purchases')).count()).toEqual(0); }); }); }...
(function(){ function render (context, points) { console.log ('render called'); var angle = 0, center = new Point3D (400,400,400); return function () { context.clearRect(0,0,800,600); if (points.length < 1000) { points.push (randomPoint(...
using System; using System.Collections.Generic; using Orleans.Streams; namespace Orleans.Providers.Streams.Common { <summary> CachedMessageBlock is a block of tightly packed structures containing tracking data for cached messages. This data is tightly packed to reduced GC pressure. The tracking data is us...
<?php class <API key> { public function getExampleSegments() { /** @var <API key> $api */ $api = Mage::getModel('createsend/api'); /** @var <API key> $customerAttributes */ $customerAttributes = Mage::getSingleton('createsend/<API key>'); $<API key> = $api-><API key>( ...
layout: default-en title: Codemotion Spain - For the communities, by the communities description: Codemotion is the event that gets all the IT communities in Spain together for two days. <div class="picture-container"> <div class="picture-caption"> <a class="bottom-logo" href="/">Codemotion</a> <div><span cla...
module Jobbr class <API key> < ActionController::Base before_action :set_locale protected def set_locale I18n.locale = :en end end end
using UnityEngine; using System; using System.Collections.Generic; using System.Linq; using System.Text; using ProtoBuf; [ProtoContract] public struct ProtoVector3 { [ProtoMember(1)] public float x; [ProtoMember(2)] public float y; [ProtoMember(3)] public float z; public static explicit operator ProtoVe...
import { Component } from '@angular/core'; @Component({ template: ` <h2>Page not found</h2> ` }) export class <API key> {}
#!/usr/bin/env python # -*- coding: utf-8 -*- from Models.FeatureProcessing import * from keras.models import Sequential from keras.layers import Activation, Dense, LSTM from keras.optimizers import Adam, SGD import numpy as np import abc from <API key> import <API key> class <API key>(<API key>): """A basic lstm n...
exports.seed = function(knex, Promise) { // Deletes ALL existing entries return knex('coffee').del() .then(function () { // Inserts seed entries return knex('coffee').insert([ { id: 1, name: 'Three Africas', producer_id: 1, flavor_profile: 'Fruity, rad...
__author__ = 'sekely' ''' we are using variables almost everywhere in the code. variables are used to store results, calculations and many more. this of it as the famous "x" from high school x = 5, right? the only thing is, that in Python "x" can store anything ''' # try this code: x = 5 y = x + 3 print(y) # what about...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace SistemaMundoAnimal.Forms { public partial class FormPrincipal : Form { public FormPr...
// NAGatedVC.h // <API key> #import <UIKit/UIKit.h> @interface NAGatedVC : UIViewController @end
using System; using System.Collections.Generic; using System.Linq; namespace Meow.Diagnostic.Tests.Support { public class TestSuite : Suite { public override IEnumerable<ITask> GetTasks() { return new List<ITask> { new PassingTask(), ...
AudioChunks slice/append/insert/subset/copy operations on AudioBuffer linked-list chunks.
class <API key> < <API key> def index @terms = params[:search] ? params[:search][:terms] : nil @ingredients = Ingredient.find_ingredients(@terms).page(params[:page]) end def update fetch_ingredient if @ingredient.update(ingredient_params) flash[:success] = "Ingredient updated successfully." ...
#ifndef CONFFILE_H #define CONFFILE_H #include "netstream.h" void endpt_config_init(struct endpt_cfg * config); int io_config_init(struct io_cfg * config, int nitems); int <API key>(struct endpt_cfg * config, char * key, char * value); int parse_config_file(struct io_cfg * config, char * filename); void print_config...
<?php /* @WebProfiler/Icon/time.svg */ 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 = a...
using UnityEditor; using UnityEngine; using System.Collections.Generic; [<API key>] [CustomEditor(typeof(tk2dTiledSprite))] class <API key> : tk2dSpriteEditor { tk2dTiledSprite[] targetTiledSprites = new tk2dTiledSprite[0]; new void OnEnable() { base.OnEnable(); targetTiledSprites = GetTargetsOf...