answer
stringlengths
15
1.25M
/* * This file exports the configuration Express.js back to the application * so that it can be used in other parts of the product. */ var path = require('path'); var logger = require('morgan'); var cookieParser = require('cookie-parser'); var bodyParser = require('body-parser'); var session = require('express-sessi...
layout: pattern summary: "Base classes for creating simple 'nav-like' lists. Ideal for simple nav menus or for forming the basis of more complex navigation componenets." <ul class="tan-nav-menu <API key>"> {% for i in (1..4) %} <li class=""> <a href="#">Stacked Link {{i}}</a> </li> {% endfor %} ...
(function() { chai.should(); describe("Dropzone", function() { var getMockFile, xhr; getMockFile = function() { return { status: Dropzone.ADDED, accepted: true, name: "test file name", size: 123456, type: "text/html" }; }; xhr = null; beforeEac...
answer = sum [1..100] ^ 2 - foldl (\x y -> y^2 + x) 0 [1..100]
/** * generated by Xtext */ package dk.itu.smdp.group2.ui.outline; import org.eclipse.xtext.ui.editor.outline.impl.<API key>; @SuppressWarnings("all") public class <API key> extends <API key> { }
<?php define('ROOT_PATH', __DIR__ . '/'); require ROOT_PATH . 'loader.php'; $app = new Ghz\App(); // Handle our two cases: // - Redirect (when requestiong anything except BASEPATH) // - Save URL when posted here. $app->doRedirect(); $app->savePostedUrl(); ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> ...
<!DOCTYPE html> <html> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> <title>module Rack::Mime - 'Rack Documentation'</title> <link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet"> <script type="text/javascript"> var rdoc_rel_prefix = "../"; </script> <script type="text/...
package wsclient import ( "github.com/cosminrentea/gobbler/testutil" "fmt" "strings" "testing" "time" "github.com/gorilla/websocket" "github.com/stretchr/testify/assert" ) var aNormalMessage = `/foo/bar,42,user01,phone01,{},,1420110000,0 Hello World` var aSendNotification = "#send" var anErr...
namespace LadderLogic.Controller.State { using Surface; public class CursorState : State { public CursorState () : base(StateType.CursorState) { } #region implemented abstract members of State public override bool Handle (State previous, Segment prevSegment, Segment n...
# 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::Network::Mgmt::V2019_12_01 module Models # A load balancer probe. class Probe < SubResource include MsRestAzure # @return...
#pragma once #include <mime/mimepp/mimepp.h> namespace Zimbra { namespace MAPI { #define PR_URL_NAME PROP_TAG(PT_TSTRING, 0x6707) #define EXCHIVERB_OPEN 0 #define <API key> 100 #define <API key> 101 #define <API key> 102 #define <API key> 103 #define ...
<?php namespace Juice\UploadBundle\Form\Type; use Symfony\Component\Form\FormInterface; use Symfony\Component\Form\FormView; use Symfony\Component\OptionsResolver\<API key>; class BaseFileType extends AbstractUploadType { public function buildView(FormView $view, FormInterface $form, array $options) { $...
<html> <head> <meta http-equiv="refresh" content="0; url=https://minecrafthopper.net/"> <link rel="canonical" href="https://minecrafthopper.net/"/> </head> </html>
<?php namespace TFE\LibrairieBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\<API key>; class <API key> extends AbstractType { /** * @param <API key> $builder * @param array $options */ public function buildForm(<API key> $builder, array $options) {} /** ...
using Dufry.Comissoes.Domain.Validation; namespace Dufry.Comissoes.Domain.Interfaces.Validation { public interface IValidation<in TEntity> { ValidationResult Valid(TEntity entity); } }
import {HttpClient} from '@angular/common/http'; import {Injectable} from '@angular/core'; import {Observable, ReplaySubject, throwError} from 'rxjs'; import {map, tap, switchMap} from 'rxjs/operators'; import {SocketService} from './sockets'; import {StorageService} from './storage'; @Injectable({ providedIn: 'roo...
{-# LANGUAGE DataKinds #-} {-# LANGUAGE TypeOperators #-} module DirectoryAPI.API ( directoryAPIProxy , DirectoryAPI ) where import Servant import AuthAPI.API (AuthToken) import Models (File, Node, NodeId) type DirectoryAPI = "ls" :> -- List all files AuthToken :> Get '...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <script src="jquery/jquery-1.8.1.js"></script> <script src="jquery/jquery-ui-1.10.3.custom.js"></script> <script src="treema/tv4.js"></script> <script src="treema/treema.js"></script> <link href="jquery/jquery-ui-1.10.3.custom.css" rel="styleshe...
package com.lightspeedhq.ecom; import com.lightspeedhq.ecom.domain.LightspeedEComError; import feign.FeignException; import lombok.Getter; /** * * @author stevensnoeijen */ public class <API key> extends FeignException { @Getter private LightspeedEComError error; public <API key>(String message, Lightspe...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="eu_ES" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About POPCoin</source> <translation>POPCoin-i buruz</translation> <...
<?php namespace ZpgRtf\Tests\Objects; use PHPUnit\Framework\TestCase; use ZpgRtf\Objects\EpcRatingsObject; class <API key> extends TestCase { /** * @var EpcRatingsObject */ protected $object; public function setUp() { $this->object = new EpcRatingsObject(); } public function te...
import sys tagging_filepath = sys.argv[1] following_filepath = sys.argv[2] delim = '\t' if len(sys.argv) > 3: delim = sys.argv[3] graph = {} for line in open(tagging_filepath): entry = line.rstrip().split('\t') src = entry[0] dst = entry[1] if not src in graph: graph[src] = {} graph[src][dst] = ...
#include "core/or/or.h" #ifndef <API key> #define <API key> /** An element of mock_saved_logs(); records the log element that we * received. */ typedef struct <API key> { int severity; const char *funcname; const char *suffix; const char *format; char *generated_msg; } <API key>; void <API key>(void); const ...
package plaid import ( "encoding/json" ) // <API key> <API key> defines the response schema for `/wallet/transaction/execute` type <API key> struct { // A unique ID identifying the transaction TransactionId string `json:"transaction_id"` Status <API key> `json:"status"` // A unique identifier for th...
chrome.app.runtime.onLaunched.addListener(function(){ chrome.app.window.create('index.html', { bounds: { width: Math.round(window.screen.availWidth - 100), height: Math.round(window.screen.availHeight - 100) } }); });
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') require "yaml" shared_examples "a bullet" do let(:capacity) { 2 } subject do described_class.new(:machines => machines, :guns => capacity) end describe :fire do it "spawns correct number of threads" do bullets = ["first", "second"] ...
FactoryGirl.define do factory :transaction do |t| t.description "Test transaction" t.association :account_from, :factory => :foo_account t.association :account_to, :factory => :foo_account t.amount 10.00 end factory :invoice_payment, :parent => :transaction do auxilliary_model :factory => :inv...
// AppDelegate.h // EXTabBarController #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <<API key>> @property (strong, nonatomic) UIWindow *window; @end
"use strict"; var task = require("../tasks/tar.gz"), fs = require("fs"); exports["targz"] = { setUp: function(done) { // setup here done(); }, "targz sqlite3": function(test) { test.expect(1); var actual; actual = fs.statSync("tmp/node_sqlite3.node"); test...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { Comp625Component } from './comp-625.component'; describe('Comp625Component', () => { let component: Comp625Component; let fixture: ComponentFixture<Comp625Component>; beforeEach(async(() => { TestBed.<API key>({ declarati...
require 'moosex/types' require 'moosex/attribute/modifiers' module MooseX class Attribute include MooseX::Types attr_reader :attr_symbol, :methods, :attribute_map def is ; @attribute_map[:is] ; end def writter ; @attribute_map[:writter] ; end def reader ; @attribute_map[:reader] ; end ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Login Page - Photon Admin Panel Theme</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0"> <link rel="shortcut icon" href="http://photonui.orangehilldev.com/images/photo...
#include<stdio.h> int main(void) { double a,b; printf("Enter a\&b:\n"); while(scanf("%lf%lf",&a,&b)==2) { printf("%.3g - %.3g / %.3g * %.3g = %.3g .\n",a,b,a,b,(double)(a-b)/(a*b)); printf("\n"); printf("Enter a\&b:\n"); } printf("done!"); return 0; }
using Microsoft.SPOT.Hardware; namespace GrFamily.MainBoard { <summary> LEDƒNƒ‰ƒX </summary> public class Led { <summary>LED‚ªÚ‘±‚³‚ꂽƒsƒ“</summary> protected readonly OutputPort LedPort; <summary> ƒRƒ“ƒXƒgƒ‰ƒNƒ^ </summary> <param name="pin">LED‚ªÚ‘...
FROM midvalestudent/jupyter-scipy:latest USER root ENV HOME /root ADD requirements.txt /usr/local/share/requirements.txt RUN pip install --upgrade pip && pip install -r /usr/local/share/requirements.txt # Download/build/install ffmpeg ARG FFMPEG_VERSION ENV FFMPEG_VERSION ${FFMPEG_VERSION:-"3.2"} RUN DEBIAN_FRONTEND=no...
<img src="icon.png" alt="Icon" width="128"> NUS Exam Paper Downloader ============ Simple script to download exam papers from the NUS database. Requires NUSNET login. Runs on Python 2.7 only. Using via Command Line $ python examdownloader-cli.py The required username and target destination can be set in the script or p...
module ngFoundation.directives { //@NgDirective('topBarSection') class <API key> implements ng.IDirective { template = '<section class="top-bar-section" ng-transclude></section>'; restrict = "E"; transclude = true; replace = true; } }
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe "Three20" do it "fails" do fail "hey buddy, you should probably rename this file and start specing for real" end end
if (Zepto.ajax.restore) { Zepto.ajax.restore(); } sinon.stub(Zepto, "ajax") .yieldsTo("success", { responseStatus : 200, responseDetails : null, responseData : { feed: { link : "http://github.com", title : "GitHub Public Timeline", entries : [ { title ...
#include "estimation/sensors/make_interpolator.hh" namespace estimation { geometry::spatial::TimeInterpolator <API key>( const std::vector<TimedMeasurement<jet_filter::AccelMeasurement>>& accel_meas, const ImuModel& imu_model) { std::vector<geometry::spatial::TimeControlPoint> points; for (const aut...
# coding=utf-8 import threading from typing import Optional, Tuple from pyqrllib.pyqrllib import bin2hstr from pyqryptonight.pyqryptonight import StringToUInt256, UInt256ToString from qrl.core import config, BlockHeader from qrl.core.AddressState import AddressState from qrl.core.Block import Block from qrl.core.BlockM...
<?php namespace Nitrapi\Common\Exceptions; class <API key> extends NitrapiException { }
var baseURL; $.validator.addMethod("alfanumerico", function(value, element) { return this.optional(element) || /^[-._a-z0-9\- ]+$/i.test(value); }, "Este campo es alfanumerico."); $("#<API key>").validate({ rules : { descripcion : "required", codigo : {required:true,alfanumerico:...
export { default } from '<API key>/controllers/<API key>/new';
<?php use Illuminate\Http\Request; //Route::middleware('auth:api')->get('/user', function (Request $request) { // return $request->user(); //Route::get('wechat/index', 'WechatController@index');
#ifndef _ZLX_PLATFORM_H #define _ZLX_PLATFORM_H #include "arch.h" #if defined(ZLX_FREESTANDING) && ZLX_FREESTANDING #else # undef ZLX_FREESTANDING # define ZLX_FREESTANDING 0 # if defined(_WIN32) # define ZLX_MSWIN 1 # elif defined(_AIX) # define ZLX_AIX 1 # elif defined(__unix__) || defined(__unix) # define ZLX_UNI...
title: Color Palette layout: page description: taCss color palette same as the Material Design Lite color palette. utilities: true <div class="row p-3"> <h6>color setup</h6> <div class="code col-12 info p-3 m-b-3"> {% highlight scss %} /* colors setups in "core/_variables.scss" */ /* enable/disable the defaul...
# testtesttest-yo [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Code Coverage][coverage-image]][coverage-url] [![Code Climate][climate-image]][climate-url] [![License][license-image]][license-url] [![Code Style][code-style-image]][...
package com.board.gd.domain.stock; import lombok.Data; import java.util.List; import java.util.stream.Collectors; @Data public class StockResult { private Long id; private String name; private String code; public static StockResult getStockResult(Stock stock) { StockResult stockResult = new Stoc...
<?php namespace Mekras\Interfaces\Http\Message; use Psr\Http\Message\RequestInterface; interface RequestFactory { /** * Create empty HTTP request * * @return RequestInterface * * @since 3.02 */ public function createEmptyRequest(); }
<! Unsafe sample input : get the UserData field of $_SESSION Uses a number_float_filter via filter_var function File : unsafe, use of untrusted data in CSS <!--Copyright 2015 Bertrand STIVALET Permission is hereby granted, without written agreement or royalty fee, to use, copy, modify, and distribute this software and ...
var today = new Date(); console.log(today);
var RocketBoots = { isInitialized : false, readyFunctions : [], components : {}, loadedScripts: [], version: {full: "0.7.0", major: 0, minor: 7, patch: 0, codeName: "sun-master"}, <API key>: true, _initTimer : null, _MAX_ATTEMPTS : 300, _BOOTING_ELEMENT_ID : "<API key>", _: null,...
<?php namespace ErenMustafaOzdal\LaravelModulesBase; use Illuminate\Database\Eloquent\Model; class Neighborhood extends Model { /** * The database table used by the model. * * @var string */ protected $table = 'neighborhoods'; /** * The attributes that are mass assignable. * ...
#!/usr/bin/env python3 """Utilities for manipulating blocks and transactions.""" import struct import time import unittest from .address import ( key_to_p2sh_p2wpkh, key_to_p2wpkh, <API key>, script_to_p2wsh, ) from .messages import ( CBlock, COIN, COutPoint, CTransaction, CTxIn, ...
#include "StdAfx.h" #include "Distance Joint Description.h" #include "Spring Description.h" #include "Distance Joint.h" #include <NxDistanceJointDesc.h> using namespace StillDesign::PhysX; <API key>::<API key>() : JointDescription( new NxDistanceJointDesc() ) { } <API key>::<API key>( NxDistanceJointDesc* desc ) : Join...
using UnityEngine; using UnityEditor; using System.Collections; using UForms.Attributes; namespace UForms.Controls.Fields { <summary> </summary> [ExposeControl( "Object Field", "Fields" )] public class ObjectField : AbstractField< Object > { <summary> </summary> protected ove...
using Microsoft.AspNetCore.Http; using System.Linq; using System; using System.Collections.Generic; using System.Text; using System.IO; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Http.Internal; using Microsoft.Extensions.Primitives; using System.Globalization; namespace TCPServer.S...
<?php namespace VirtualPersistAPI\<API key>\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 { ...
import { Selector } from 'testcafe' import { ROOT_URL, login } from '../e2e/utils' // <API key> fixture`imported data check`.beforeEach(async (t /*: TestController */) => { await t.<API key>(() => true) await t.navigateTo(`${ROOT_URL}/login`) await login(t) }) test('wait entry', async (t /*: TestController */) =>...
layout: post date: '2016-12-21' title: "Compelling Strapless Sleeveless Full Back Floor Length Satin Sheath Wedding Dress " category: Wedding Dress tags: ["dress","full","floor","length","bride"] image: http: Compelling Strapless Sleeveless Full Back Floor Length Satin Sheath Wedding Dress On Sales: **$195.594** <a hre...
<div itemprop="description" class="col-12"> <div [innerHTML]="description | sanitizeHtml"></div> </div>
# This program is free software; you can redistribute it and/or modify it # This program is distributed in the hope that it will be useful, but # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin St, Fifth Floor, Bos...
from .DiscreteFactor import State, DiscreteFactor from .CPD import TabularCPD from .<API key> import <API key> __all__ = ['TabularCPD', 'DiscreteFactor', 'State' ]
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Dev to DevOps</title> <meta name="description" content="A framework for easily creating beautiful presentations using HTML"> <meta name="author" content="Hakim El Hattab"> <meta name="<API key>" content="yes" /> <meta name="...
/* Ql builtin and external frmt command. format text */ package frmt import ( "clive/cmd" "clive/cmd/opt" "clive/nchan" "clive/zx" "errors" "fmt" "io" "strings" "unicode" ) type parFmt { rc chan string ec chan bool } func startPar(out io.Writer, indent0, indent strin...
({ baseUrl: "../linesocial/public/js", paths: { jquery: "public/js/libs/jquery-1.9.1.js" }, name: "main", out: "main-built.js" })
<?php namespace Usolv\TrackingBundle\Form\Model; use Doctrine\Common\Collections\ArrayCollection; class TimeRecordSearch { protected $project; public function setProject($project) { $this->project = $project; return $this; } public function getProject() { return $this->pr...
from crispy_forms.helper import FormHelper from crispy_forms.layout import Fieldset, Layout from django import forms from django.contrib.auth.forms import AuthenticationForm from django.contrib.auth.models import User from django.contrib.auth.password_validation import validate_password from django.core.exceptions impo...
<!DOCTYPE html><html><head><meta charset=utf-8><meta itemprop=name content=ESS_><meta name=keywords content=", "><meta name=description content=", , , "><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"><link rel=icon href=./logo.png><link href=/static/css/app.<API key>.cs...
/* exported Qualifications */ function Qualifications(skills, items) { var requirements = { 'soldier': { meta: { passPercentage: 100 }, classes: { 'Heavy Assault': { certifications: [ ...
package addonloader.util; import java.io.File; import java.io.<API key>; import java.io.FileOutputStream; import java.io.FileReader; import java.io.IOException; import java.util.Properties; /** * Simple wrapper around {@link Properites}, * allowing to easily access objects. * @author Enginecrafter77 */ public class...
print ARGF.read.gsub!(/\B[a-z]+\B/) {|x| x.split('').sort_by{rand}.join}
require 'minitest/autorun' require 'minitest/pride' require 'bundler/setup' Bundler.require(:default) require 'active_record' require File.dirname(__FILE__) + '/../lib/where_exists' ActiveRecord::Base.default_timezone = :utc ActiveRecord::Base.<API key> = true ActiveRecord::Base.<API key>( :adapter => 'sqlite3', :d...
const ConfigLoader = require( 'easy/core/ConfigLoader' ) const EventsEmitter = require( 'events' ) /** * @class Database */ class Database { /** * @constructor */ constructor( config ) { this._config = config this.stateEmitter = new EventsEmitter() this.name = config.config.n...
import { useEffect, useRef, useState } from "react" import * as React from "react" import { RelayPaginationProp, RelayRefetchProp, <API key>, } from "react-relay" import { graphql } from "relay-runtime" import Waypoint from "react-waypoint" import { Box, Flex, Spacer, Spinner } from "@artsy/palette" import compac...
layout: post title: Hybrid color: blue width: 3 height: 1 category: hybrid # Hybrid ![""]({{"/assets/framework/1.png" | prepend: site.baseurl }}) # Common Scss Widget ![""]({{"/assets/framework/2.png" | prepend: site.baseurl }}) *** **Scss ** component * _button() * _list-item( ) * _name-gender( ) * _not...
<?php class LinterTests extends <API key> { /** * @param string $source * @param \Superbalist\Money\Linter\Tests\LinterTestInterface $test */ protected function <API key>($source, \Superbalist\Money\Linter\Tests\LinterTestInterface $test) { $result = $test->analyse($source); $...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>hammer: Not compatible </title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" r...
package ch.bisi.koukan.job; import ch.bisi.koukan.provider.<API key>; import ch.bisi.koukan.repository.DataAccessException; import ch.bisi.koukan.repository.<API key>; import java.io.IOException; import java.io.InputStream; import java.net.URL; import javax.xml.stream.XMLInputFactory; import javax.xml.stream.XMLStreamE...
<?php namespace JetMinds\Job\Updates; use Schema; use October\Rain\Database\Schema\Blueprint; use October\Rain\Database\Updates\Migration; class CreateResumesTable extends Migration { public function up() { Schema::create('<API key>', function(Blueprint $table) { $table->engine = 'InnoDB'; ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xaml...
using System; using System.Diagnostics; namespace Oragon.Architecture.IO.Path { partial class PathHelpers { #region Private Classes private sealed class RelativeFilePath : RelativePathBase, IRelativeFilePath { #region Internal Constructors internal RelativeFilePat...
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2014.05.03 at 03:15:27 PM EDT package API.amazon.mws.xml.JAXB; import javax.xml.bind.annotation.XmlAcces...
// HtmlAgilityPack V1.0 - Simon Mourier <simon underscore mourier at hotmail dot com> namespace Marius.Html.Hap { <summary> Represents a base class for fragments in a mixed code document. </summary> public abstract class <API key> { #region Fields internal MixedCodeDocument Doc; ...
import React from 'react' import { User } from '../../lib/accounts/users' import styled from '../../lib/styled' import MdiIcon from '@mdi/react' import { mdiAccount } from '@mdi/js' import { <API key> } from './styled' import { useTranslation } from 'react-i18next' interface UserProps { user: User signout: (user: U...
#include "TextItem.h" #include <QPainter> #include <QFont> #include <QDebug> TextItem::TextItem(const QString& text, QGraphicsLayoutItem *parent) : BaseItem(parent) { _text = text; QFont font; font.setPointSize(11); font.setBold(false); setFont(font); } TextItem::~TextItem() { } void TextItem::s...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>LCOV - coverage.infosrc/core</title> <link rel="stylesheet" type="text/css" href="../../gcov.css"> </head> <body> <table width="100%" border=0 c...
import {writeFile} from 'fs-promise'; import {get, has, merge, set} from 'lodash/fp'; import flatten from 'flat'; import fs from 'fs'; import path from 'path'; const data = new WeakMap(); const initial = new WeakMap(); export default class Config { constructor(d) { data.set(this, d); initial.set(this, Object....
package net.sourceforge.pmd.lang.dfa.report; public class ClassNode extends AbstractReportNode { private String className; public ClassNode(String className) { this.className = className; } public String getClassName() { return className; } public boolean equalsNode(AbstractRepor...
<?php namespace Helpers; use Drivers\Templates\Implementation; use Exceptions\BaseException; use Drivers\Cache\CacheBase; use Drivers\Registry; class View { /** *This is the constructor class. We make this private to avoid creating instances of *this object * *@param null *@return void ...
package pl.mmorpg.prototype.server.objects.monsters.properties.builders; import pl.mmorpg.prototype.clientservercommon.packets.monsters.properties.MonsterProperties; public class <API key> extends MonsterProperties.Builder { @Override public MonsterProperties build() { experienceGain(100) ...
using Microsoft.DataTransfer.AzureTable.Source; using System; using System.Globalization; namespace Microsoft.DataTransfer.AzureTable { <summary> Contains dynamic resources for data adapters configuration. </summary> public static class <API key> { <summary> Gets the description for ...
// Karma configuration // Generated on Thu Aug 21 2014 10:24:39 GMT+0200 (CEST) module.exports = function(config) { config.set({ // base path that will be used to resolve all patterns (eg. files, exclude) basePath: '', // frameworks to use frameworks: ['mocha', 'chai-jquery', 'jquery-1.8.3', 'sinon-ch...
using System.Threading; using CodeTiger; using Xunit; namespace UnitTests.CodeTiger { public class LazyTests { public class Create1 { [Fact] public void <API key>() { var target = Lazy.Create<object>(); Assert.False(target.IsVal...
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"/><!-- using block title in layout.dt--><!-- using block ddox.defs in ddox.layout.dt--><!-- using block ddox.title in ddox.layout.dt--> <title>Function <API key></title> <link rel="stylesheet" type="text/css" href="../../styles/ddox.css"/> ...
package main import ( "bufio" "fmt" "os" "strconv" "strings" ) func main() { sc := bufio.NewScanner(os.Stdin) sc.Split(bufio.ScanWords) n := nextInt(sc) a := nextInt(sc) b := nextInt(sc) answer := 0 for i := 1; i <= n; i++ { sum := 0 for _, s := range fmt....
export default function _isString(obj) { return toString.call(obj) === '[object String]' }
<!-- description --> ## Install bash $ npm install cortex-ls --save ## Usage js var cortex_ls = require('cortex-ls); ## Licence MIT <!-- do not want to make nodeinit to complicated, you can edit this whenever you want. -->
import Vue from 'vue' import Router from 'vue-router' import index from '../components/index' import project from '../components/project/index' import proAdd from '../components/project/proAdd' import proList from '../components/project/proList' import apiList from '../components/project/apiList' import apiView from '....