answer
stringlengths
15
1.25M
# -*- coding: utf-8 -*- Imports # Standard Library # Third-Party import matplotlib.pyplot as pyplot # Package / Application from .core import rc_to_radius def radius_plot(rcd_list, die_xy, center_rc): """ Plots up data by radius """ # rc_to_radius x_data = [] y_data = [] for rcd in rcd_list: ...
uid: SolidEdgePart.PartDocument.<API key> summary: This method&nbsp;will turn ON reflective plane command which is similar to checked box at ribbon bar of Inspect Tab in Solid Edge UI. remarks:
<?php function mk_news_loop($atts, $current) { global $post; extract($atts); global $mk_options; $grid_width = $mk_options['grid_width']; $content_width = $mk_options['content_width']; $post_style = get_post_meta($post->ID, '_news_post_style', true); $terms = get_the_ter...
package com.bruxelas.controllers; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.Re...
<html><body> <h4>Windows 10 x64 (18363.657)</h4><br> <h2>_MMCLONE_HEADER</h2> <font face="arial"> +0x000 NumberOfPtes : Uint8B<br> +0x008 <API key> : Uint8B<br> +0x010 ClonePtes : Ptr64 <a href="./_MMCLONE_BLOCK.html">_MMCLONE_BLOCK</a><br> +0x018 Partition : Ptr64 <a href="./_MI_PARTITION....
{% extends "base.html" %} {% load staticfiles %} {% block title %}The City of Chicago sells vacant residential lots for $1 through the Large Lot Program.{% endblock %} {% block extra_css %} <style id="map-styles"> #parcels { polygon-fill: #6ac682; polygon-opacity: 0.7; line-color: #389...
package kale.sharelogin.qq; import java.util.LinkedHashMap; import android.app.Activity; import android.content.Context; import android.support.annotation.NonNull; import com.tencent.connect.common.Constants; import com.tencent.tauth.IUiListener; import com.tencent.tauth.UiError; import org.json.JSONObject; import kale...
# EPi.Libraries.<API key> [![Build status](https: [![GitHub version](https: [![Platform](https: [![Platform](https: ## Parts [Core functionality](EPi.Libraries.<API key>.Core/readme.md) [Mvc4 implementation](EPi.Libraries.<API key>.Mvc4/readme.md) [WebApi implementation](EPi.Libraries.<API key>.WebApi/readme.md)
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: <API key>("")] [asse...
require File.expand_path('../boot', __FILE__) require "rails" # Pick the frameworks you want: require "active_model/railtie" require "active_job/railtie" require "active_record/railtie" require "action_controller/railtie" require "action_mailer/railtie" require "action_view/railtie" require "sprockets/railtie" # requir...
<!DOCTYPE HTML> <html> <head> <title>Tribe Test Suite</title> <link rel="stylesheet" href="Libraries/qunit.css" type="text/css" media="screen"> <script type="text/javascript" src="Libraries/json2.js"></script> <script type="text/javascript" src="Libraries/jquery-1.9.1.js"></script> <script type="tex...
package domino.scala_osgi_metatype.adapters import org.osgi.service.metatype.{<API key> => <API key>, AttributeDefinition => <API key>} import domino.scala_osgi_metatype.interfaces.{<API key>, <API key>, <API key>} /** * Provides the given Scala object class definition as an OSGi-compliant object class definition. * ...
#encoding:utf-8 require 'rest-client' class EventsController < <API key> def index @events = Event.includes(:user) end def show @event = Event.find(params[:id]) @participants = @event.participants.includes(:user) @comments = @event.comments.includes(:user) #@goods_amount = Foodie::Participant....
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Web; using Microsoft.WindowsAzure; namespace Hoardr.DeltaJob { public class AppSettings { public string <API key> { get; set; } public string <API key> { get; set; } public string ...
@extends('layouts.app') @section('content') <div> <p> <a href="{{ url('admin/author/addnewauthor') }}" class="btn btn-primary">Add Author</a> </p> @if (count($authors) > 0) <div class="panel panel-primary"> <div class="panel-hea...
<!doctype html> <html> <head> <title>Bar Chart</title> <script src="js/ jquery-3.1.0.min.js"></script> <script src="js/Chart.min.js"></script> <style> canvas { -moz-user-select: none; -webkit-user-select: none; -ms-user-select: none; } </style> </head> <body> <di...
using Newtonsoft.Json; namespace NBAStatistics.Models.Models.Json { public class Resultset { [JsonProperty("name")] public string Name { get; set; } [JsonProperty("headers")] public string[] Headers { get; set; } [JsonProperty("rowset")] public object[][] RowSet {...
package com.brightdairy.personal.brightdairy; import android.app.Application; import com.brightdairy.personal.brightdairy.utils.GlobalConstants; import com.facebook.stetho.Stetho; public class MyApplication extends Application { @Override public void onCreate() { super.onCreate(); GlobalCons...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="de_AT" version="2.0"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Catchcoin Core</source> <translation type="unfinished"/> </message> <message> <locat...
<?php namespace Marfi\<API key>\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Marfi\<API key>\XMLHandlers\userXML; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Session; class <API key> extends Controller { ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>lazy-pcf: Not compatible </title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css"...
var books = require('../models/booksModels') //TODO: Send the right error messages exports.postBooks = function(req, res) { res.header("<API key>", "*") res.header("<API key>", "Origin, X-Requested-With, Content-Type, Accept") var newBook = new books(); newBook.department = req.body.department; ...
/* global require, module */ var EmberApp = require('ember-cli/lib/broccoli/ember-app'), mergeTrees = require('<API key>'), pickFiles = require('<API key>'); var app = new EmberApp({ sassOptions: { includePaths: [ 'bower_components/foundation/scss' ] } }); // Use `app.import` to add additional lib...
// Import dependency. import axios from 'axios'; // Define service class that can be imported and used to hit different PUT endpoints. export default class PutService { constructor(url) { this.url = url; } putItem(body) { axios.put(this.url, body) .catch((error) => {console.log(e...
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE html PUBLIC "- <html xmlns="http: <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>gendyc</title> <link rel="stylesheet" type="text/css" href="csound.css" /> <meta name="generator" content="DocBook XSL ...
<?php namespace Seboettg\CiteProc\Rendering\Date; use Exception; use Seboettg\CiteProc\CiteProc; use Seboettg\CiteProc\Exception\CiteProcException; use Seboettg\CiteProc\Exception\<API key>; use Seboettg\CiteProc\Rendering\Date\DateRange\DateRangeRenderer; use Seboettg\CiteProc\Styles\AffixesTrait; use Seboettg\CitePro...
FROM rainu/browser-base:16.04 MAINTAINER rainu <rainu@raysha.de> ENV DEBIAN_FRONTEND noninteractive #install Flash RUN echo "deb http://archive.canonical.com/ubuntu xenial partner" >> /etc/apt/sources.list &&\ apt-get update &&\ apt-get -y install \ adobe-flashplugin\ libgl1-mesa-dri\ li...
<?php /* box.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 = array()) { ...
// Notifications.h // Josh Wright // @BendyTree // June 4, 2013 // Use this however you want. #import <Foundation/Foundation.h> #import "PubSub.h" /* DECLARE YOUR PubSub Notifications HERE */ // ie. PubSub(nicknameChanged, NSString) // ie. PubSub(ageChanged, NSNumber)
#include <boost/assign/list_of.hpp> // for 'map_list_of()' #include <boost/foreach.hpp> #include "checkpoints.h" #include "main.h" #include "uint256.h" namespace Checkpoints { typedef std::map<int, uint256> MapCheckpoints; // What makes a good checkpoint block? // + Is surrounded by blocks with reasonable t...
# Change Log All notable changes to this project will be documented in this file. ## 6.0.0-rc.1 **Note 1**: RxSwift 6 and above has a minimum deployment target of iOS 9 and targets Swift 5.1 (Xcode 11) and above **Note 2**: Starting with RxSwift 6.x, RxSwift will no longer follow Swift versioning. Meaning, RxSwift can ...
using System; using System.Collections.Generic; using System.Text; using System.Drawing; using System.Windows.Forms; using System.IO; using ESRI.ArcGIS.Geodatabase; using ESRI.ArcGIS.esriSystem; namespace ArcGISCompare { internal static class MiscProcs { internal static String TrimText(string OrigText, Font f, ...
namespace <API key>.Services.Data.Contracts { using System.Linq; using Models; public interface ICommunitiesService : IService { IQueryable<Community> All(); IQueryable<Community> ByCurrentUser(); int Add(string Name, string Description = null); } }
# -*- coding: UTF-8 -*- # import os # import django # os.environ.setdefault("<API key>", "interface_platform.settings") # django.setup() from django.test import TestCase from testdata import CreateTestData from django.contrib.auth.models import User from account.models import Account from ..management.<API key> import ...
require "nodes/node_parent" require "nodes/node_assignment" require "nodes/node_loop" require "nodes/node_start" require "gen/jsvisitor" class Parser attr_reader :lookahead def initialize(lexer) @lexer = lexer end def test_tokens while @token = @lexer.input_token p @token break if @token.is_...
<div class="widget widget-cup-control"> @if ($cups and sizeof($cups) > 0) <ul class="list-unstyled"> @foreach ($cups as $cup) <li> <h4><a href="{{ url('cups/'.$cup->id.'/'.$cup->slug) }}" title="{{ $cup->title }}">{{ $cup->title }}</a></h4> ...
angular .module('app.directives') .directive('wps', wps) ; /* @ngInject */ function wps($mdBottomSheet, TemplateUrls) { return { scope: { race: '=', track: '=' }, replace: true, restrict: 'E', templateUrl: TemplateUrls.WPS, controller: controller }; /* @ngInject */ func...
module Bookland class ISBN < EAN PREFIXES = [%w(9 7 8), %w(9 7 9)] def valid? PREFIXES.include?(digits[0, 3]) && super end end end
#ifndef IPR1_UTILITY_H #define IPR1_UTILITY_H #include <cstdio> #include <cstdint> // prints string as hex static void phex(uint8_t* str) { uint8_t len = 16; unsigned char i; for (i = 0; i < len; ++i) printf("%.2x", str[i]); printf("\n"); } template <class T,class U> void set_bit(T* target,const...
using System; using System.Collections.Generic; using System.Text; namespace Nucleo.Windows.Actions { public class SelectionAction : IAction { #region " Constants " public const string DefaultActionName = "Selection"; #endregion #region " Properties " public string Action...
// models/Friend.js module.exports = function(mongoose) { var Schema = mongoose.Schema; var FriendSchema = new Schema({ id_usuario_a : String, id_usuario_b : String }); return mongoose.model('Friend', FriendSchema); }
var gulp = require('gulp'); var sass = require('gulp-sass'); var sourcemaps = require('gulp-sourcemaps'); var concat = require('gulp-concat'); var plumber = require('gulp-plumber'); var autoprefixer = require('gulp-autoprefixer'); var paths = { css: { src: './ngMain/static/css/src/', dist: './ngMain/static/cs...
# Changelog ## 1.4.7 * Update security protocol to use TLS 1.2 * Remove catalog file ## 1.4.6 * Update `HelpInfoUri` to point to the latest content ## 1.4.5 * Bug fix for deadlock when getting parameters in an event ## 1.4.4 * Bug fix when installing modules from private feeds ## 1.4.3 * Another bug fix when registerin...
module.exports = { lifecycle: { initialize: { listen: [ ], emit: [ ] } }, poolDefaults: { min: 1, max: 16 } }
QUnit.test( "Issue #114 - run createKernelMap the second time", function() { const gpu = new GPU(); const A = [1, 2, 3, 4, 5]; const B = [1, 2, 3, 4, 5]; function add(a,b){ return a + b; } const kernels = gpu.createKernelMap([add],function(a, b){ return a[this.thread.x] + b[this.thread.x]; })....
<?php declare(strict_types=1); namespace Valkyrja\Auth\Constants; /** * Constant UserField. * * @author Melech Mizrachi */ final class UserField { public const USERNAME = 'username'; public const PASSWORD = 'password'; public const EMAIL = 'email'; public const RESET_TOKEN = ...
// 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...
<!DOCTYPE HTML PUBLIC "- <!--NewPage <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_19) on Fri Oct 29 16:39:57 MSD 2010 --> <TITLE> Uses of Class org.apache.poi.hslf.model.Slide (POI API Documentation) </TITLE> <META NAME="date" CONTENT="2010-10-29"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../.....
<?php namespace Cacic\CommonBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * <API key> */ class <API key> { /** * @var integer */ private $<API key>; /** * @var \DateTime */ private $dtHrInclusao; /** * @var \Cacic\CommonBundle\Entity\ComputadorColeta */ priv...
package com.jgb.designpatterns.decorator.decorators.impl; import com.jgb.designpatterns.decorator.Pizza; import com.jgb.designpatterns.decorator.decorators.PizzaDecorator; public class Ham extends PizzaDecorator { private final Pizza pizza; public Ham(Pizza pizza) { this.pizza = pizza; } @Overri...
"use strict"; /* tslint:disable:no-unused-variable */ var testing_1 = require("@angular/core/testing"); var forms_1 = require("@angular/forms"); var <API key> = require("ng2-bootstrap-modal"); var dist_1 = require("<API key>/dist"); var router_1 = require("@angular/router"); var goal_1 = require("../../models/goal"); v...
#ifndef ABSTRACT_DATA_H #define ABSTRACT_DATA_H #include <stdio.h> #include <string> #include <measure/Inds.h> #include <measure/Measure.h> #include "../memory/Transients.h" #include "../utils/ToString.h" #include "DividedRange.h" using namespace std; namespace openworld { template <class TBase, class TNumeric, class...
package com.zephir.highlight; import com.intellij.openapi.editor.colors.TextAttributesKey; import com.intellij.openapi.fileTypes.SyntaxHighlighter; import com.intellij.openapi.options.colors.<API key>; import com.intellij.openapi.options.colors.ColorDescriptor; import com.intellij.openapi.options.colors.ColorSettingsPa...
// Type definitions for ag-grid v4.1.5 import { ICellRenderer, ICellRendererFunc } from "./cellRenderers/iCellRenderer"; export declare class CellRendererFactory { static ANIMATE_SLIDE: string; static ANIMATE_SHOW_CHANGE: string; static GROUP: string; private gridOptionsWrapper; private <API key>; ...
package geco.pojo; import java.util.HashSet; import java.util.Iterator; import java.util.Set; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; impo...
{{ define "main" }} <div class="taxonomy"> <ul class="taxonomy-list"> {{ $data := .Data }} {{ range $key, $value := .Data.Terms }} <li class="taxonomy-list-item"> <a href="/{{ $data.Plural }}/{{ $key | urlize }}">{{ $key }}</a><span>({{ len $value }})</span> </li> {{ end }} </ul> </d...
#ifndef AMGCL_IO_MM_HPP #define AMGCL_IO_MM_HPP /** * \file amgcl/io/mm.hpp * \author Denis Demidov <dennis.demidov@gmail.com> * \brief Readers for Matrix Market sparse matrices and dense vectors. */ #include <vector> #include <string> #include <fstream> #include <sstream> #include <numeric> #include <type_trait...
<!DOCTYPE html> <meta charset="utf-8" /> <title>WebSocket Test</title> <script language="javascript" type="text/javascript"> var wsUri = "ws://localhost:8085/ws"; var websocket, output, stopbtn; function init() { output = document.getElementById("output"); stopbtn = document.getElementById("stop"); ...
var <API key> = function() { this.Extends = GridListMediator; this.initialize = function(viewComponent) { this.parent(<API key>.ID,viewComponent); this.onListClick = this.onListClick.bindWithEvent(this); this.onLineClick = this.onLineClick.bindWithEvent(this); this.onKeyDown =...
package com.dgex.offspring.providers.dgex; import java.io.IOException; import java.net.<API key>; import java.net.URL; import java.util.ArrayList; import java.util.List; import org.apache.log4j.Logger; import com.dgex.offspring.dataprovider.service.<API key>; import com.dgex.offspring.providers.service.Currencies; impo...
using System; using System.Collections.Generic; using Android.Content; using Android.Runtime; using Android.Util; using Android.Widget; using Android.Graphics; namespace AnyPay { [Register("org.AnyPay.app.AnyPay.AnyPay.PaymentMethodRow")] class PaymentMethodRow : LinearLayout { private Context conte...
(function() { beforeEach(function() { this.id = _.uniqueId('test-'); return this.DOMElement = d3.select(document.body).append('div').classed('test-dom-container', true).classed("" + this.id, true).node(); }); afterEach(function() { var testReport, <API key>; <API key> = document.<API key>('test');...
using System; //### Problem 07. One system to any other
#include "mainwindow.h" #include "ui_mainwindow.h" #include <QFileDialog> #include <QMessageBox> #include <QProxyStyle> #include <QShortcut> #include <QMimeData> #include <cassert> #include "configdialog.h" MainWindow::MainWindow(ConfigService *configService, QWidget *parent) : QMainWindow(parent), ui(new Ui::M...
package dashboards import ( "fmt" "time" ) // <API key> represents a set of filters to be // used when querying New Relic dashboards. type <API key> struct { Category string `url:"filter[category],omitempty"` CreatedAfter *time.Time `url:"filter[created_after],omitempty"` CreatedBefore *ti...
var gulp = require('gulp'); // var plumber = require('gulp-plumber'); // var concat = require('gulp-concat'); // var uglify = require('gulp-uglify'); // var rename = require('gulp-rename'); // var connect = require('gulp-connect'); // var minifyCss = require('gulp-minify-css'); // var less = require('gulp-less'); // va...
<reference path="../typings/modules/lodash/index.d.ts" /> /* * cqjs/src/domain.js */ 'use strict' import * as _ from 'lodash' import { CommandDef, ICommandDef, ICommandHandlerFunc } from './command' import { EventDef, IEventDef, IEventLoaderFunc } from './event' import { IKeyFunc, Random } from './keygen' import { IF...
# Nested Zip File Expander for Blackboard & Zybook Zybooks stores students in a bunch of nested zips and it can be hard to work with. ZyExpander seeks to fix that problem by taking a nested zip file from Zybooks and organizing it into a better folder structure. This is pretty old, and the code isn't as nice as I'd like...
FactoryGirl.define do factory :field do association :parent name { Faker::Company.buzzword } end end
require "services" require "adapters" require "securerandom" require "gds_api_constants" class PublishingAdapter def save_draft(manual, republish: false, include_sections: true, include_links: true) save_manual(manual, republish: republish, include_links: include_links) if include_sections manual.sectio...
<script type="text/javascript"> window.location = "http://menegroth.github.io" </script> For now, links live on the homepage: [menegroth.github.io](http://menegroth.github.io) If you aren't redirected automatically, click the link above.
YUI.add('yui2-imageloader', function(Y) { var YAHOO = Y.YUI2; /** * The image loader is a framework to dynamically load images * according to certain triggers, enabling faster load times * and a more responsive UI. * * @module imageloader * @namespace YAHOO.util */ if (typeof(YAHOO.util.ImageLoader) == 'u...
require File.expand_path('../boot', __FILE__) require 'rails/all' # Require the gems listed in Gemfile, including any gems # you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) module RoRTest class Application < Rails::Application
$:.push File.expand_path('../../lib', __FILE__) require 'bash-visual' include Bash_Visual console = Console.new 'Font random demonstration'.chars do |char| console.write char, Font.new(:std, Font::rand_color(:black)) end
<?php declare(strict_types = 1); namespace App\Tests\Unit\Entity; use App\Entity\Role; use App\Entity\UserGroup; use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase; class RoleTest extends KernelTestCase { /** * @testdox Test that `Role::getUserGroups` returns expected */ public function <API key>(...
//Language: German //Translators: softwarerero, robhunt3r, sclausen, sarasate var de = { add: "hinzufügen", and: "und", back: "zurück", changePassword: "Passwort ändern", choosePassword: "Passwort auswählen", clickAgree: "Durch die Registrierung akzeptieren Sie unsere", configure: "Konfigurieren", creat...
Date: Mon, 25 Nov 1996 22:02:40 GMT Server: NCSA/1.5.2 Last-modified: Fri, 27 Sep 1996 13:17:56 GMT Content-type: text/html Content-length: 3893 <HTML> <!--AUTO-UPDATE <!--TITLE "Robert D. Rodman" <HEAD> <TITLE>NCSU/CSC: Robert D. Rodman</TITLE> </HEAD> <BODY BACKGROUND="http: BGCOLOR="#FFFFFF" TEXT="#0000BB" ...
from CGATReport.Tracker import * from rrbsReport import * class M3DSummaryTable(RrbsTracker): # pattern = "^summary_table$" def __call__(self, track, slice=None): statement = ''' SELECT group1 as Group_1, group2 as Group_2, total as Total, significant as <API key> FROM summary_t...
#include <event2/event.h> #ifdef <API key> // It would probably be ideal to define dummy test(s) that report skipped, but boost::test doesn't seem to make that practical (at least not in versions available with common distros) #include <map> #include <stdlib.h> #include <support/events.h> #include <test/setup_common.h>...
package io.echosystem.ebr.constant; /** * * @author Rodolpho Picolo <rodolphopicolo@gmail.com> */ public enum TipoDocumento { CTE(57), NFE(55), MDFE(58); private final int <API key>; private TipoDocumento(int <API key>){ this.<API key> = <API key>; } public int <API key>(){ return...
using System; namespace Wires.Tests { public static class WeakHelpers { public static void ExecuteAndCollect(Action execute) { execute(); Bindings.Purge(); // Forcing garbage collection GC.Collect(); GC.<API key>(); GC.Colle...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); $hook['<API key>'][] = array( 'function' => 'is_loged_in', 'filename' => 'authority.php', 'filepath' => 'hooks' ); $hook['<API key>'][] = array( 'function' => 'check_authority', 'filename' => 'authority.php', 'filepath' => 'ho...
-- Examples from chapter 8 -- http://learnyouahaskell.com/<API key> import qualified Data.Map as Map data Point = Point Float Float deriving (Show) data Shape = Circle Point Float | Rectangle Point Point deriving (Show) surface :: Shape -> Float surface (Circle _ r) = pi * r ^ 2 surface (Rectangle (Point x1 y1) (Point ...
define("ghost/utils/link-view", [], function() { "use strict"; Ember.LinkView.reopen({ active: Ember.computed('resolvedParams', 'routeArgs', function () { var isActive = this._super(); Ember.set(this, 'alternateActive', isActive); return isActive; }), ...
using RealCrowd.HelloSign.Models; using System.Threading.Tasks; using System; namespace RealCrowd.HelloSign.Clients { public class TemplateService : ITemplateService { private ISettings settings; private IHelloSignService helloSignService; public TemplateService(ISettings settings, IHell...
#include "main.h" #include "db.h" #include "init.h" #include "bitcoinrpc.h" using namespace json_spirit; using namespace std; // Return average network hashes per second based on the last 'lookup' blocks, // or from the last difficulty change if 'lookup' is nonpositive. // If 'height' is nonnegative, compute the estima...
<?php namespace App\Modules\Demo\Services\Database; use Nova\Database\Service; class Car extends Service { protected $fetchClass = '\App\Modules\Demo\Models\Entities\Car'; protected $table = "car"; protected $primaryKeys = array("carid"); public function __construct() { parent::__cons...
<!doctype html> <html class="default no-js"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Address | tsty</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href=".....
var debug = require('debug')('prototype-chain'); var test = require('tape'); test(' //Global declarations of functions and variables creates properties inside 'this' object because it is <API key> for the Global EC assert.equal(1, GLOBAL_OBJECT.GLOBAL_VAR); assert.equal(2, GLOBAL_OBJECT.fn()); t.end(); }); test...
'use strict'; /** * Module dependencies. */ const request = require('supertest'); const should = require('should'); const util = require('util'); const Mowa = require('../lib/mowa.js'); function createMowa() { return new Mowa('MowaBVT', { etcPath: 'test/etc-mocha', modulesPath: 'test/web_modules' }); } describe('...
<?php /* FOSUserBundle:Security:login.html.twig */ class <API key> extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); // line 1 try { $this->parent = $this->env->loadTemplate("FOSUserBundle::layout.html.twig"); } ca...
<?php namespace Tests\Behat\Gherkin; use Symfony\Component\Finder\Finder, Symfony\Component\Translation\Translator, Symfony\Component\Translation\MessageSelector, Symfony\Component\Translation\Loader\XliffFileLoader; use Behat\Gherkin\Lexer, Behat\Gherkin\Parser, Behat\Gherkin\Node, Behat\Gherki...
# encoding: utf-8 class Courier::Mailer::Base < ActionMailer::Base attr_accessor :context def initialize(method_name, _context, *args) self.context = _context super( method_name, context, *args ) end def mail(headers={}, &block) super get_headers(headers), &block end private def get_headers h=...
# qr-app-vue-frontend > A Vue.js project Front End to use the qr-backend ## Features - [x] Login as participant - [x] Logout as participant - [x] Login as instructor - [x] Logout as instructor - [x] Show participant qr-code - [x] Show instructor course list - [x] Show instructor register participant to course window - ...
var newBlock = require('./new-block.js'); module.exports = function lostAlign(css, settings) { css.walkDecls('lost-align', function <API key>(decl) { var declArr = []; var alignDirection; var flexbox = settings.flexbox; declArr = decl.value.split(' '); alignDirection = declArr[0]; if (declArr....
# node-surveymonkey A node.js library for the SurveyMonkey API _node-surveymonkey_ exposes the following features of the SurveyMonkey API to your node.js application: * SurveyMonkey API (Versions v3) SurveyMonkey API (Version v2) has been hard deprecated. See [https: Further information on the SurveyMonkey API and it...
// angular import { NgModule, Optional, SkipSelf } from '@angular/core'; import { CommonModule } from '@angular/common'; // libs import { StoreModule } from '@ngrx/store'; // app import { HoodieService } from './hoodie.service'; /** * Do not specify providers for modules that might be imported by a lazy loaded module....
import cPickle as pickle import numpy as np import re from math import log from dic import Info from config.config import config from tools import tokenlize, comp_tuple, weights class query_voc(object): def __init__(self, tokens, dic): self.tokens = tokens self.dic = dic class query_entry(object): ...
/*! \file fbxfilesdk_nsend.h */ #ifdef <API key> } #endif
var intersectsWithSome = require('./intersection').intersectsWithSome; var <API key> = require('./<API key>'); module.exports = function <API key>(intervals, options) { options = options || {}; if (!Array.isArray(intervals)) { throw new Error('The interval packer requires an array of objects with start ...