answer
stringlengths
15
1.25M
<?php /** * @see <API key> */ require_once 'Zend/Controller/Front.php'; class <API key> { /** * Get the response object * * @return <API key> */ public function getResponse() { return <API key>::getInstance()->getResponse(); } }
<?php /** * Xmlconnect form checkbox element * * @category Mage * @package Mage_XmlConnect * @author Magento Core Team <core@magentocommerce.com> */ class <API key> extends <API key> { /** * Init checkbox element * * @param array $attributes */ public function __constru...
<?php /** * Catalog product option values collection * * @category Mage * @package Mage_Catalog * @author Magento Core Team <core@magentocommerce.com> */ class <API key> extends <API key> { /** * Resource initialization */ protected function _construct() { $this->_ini...
# -*- coding: utf-8 -*- """Git tools.""" from shlex import split from plumbum import <API key> from plumbum.cmd import git DEVELOPMENT_BRANCH = "develop" def run_git(*args, dry_run=False, quiet=False): """Run a git command, print it before executing and capture the output.""" command = git[split(" ".join(args))...
package testclasses; import de.unifreiburg.cs.proglang.jgs.support.DynamicLabel; import util.printer.SecurePrinter; public class PrintMediumSuccess { public static void main(String[] args) { String med = "This is medium information"; med = DynamicLabel.makeMedium(med); SecurePrinter.printMed...
define(["pat-autoscale", "jquery"], function(pattern, jQuery) { describe("pat-autoscale", function() { beforeEach(function() { $("<div/>", {id: "lab"}).appendTo(document.body); $(window).off(".autoscale"); }); afterEach(function() { $("#lab").remove(); ...
require 'spec_helper' RSpec.describe Spree::CheckoutController, type: :controller do # copied from original checkout controller spec let(:token) { 'some_token' } let(:user) { FactoryGirl.create(:user) } let(:order) { OrderWalkthrough.up_to(:delivery) } before do <API key>(ActionDispatch::Request).to recei...
#include "pri.h" #include "<API key>.h" #include "iip_erase_dot_noise.h" void iip_erase_dot_noise::_exec_uchar( long l_width, long l_height, long l_area_xpos, long l_area_ypos, long l_area_xsize, long l_area_ysize, long l_channels, unsigned char *ucharp_in, unsigned char *ucharp_out ) { long l_start, l_scansize;...
// Use of this source code is governed by an ISC package wire_test import ( "bytes" "io" ) // fixedWriter implements the io.Writer interface and intentially allows // testing of error paths by forcing short writes. type fixedWriter struct { b []byte pos int } // Write writes the contents of p to w. W...
java_import 'org.apollo.game.action.DistancedAction' # A distanced action which opens a door. class OpenDoorAction < DistancedAction include DoorConstants attr_reader :door def initialize(mob, door) super(0, true, mob, door.position, DOOR_SIZE) @door = door end def executeAction mob.turn_to(@door....
import * as React from 'react'; import { BsPrefixComponent } from './helpers'; interface NavbarToggleProps { label?: string; } declare class NavbarToggle< As extends React.ReactType = 'button' > extends BsPrefixComponent<As, NavbarToggleProps> {} export default NavbarToggle;
using System; using System.ComponentModel; using System.Drawing; using System.Windows.Forms; namespace DotSpatial.Symbology.Forms { public partial class LineSymbolDialog { <summary> Required designer variable. </summary> private System.ComponentModel.IContainer components = null;...
function* f() { var x; try { x = yield 1; } catch (ex) { yield ex; } return 2; } var g = f(); expect(g.next()).toEqual({value: 1, done: false}); expect(g.next()).toEqual({value: 2, done: true}); g = f(); expect(g.next()).toEqual({value: 1, done: false}); expect(g.throw(3)).toEqual({value: 3, done: fal...
package events import ( "errors" "github.com/miketheprogrammer/go-thrust/lib/commands" "github.com/miketheprogrammer/go-thrust/lib/dispatcher" ) /* Create a new EventHandler for a give event. */ func NewHandler(event string, fn interface{}) (ThrustEventHandler, error) { h := ThrustEventHandler{} h.E...
package edu.pacificu.cs493f15_1.paperorplasticapp; import org.junit.Test; import static org.junit.Assert.*; /** * To work on unit tests, switch the Test Artifact in the Build Variants view. */ public class ExampleUnitTest { @Test public void addition_isCorrect() throws Exception { assertEquals(4, 2 + 2); ...
from __future__ import unicode_literals from .atomicparsley import AtomicParsleyPP from .ffmpeg import ( FFmpegPostProcessor, FFmpegAudioFixPP, <API key>, <API key>, <API key>, FFmpegMergerPP, FFmpegMetadataPP, <API key>, ) from .xattrpp import XAttrMetadataPP from .execafterdownload imp...
package com.hearthsim.test.minion; import com.hearthsim.card.Card; import com.hearthsim.card.CharacterIndex; import com.hearthsim.card.basic.minion.BoulderfistOgre; import com.hearthsim.card.basic.minion.RaidLeader; import com.hearthsim.card.classic.minion.common.ScarletCrusader; import com.hearthsim.card.classic.minio...
// Type definitions for yargs 17.0 // The following TSLint rules have been disabled: // unified-signatures: Because there is useful information in the argument names of the overloaded signatures // Convention: // Use 'union types' when: // - parameter types have similar signature type (i.e. 'string | ReadonlyArray<str...
using Mono.Cecil; namespace Cake.Web.Docs.Reflection.Model { <summary> Represents reflected method information. </summary> public interface IMethodInfo { <summary> Gets the method identity. </summary> <value>The method identity.</value> string Identity { get; ...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly...
<?php namespace Zephir\Detectors; /** * ForValueUseDetector. * * Detects whether the traversed variable is modified within the 'for's block */ class ForValueUseDetector extends WriteDetector { /** * ForValueUseDetector constructor. * * Initialize detector with safe defaults */ public fun...
<?php namespace Platformsh\Cli\Command\Integration; use Platformsh\Cli\Command\PlatformCommand; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; class <API key> extends PlatformCommand { /** * {@inheritd...
# Wind River Workbench generated Makefile. # Do not edit!!! # The file ".wrmakefile" is the template used by the Wind River Workbench to # generate the makefiles of this project. Add user-specific build targets and # make rules only(!) in this project's ".wrmakefile" file. These will then be # automatically dumped into...
__author__ = 'Nishanth' from juliabox.cloud import JBPluginCloud from juliabox.jbox_util import JBoxCfg, retry_on_errors from googleapiclient.discovery import build from oauth2client.client import GoogleCredentials import threading class JBoxGCD(JBPluginCloud): provides = [JBPluginCloud.JBP_DNS, JBPluginCloud.JBP_D...
require 'rails' module StripeI18n class Railtie < ::Rails::Railtie initializer 'stripe-i18n' do |app| StripeI18n::Railtie.instance_eval do pattern = pattern_from app.config.i18n.available_locales add("rails/locale/#{pattern}.yml") end end protected def self.add(pattern) ...
package hudson.node_monitors; import hudson.Extension; import hudson.FilePath; import hudson.Functions; import hudson.model.Computer; import hudson.remoting.Callable; import jenkins.model.Jenkins; import hudson.node_monitors.<API key>.DiskSpace; import org.kohsuke.stapler.<API key>; import java.io.IOException; import j...
class <API key> < FileUploader def self.<API key>(model) File.join(CarrierWave.root, model_path(model)) end def self.base_dir File.join(root_dir, '-', 'system') end private def secure_url File.join(self.class.model_path(model), secret, file.filename) end def self.model_path(model) if mod...
<?php namespace Transit\Transformer\Image; use Transit\File; use \<API key>; /** * Crops a photo, but resizes and keeps aspect ratio depending on which side is larger. * * @package Transit\Transformer\Image */ class CropTransformer extends <API key> { const TOP = 'top'; const BOTTOM = 'bottom'; const LE...
require 'spec_helper' describe "php::5_5_4" do let(:facts) { default_test_facts } it do should <API key>("5.5.4") end end
<?php require_once 'propel/engine/platform/DefaultPlatform.php'; include_once 'propel/engine/database/model/Domain.php'; /** * MS SQL Platform implementation. * * @author Hans Lellelid <hans@xmpl.org> (Propel) * @author Martin Poeschl <mpoeschl@marmot.at> (Torque) * @version $Revision: 536 $ * @package...
// NSDictionary+Enumerable.h // MRCEnumerable #import <Foundation/Foundation.h> @interface NSDictionary (Enumerable) - (void)each:(void (^)(id key, id obj))block; - (id)inject:(id)m :(id (^)(id m, id key, id obj))block; - (NSDictionary *)select:(BOOL (^)(id key, id obj))block; - (NSDictionary *)reject:(BOOL (^)(id ke...
'use strict'; const models = require('./index'); /** * Properties of an artifact source. * * @extends models['Resource'] */ class ArtifactSource extends models['Resource'] { /** * Create a ArtifactSource. * @member {string} [displayName] The artifact source's display name. * @member {string} [uri] The ar...
// implementation for cube_support.h #include <utils/multiindex.h> #include <utils/fixed_array1d.h> using MathTL::multi_degree; using MathTL::FixedArray1D; namespace WaveletTL { template <class IBASIS, unsigned int DIM> inline void support(const CubeBasis<IBASIS,DIM>& basis, const typename CubeBasis<IBASI...
<?php /** * Config class **/ class Config extends Application { private $config; function __construct($param = array()) { if (!empty($param['file'])) { $this -> load($param['file']); } } public function reset() { $this -> config = array(); } public f...
# <API key>: true class <API key> < ActiveRecord::Migration[4.2] def change remove_column :<API key>, :parent_folder_id, :integer, foreign_key: { references: :<API key> } add_column :<API key>, :parent_id, :integer add_column :<API key>, :course_id, :integer, null: false add_column :...
module Emulation export run_cpu const EMULATED_INTRINSICS = [ :get_global_id, :get_global_size ] type EmulationContext global_id global_size function EmulationContext() new( [0,0,0], [0,0,0] ) end end # Emulated version of intrinsic functions # mainly for ...
package bf.io.openshop.entities; public class Page { private long id; private String title; private String text; public Page() { } public long getId() { return id; } public void setId(long id) { this.id = id; } public String getTitle() { return title; ...
require 'abstract_unit' require 'controller/fake_models' class CustomersController < ActionController::Base end module Fun class GamesController < ActionController::Base def hello_world end end end module NewRenderTestHelper def <API key> page.visual_effect :highlight end end class <API key> < Actio...
module.exports.bootstrap = function(cb) { // It's very important to trigger this callback method when you are finished // with the bootstrap! (otherwise your server will never lift, since it's waiting on the bootstrap) sails.services.passport.loadStrategies(); // CRON JOBS FOR INFLUENCERS, HASHTAGS, MENTIONS ...
namespace Microsoft.Exchange.WebServices.Data { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml; <summary> Represents the response to a folder search operation. </summary> internal sealed class FindFolderResponse : ServiceRespons...
#define <API key> "CustomPCB" #define MICROPY_HW_MCU_NAME "STM32F439" #define <API key> (1) #define <API key> (1) #define <API key> (1) #define <API key> (1) #define <API key> (1) #define <API key> (1) // works with no SD card too // SD card detect switch #if <API key> #d...
const latestIncome = require('./latestIncome') const latestSpending = require('./latestSpending') function aggFinances(search) { return { latestIncome: () => latestIncome(search), latestSpending: () => latestSpending(search), } } module.exports = aggFinances
#ifndef <API key> #define <API key> #ifndef _RTEMS_CONFIG_H_ #define _RTEMS_CONFIG_H_ #include <OsDrvCpr.h> #if defined(__RTEMS__) #if !defined (__CONFIG__) #define __CONFIG__ /* ask the system to generate a configuration table */ #define CONFIGURE_INIT #ifndef RTEMS_POSIX_API #define RTEMS_POSIX_API #endif #define <AP...
require 'spec_helper' require 'generator_spec/test_case' require 'generators/refinery/engine/engine_generator' module Refinery describe EngineGenerator do include GeneratorSpec::TestCase destination File.expand_path("../../../../../../tmp", __FILE__) before do prepare_destination run_generator...
title: The Title of the Book date: 30/12/2018 According to Rev. 1:1 the title of the book is "The Revelation of Jesus Christ". It is a self-revelation of Him to His people and an expression of His care for them. The book is the unveiling of Jesus Christ and it is both from Jesus and about Him. He is the focus of its...
package inputs import ( "fmt" ) // DiskIO is based on telegraf DiskIO. type DiskIO struct { baseInput } // PluginName is based on telegraf plugin name. func (d *DiskIO) PluginName() string { return "diskio" } // UnmarshalTOML decodes the parsed data to the object func (d *DiskIO) UnmarshalTOML(data interfac...
// This file was generated based on 'C:\ProgramData\Uno\Packages\UnoCore\0.19.6\Source\Uno\UX\Attributes\$.uno'. // WARNING: Changes might be lost if you edit this file directly. #pragma once #include <Uno.Attribute.h> namespace g{namespace Uno{namespace UX{struct <API key>;}}} namespace g{ namespace Uno{ namespace UX{...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Task extends Model { }
# This file is part of Indico. # Indico is free software; you can redistribute it and/or from datetime import timedelta from flask import flash, redirect, request, session from indico.core.db import db from indico.modules.admin import RHAdminBase from indico.modules.news import logger, news_settings from indico.modules...
package swarm import ( "testing" "time" ma "github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-multiaddr" context "github.com/ipfs/go-ipfs/Godeps/_workspace/src/golang.org/x/net/context" inet "github.com/ipfs/go-ipfs/p2p/net" ) func TestNotifications(t *testing.T) { ctx := contex...
## Infiniti Samples This repository contains examples for [Intelledox Infiniti](http://intelledox.com). Directory | Description [Extension Examples](ExtensionExamples) | A collection of sample code that helps you learn and explore Infiniti extensions. [API Examples](ApiExamples) | A collection of sample API client co...
// 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...
<?php namespace Kunstmaan\NodeSearchBundle\Helper\FormWidgets; use Doctrine\ORM\EntityManager; use Kunstmaan\AdminBundle\Helper\FormWidgets\FormWidget; use Kunstmaan\NodeBundle\Entity\Node; use Kunstmaan\NodeSearchBundle\Entity\NodeSearch; use Symfony\Component\Form\<API key>; use Symfony\Component\HttpFoundation\Reque...
using System.Reflection; [assembly: AssemblyTitle("Rainbow")] [assembly: AssemblyDescription("Rainbow serialization library")]
define(function(require, exports, module) { var Notify = require('common/bootstrap-notify'); var FileChooser = require('../widget/file/file-chooser3'); exports.run = function() { var $form = $("#<API key>"); var materialChooser = new FileChooser({ element: '#<API key>' })...
#!/bin/sh set -e set -u set -o pipefail function on_error { echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" } trap 'on_error $LINENO' ERR if [ -z ${<API key>+x} ]; then # If <API key> is not set, then there's nowhere for us to copy # frameworks to, so exit 0 (signalling the script phase was successful...
module.exports={A:{A:{"2":"H D G E A B FB"},B:{"1":"p z J L N I","2":"C"},C:{"1":"0 2 3 5 6 8 9 P Q R S T U V W X Y Z a c d e f g h i j k l m n o M q r s t u v w x y CB AB","2":"4 aB F K H D G E A B C p z J L N I O YB SB"},D:{"1":"0 2 3 5 6 8 9 z J L N I O P Q R S T U V W X Y Z a c d e f g h i j k l m n o M q r s t u v...
<?php /** * This makes our life easier when dealing with paths. Everything is relative * to the application root now. */ chdir(dirname(__DIR__)); // Decline static file requests back to the PHP built-in webserver if (php_sapi_name() === 'cli-server' && is_file(__DIR__ . parse_url($_SERVER['REQUEST_URI'], PHP_URL_PAT...
#endregion // have decided to make it avaialble in SIL.ScriptureUtils as part of Palaso so it will be more // readily available to other projects. using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; namespace SIL.Scripture { <summary> Manipulate information for standard ch...
{{< layout}} {{$pageTitle}}Upload your photo{{/pageTitle}} {{$header}} <h1>Take your photo</h1> {{/header}} {{$content}} <p>If you need to, <a href="/<API key>/photoguide-short/">read the photo guide again</a>.</p> <p> We’ll store all photos for up to 30 days in line with our <a href="...
require 'sprockets/autoload' require 'sprockets/path_utils' module Sprockets class BabelProcessor VERSION = '1' def self.instance @instance ||= new end def self.call(input) instance.call(input) end def initialize(options = {}) @options = options.merge({ 'blacklist' =>...
'use strict'; const EventEmitter = require('events'); const uuid = require('node-uuid'); const ItemType = require('./ItemType'); const { Inventory, InventoryFullError } = require('./Inventory'); const Logger = require('./Logger'); const Player = require('./Player'); /** * @property {Area} area Area the item ...
using System; using System.Collections.Generic; using Foundation.ObjectHydrator.Interfaces; namespace Foundation.ObjectHydrator.Generators { public class <API key> : IGenerator<string> { private readonly Random _random; private IList<string> _citynames = new List<string>(); public <API k...
<fieldset class="col-sm-12 bordure"> <legend class="legende">{{ 'Verifyrecord' | translate }}</legend> <div ng-include src="'partials/message-include.html'"></div> <form class="well form-horizontal"> <div class="form-group"> <label for="verifyrecord_uid" class="col-sm...
// This file was generated based on 'C:\ProgramData\Uno\Packages\Fuse.Controls\0.18.8\$.uno'. // WARNING: Changes might be lost if you edit this file directly. #pragma once #include <Fuse.Animations.IResize.h> #include <Fuse.Controls.TextBlock.h> #include <Fuse.IActualPlacement.h> #include <Fuse.Navigation.INavigationP...
var JobsList = React.createClass({displayName: "JobsList", render: function() { return ( React.createElement(JobItem, {title: "Trabalho Python", desc: "Descricao aqui"}) ); } }); var JobItem = React.createClass({displayName: "JobItem", render: function() { React.createEle...
/* <API key>.h */ /* This file is part of: */ /* GODOT ENGINE */ /* a copy of this software and associated documentation files (the */ /* "Software"), to deal in the Softwa...
/** * \file geoip.c * \brief Functions related to maintaining an IP-to-country database; * to summarizing client connections by country to entry guards, bridges, * and directory servers; and for statistics on answering network status * requests. * * There are two main kinds of functions in this module: geoip fun...
# WebSocket [![Swift][swift-badge]][swift-url] [![Zewo][zewo-badge]][zewo-url] [![Platform][platform-badge]][platform-url] [![License][mit-badge]][mit-url] [![Slack][slack-badge]][slack-url] [![Travis][travis-badge]][travis-url] [![Codebeat][codebeat-badge]][codebeat-url] > :warning: This module contains no networking....
#ifndef __ABSPRITE_H #define __ABSPRITE_H #include <Arduino.h> #include <Adafruit_GFX.h> #include <Adafruit_ST7735.h> #include <SPI.h> #include "ab_lcd_image.h" #include "abImage.h" #define AB_SPRITE_SIZE 15 #define DEFAULT_MOVE_DIST 20 #define MAX_SCREEN_WIDTH 128 #define MAX_SCREEN_HEIGHT 160 class abSprite { privat...
"use strict"; var jsDAV_Plugin = require("./../DAV/plugin"); var jsDAV_Property_Href = require("./../DAV/property/href"); var <API key> = require("./../DAV/property/hrefList"); var <API key> = require("./../DAV/interfaces/iHref"); var <API key> = require("./interfaces/iAddressBook"); var jsCardDAV_iCard = require("./in...
import {Rule, SchematicsException, Tree, UpdateRecorder} from '@angular-devkit/schematics'; import {relative} from 'path'; import {<API key>} from '../../utils/<API key>'; import {canMigrateFile, <API key>} from '../../utils/typescript/compiler_host'; import {migrateFile} from './util'; export default function(): Rule ...
'@fixture click'; '@page http://example.com'; '@test'['Take a screenshot'] = { '1.Click on non-existing element': function () { act.screenshot(); }, }; '@test'['Screenshot on test code error'] = { '1.Click on non-existing element': function () { throw new Error('STOP'); }, };
// Rich Newman using System; using System.Drawing; namespace AldursLab.Essentials.Extensions.DotNet.Drawing { <summary> Color with Hue/Saturation/Luminescense representation. </summary> public class HslColor { // Private data members below are on scale 0-1 // They are scaled for use ...
# RegionalSettings.Properties WorkDaysSpecified **Namespace:** [OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.V201508](OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.V201508.md) **Assembly:** OfficeDevPnP.Core.dll ## Syntax C public bool WorkDaysSpecified { get; set; } Property Value Type: System.Boole...
// <auto-generated/> #nullable disable using System.Collections.Generic; using System.Text.Json; using Azure.Core; namespace Azure.ResourceManager.Sql.Models { public partial class <API key> { internal static <API key> <API key>(JsonElement element) { IReadOnlyList<<API key>> value =...
using System; using Marten.Services; using Marten.Testing.Documents; using Marten.Testing.Harness; using Xunit; namespace Marten.Testing.CoreFunctionality { public class <API key>: IntegrationContext { [Fact] public void <API key>() { StoreOptions(_ => { ...
import {global} from '../../src/util/global'; declare var globalThis: any /** TODO #9100 */; { describe('global', () => { it('should be global this value', () => { const _global = new Function('return this')(); expect(global).toBe(_global); }); if (typeof globalThis !== 'undefined') { it...
#include "Halide.h" #include <tiramisu/utils.h> #include <cstdlib> #include <iostream> #include "wrapper_test_71.h" #ifdef __cplusplus extern "C" { #endif #ifdef __cplusplus } // extern "C" #endif // We assume that the increment is 1. void reference_saxpy(int N1, float alpha, float *A, float *B) { for (int i=0; i<...
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!! # This file is machine-generated by lib/unicore/mktables from the Unicode # database, Version 6.2.0. Any changes made here will be lost! # !!!!!!! INTERNAL PERL USE ONLY !!!!!!! # This file is for internal use by core Perl only. The format and even the # name or existen...
date: "2016-12-01T16:00:00+02:00" title: "" slug: "install-from-source" weight: 10 toc: false draft: false menu: sidebar: parent: "installation" name: "" weight: 30 identifier: "install-from-source" GolangGolang [install instructions](https://golang.org/doc/install) Gitea go go get -d -u code.gitea.io...
// implementation for sturm_equation.h #include <cmath> #include <algorithm> #include <list> #include <utils/array1d.h> #include <algebra/vector.h> #include <algebra/sparse_matrix.h> #include <numerics/eigenvalues.h> #include <numerics/gauss_data.h> namespace WaveletTL { template <class WBASIS> SturmEquation<WBASIS...
module NetSuite module Records class <API key> < Support::Sublist include Namespaces::ListRel sublist :subscriptions, <API key> end end end
# ClientSidePage.Properties <API key> **Namespace:** [OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.V201705](OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.V201705.md) **Assembly:** OfficeDevPnP.Core.dll ## Syntax C public bool <API key> { get; set; } Property Value Type: System.Boolean ## See also - [...
<?php namespace ONGR\ElasticsearchBundle\Serializer\Normalizer; use Symfony\Component\Serializer\Normalizer\CustomNormalizer; /** * Normalizer used with referenced normalized objects. */ class <API key> extends CustomNormalizer { /** * @var array */ private $references = []; /** * {@inherit...
<?php namespace PuphpetBundle\Twig; use RandomLib; class BaseExtension extends \Twig_Extension { /** @var \RandomLib\Factory */ private $randomLib; public function __construct(RandomLib\Factory $randomLib) { $this->randomLib = $randomLib; } public function getFunctions() { re...
// modification, are permitted provided that the following conditions are // met: // in the documentation and/or other materials provided with the // distribution. // * Neither the name of Google Inc. nor the name Chromium Embedded // Framework nor the names of its contributors may be used to endorse // or promote p...
# Makefile for Sphinx documentation # You can set these variables from the command line. SPHINXOPTS = SPHINXBUILD = sphinx-build PAPER = BUILDDIR = _build # User-friendly check for sphinx-build ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1) $(error The '$(SPHINXBUILD)' command was n...
package hudson.model; import hudson.model.<API key>.TimeScale; import hudson.model.queue.SubTask; import java.io.OutputStream; import java.nio.file.Files; import java.nio.file.StandardOpenOption; import org.jfree.chart.JFreeChart; import org.junit.Test; import javax.imageio.ImageIO; import java.awt.image.BufferedImage;...
<reference path="../../../type-declarations/index.d.ts" /> import * as Phaser from 'phaser'; import { BootState } from './states/boot'; import { SplashState } from './states/splash'; import { GameState } from './states/game'; class Game extends Phaser.Game { constructor() { let width = document.documentElement.cl...
<h1>Kitchen List</h1> <div id="p_be_list"> <div class="table"> <div class="body"> <table> <thead> <tr> <th colspan="2"><?php echo __('Name')?></th> </tr> </thead> <tbody> <?php if ($kitche...
import { c } from 'ttag'; export class ImportFatalError extends Error { error: Error; constructor(error: Error) { super(c('Error importing calendar').t`An unexpected error occurred. Import must be restarted.`); this.error = error; Object.setPrototypeOf(this, ImportFatalError.prototype); ...
package com.xruby.runtime.lang; public abstract class RubyConstant extends RubyBasic { public static RubyConstant QFALSE = new RubyConstant(RubyRuntime.FalseClassClass) { public boolean isTrue() { return false; } }; public static RubyConstant QTRUE = new RubyConstant(RubyRuntime....
// This file was generated based on '(multiple files)'. // WARNING: Changes might be lost if you edit this file directly. #include <Fuse.Drawing.Meshes.MeshGenerator.h> #include <Fuse.Entities.Mesh.h> #include <Fuse.Entities.MeshHitTestMode.h> #include <Fuse.Entities.Primitives.ConeRenderer.h> #include <Fuse.Entities.P...
game.LoadProfile = me.ScreenObject.extend({ /** * action to perform on state change */ onResetEvent: function() { me.game.world.addChild(new me.Sprite(0, 0, me.loader.getImage('load-screen')), -10); //puts load screen in when game starts document.getElementById("input").style....
using System; namespace TestAPI.Areas.HelpPage { <summary> This represents an invalid sample on the help page. There's a display template named InvalidSample associated with this class. </summary> public class InvalidSample { public InvalidSample(string errorMessage) { if...
//modification, are permitted provided that the following conditions //are met: // with the distribution. // Neither the name of 3Dlabs Inc. Ltd. nor the names of its // contributors may be used to endorse or promote products derived //"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT //LIMITED...
/* General styles */ body { background-color:#fff; font-family:Arial,Verdan,Sans-Serif; font-size:75%; } /* Text Shadow ( CSS3 ony ) */ #navigation li a, .portlet-header, .ui-datepicker-title, .page-title h1, .ui-widget-header, .hastable thead td, .hastable thead th, #page-wrapper .other-box h3 { te...
/* * Changes: * Jan 22, 2010: Created (Cristiano Giuffrida) */ #include "inc.h" PUBLIC int do_up(m_ptr) message *m_ptr; /* request message pointer */ { /* A request was made to start a new system service. */ struct rproc *rp; struct rprocpub *rpub; int r; struct rs_start rs_start; in...
Template.HostList.events({ }); Template.HostList.helpers({ // Get list of Hosts sorted by the sort field. hosts: function () { return Hosts.find({}, {sort: {sort: 1}}); } }); Template.HostList.rendered = function () { // Make rows sortable/draggable using Jquery-UI. this.$('#sortable').sortable({ stop...