text
stringlengths
3
1.05M
"""Default rendering returning a default web page.""" from __future__ import absolute_import, print_function from flask import render_template from ..proxies import current_previewer previewable_extensions = [] def can_preview(file): """Return if file type can be previewed.""" return True def preview(fi...
package net.lemonmodel.patterns.parser.Absyn; // Java Package generated by the BNF Converter. public class EEssive extends Category { public EEssive() { } public <R,A> R accept(net.lemonmodel.patterns.parser.Absyn.Category.Visitor<R,A> v, A arg) { return v.visit(this, arg); } public boolean equals(Object o) {...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>The video Element</title> </head> <body> <h1><code>video</code></h1> <p>The most basic use of the video element. (Not a best practice as there is no fallback content for browsers that do not support the codec or the video element it...
package io.netty.handler.codec.compression; import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelFutureListener; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelPipeline; import io.netty.channel.ChannelPro...
package com.xht.android.serverhelp; import android.app.Fragment; import android.content.Intent; import android.os.Bundle; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.EditText; import and...
<div ngbDropdown class="d-inline-block" placement="bottom-right"> <div style="cursor: pointer;" class="float-left" id="dropdownBasic1" ngbDropdownToggle> <ng-content select=".dropdown-component-avatar"></ng-content> </div> <div ngbDropdownMenu aria-labelledby="dropdownBasic1"> <div *ngFor="let item of men...
<?php namespace Kernel; use \Exception; use \Service\Debug\Debug; use \Service\Session; use \Routing\Router; use \Service\XHR; class View { protected $twig; protected $twig_loader; protected static $data = []; protected static $instance = false; public static $config = false; public sta...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="RepositoryDbEF6OracleUnitTests.cs" company="DotnetScaffolder"> // MIT // </copyright> // ----------------------------------------------------------------------------------------...
//===--- CodeGenModule.cpp - Emit LLVM Code from ASTs for a Module --------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
<?hh // strict namespace Titon\Route\Event; use Titon\Event\Event; use Titon\Route\Route; use Titon\Route\Router; /** * The route event that occurs after the route is matched. * The matched route is passed to the event. * * @package Titon\Route\Event */ class MatchedEvent extends Event { /** * The ro...
import { combineReducers } from 'redux' import { routerReducer as router } from 'react-router-redux/lib/reducer' export const makeRootReducer = (asyncReducers) => ( combineReducers({ // Add sync reducers here router, ...asyncReducers, }) ) export const injectReducer = (store, { key, reducer }) => { ...
/* * Angular 2 decorators and services */ import {Component, ViewEncapsulation} from 'angular2/core'; import {RouteConfig, Router, RouteParams} from 'angular2/router'; import {Home} from './home'; import {AppState} from './app.service'; import {RouterActive} from './router-active'; /* * App Component * Top Level ...
<?php namespace Propel\Generator\Builder\Om; use Propel\Generator\Exception\BuildException; use Propel\Generator\Model\Inheritance; /** * Generates the empty PHP5 stub query class for use with single table * inheritance. * * This class produces the empty stub class that can be customized with * application bu...
SPSS +++++++ SPSS data files (POR and SAV formats). .. contents:: |toctitle| :local: Supported Versions ------------------ Dataverse supports reading of all SPSS versions 7 to 22. But please see the "Limitations" section. Limitations ----------- SPSS does not openly publish the specifications of their proprieta...
using System; namespace Plivo.Resource.Identity { public class IdentityDocumentDetail { /// <summary> /// Gets or sets Salutation /// </summary> /// <value>Salutation</value> public string Salutation { get; set; } /// <summary> /// Gets or sets First Na...
package org.jetbrains.plugins.scala.components import java.io.{File, IOException} import java.lang.reflect.Field import javax.swing.event.HyperlinkEvent import com.intellij.ide.plugins._ import com.intellij.notification._ import com.intellij.openapi.application.ex.ApplicationInfoEx import com.intellij.openapi.applica...
var React = require('react'); var Tweets = require('./Tweets.js'); var NotificationBar = require('./NotificationBar.js'); var TweetsApp = React.createClass({ // Add new tweet to client stream addTweet: function(tweet) { var updated = this.state.tweets; var count = this.state.count + 1; var skip = this...
package org.arakhne.afc.gis.bus.layer; import java.util.UUID; import java.util.concurrent.atomic.AtomicBoolean; import org.eclipse.xtext.xbase.lib.Pure; import org.arakhne.afc.attrs.collection.AttributeCollection; import org.arakhne.afc.gis.bus.network.BusChangeEvent; import org.arakhne.afc.gis.bus.network.BusChan...
class Point { constructor(public x: number, public y: number) { } public distance(p: Point) { var dx = this.x - p.x; var dy = this.y - p.y; return Math.sqrt(dx * dx + dy * dy); } static origin = new Point(0, 0); static distance(p1: Point, p2: Point) { return p1.distance(p2); ...
<div class="segment logo"> <div class=" banner__logo mv+++"> <img src="https://cloud.githubusercontent.com/assets/952992/7741356/482c862a-ff54-11e4-836b-e0c5d0260f12.png" alt="" class="animated fadeInUp animationDelay1s pt+++ mt+++"> </div> <h2 class="animated fadeInRight animationDelay2s banner__su...
1. We have to create a template for a NON-GLOBAL chat. 2. We have to have the possibility to load all old message (We can load only N message when chat is open and a button to load old messages on top) 3. If we are the receiver we have to see the message in the left part of the screen, otherwise in the right part. (lik...
 namespace SuperMap.Web.iServerJava6R { /// <summary> /// <para>${iServerJava6R_DatumType_Title}</para> /// <para>${iServerJava6R_DatumType_Description}</para> /// </summary> public enum DatumType { /// <summary>${iServerJava6R_DatumType_attribute_DATUM_ADINDAN_D}</summary> D...
<manifest xmlns:tools="http://schemas.android.com/tools" xmlns:android="http://schemas.android.com/apk/res/android"> <application android:usesCleartextTraffic="true" tools:targetApi="m"> </application> </manifest>
package com.at.springboot.mybatis.po; import java.util.ArrayList; import java.util.Date; import java.util.List; public class BlogExample { /** * This field was generated by MyBatis Generator. This field corresponds to the database table blog * @mbg.generated Sun Jan 20 12:49:45 CST 2019 ...
package com.theah64.retrokit; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public void a...
package it.milczarek.gpwquoter.domain import scala.beans.BeanProperty case class OHLC(@BeanProperty open: Double, @BeanProperty high: Double, @BeanProperty low: Double, @BeanProperty close: Double, @BeanProperty volume: Double)
package net.onrc.onos.core.util.distributed.sharedlog.hazelcast; import static com.google.common.base.Preconditions.checkNotNull; import java.util.concurrent.Callable; import java.util.concurrent.CopyOnWriteArrayList; import java.util.concurrent.ExecutionException; import java.util.concurrent.Future; import java.util...
import type { ReactElement, ReactNode } from "react"; import { useEffect, useMemo, useRef } from "react"; import { DEFAULT_DESKTOP_LARGE_MIN_WIDTH, DEFAULT_DESKTOP_MIN_WIDTH, DEFAULT_PHONE_MAX_WIDTH, DEFAULT_TABLET_MAX_WIDTH, DEFAULT_TABLET_MIN_WIDTH, } from "./constants"; import { AppSizeContext } from "./u...
package uk.ac.ebi.quickgo.index.ontology; import com.redfin.sitemapgenerator.WebSitemapGenerator; import org.springframework.batch.core.ExitStatus; import org.springframework.batch.core.StepExecution; import org.springframework.batch.core.StepExecutionListener; import static com.google.common.base.Preconditions.check...
require 'spec_helper' describe 'firewalld_version' do before do Facter.clear Process.stubs(:uid).returns(0) Facter::Core::Execution.stubs(:exec).with('uname -s').returns('Linux') Facter::Util::Resolution.stubs(:which).with('firewall-offline-cmd').returns('/usr/bin/firewall-offline-cmd') Facter::...
NS_ASSUME_NONNULL_BEGIN typedef NS_ENUM(NSInteger, JRDBResultType) { JRDBResultType_flag = 1, JRDBResultType_count = 2, JRDBResultType_list = 3, JRDBResultType_object = 4, }; @interface JRDBResult : NSObject + (instancetype)resultWithBool:(BOOL)flag; + (instancetype)resultWithArray:(NSArray<id<JRPers...
package org.seqcode.viz.metaprofile; import java.awt.*; import org.seqcode.viz.paintable.*; /** * ProfileLinePaintable * @author tdanford * Date: Aug 12, 2008 */ public class ProfileLinePaintable extends AbstractPaintable{ private PaintableScale scale; private BinningParameters params; priv...
/* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */ #pragma once #include <vector> #include <map> #include <sstream> #include <string> #include "ifcpp/model/GlobalDefines.h" #include "ifcpp/model/BasicTypes.h" #include "ifcpp/model/BuildingObject.h" namespace IFC4X3 { // TYPE IfcFireSuppressionTermi...
package org.pentaho.amazon.s3; import com.amazonaws.auth.AWSCredentials; import com.amazonaws.services.s3.AmazonS3; import com.amazonaws.services.s3.AmazonS3Client; import com.amazonaws.services.s3.model.AmazonS3Exception; import org.apache.commons.vfs.FileObject; import org.apache.commons.vfs.FileSystemException; i...
<?php /** * Backend form key content block */ namespace Magento\Backend\Block\Admin; class Formkey extends \Magento\Backend\Block\Template { /** * Get form key * * @return string */ public function getFormKey() { return $this->formKey->getFormKey(); } }
function kern = sqexpKernParamInit(kern) % SQEXPKERNPARAMINIT SQEXP kernel parameter initialisation. % This kernel is a 'pre-packaged' compound kernel of the form % {'rbf', 'lin', 'bias', 'white'}. Using this kernel removes % the overhead of mutliple calls through the 'cmpnd' kernel. % % SEEALSO sqexpKernParamInit % ...
from fs.commands.runner import Command import sys import platform import os import os.path platform = platform.system() class FSMount(Command): if platform == "Windows": usage = """fsmount [OPTIONS]... [FS] [DRIVE LETTER] or fsmount -u [DRIVER LETTER] Mounts a filesystem on a drive letter""" else: ...
'use strict'; const angular = require('angular'); export default angular.module('crmPlanningDesigningApp.dateConversion', []) .directive('dateConversion', function() { return { restrict: 'EA', require: 'ngModel', scope: { format: "=" }, link: function(scope, element, attrs...
package com.joke.bojunyixiao.entity; public class TextJoke extends BaseJoke{ private String text; public String getText() { return text; } public void setText(String text) { this.text = text; } }
var userStore = require('./user'); // Methods for stored token exports.getEmail = userStore.getEmail; exports.getName = userStore.getName; exports.getRole = userStore.getRole; exports.getAssignableRoles = userStore.getAssignableRoles; exports.getToken = userStore.getToken; exports.getUser = userStore.getUser; exports...
<!DOCTYPE html> <html lang="en"> <head> <!-- Meta, title, CSS, favicons, etc. --> {% include header-cisco.html %} </head> <body class="{{ page.slug }}"> <a class="sr-only sr-only-focusable" href="#content">Skip to main content</a> <div id="wrap"> {% include cisco-primaryNav.html %} ...
package com.ebaotech.salesplatform.commons.widget.loadtoast; import android.animation.ValueAnimator; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Path; import android.graphics...
from django.conf.urls import url from . import views app_name = 'webpage' urlpatterns = [ url(r'^$', views.GenericWebpageView.as_view(), name="start"), url(r'^login/$', views.user_login, name='user_login'), url(r'^accounts/login/$', views.user_login, name='user_login'), url(r'^logout/$', views.user_lo...
require 'rails_helper' describe Comment do it { should belong_to(:commentable) } it { should belong_to(:user) } it { should validate_presence_of(:user_id) } it { should validate_presence_of(:commentable_id) } it { should validate_presence_of(:commentable_type) } it { should validate_presence_of(:content) }...
function cleanData() { var explorer = this; var config = this.config; config.files.forEach(function(f) { f.path = 'https://raw.githubusercontent.com/RhoInc/data-library/master' + f.rel_path.slice(1); f.shortname = f.filename.replace(/\.[^/.]+$/, ''); return f; }); } function initExplor...
typedef struct { char *buffer; int length; int start; int end; } RingBuffer; RingBuffer *RingBuffer_create(int length); void RingBuffer_destroy(RingBuffer *buffer); int RingBuffer_read(RingBuffer *buffer, char *target, int amount); int RingBuffer_write(RingBuffer *buffer, char *data, int length); i...
#include <assert.h> #include <string.h> #include <stdlib.h> #include "common/avl.h" #include "common/avl_comp.h" #include "olsr_cfg.h" #include "olsr_logging.h" #include "olsr_memcookie.h" #include "olsr_ip_acl.h" #include "olsr.h" #include "ipcalc.h" #include "olsr_timer.h" #include "olsr_socket.h" #include "olsr_c...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.franklin.stripesmvc.entity; public class User extends AbstractEntity { private String userName; private String email; private String firstName; private String lastName; /** ...
<html lang="en"> <head> <title>Fixed Headers - Using the GNU Compiler Collection (GCC)</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="Using the GNU Compiler Collection (GCC)"> <meta name="generator" content="makeinfo 4.13"> <link title="Top" rel="start" href="index.html#T...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace AgeRanger { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pat...
<?php /** * Simple program to test the porterStemmer function * * PHP version 5 * * @category PHP * @package PHP_Metasearch_Engine * @author Andrew Lamb <andrew.r.d.lamb@gmail.com> * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @link http://csserver.ucd.ie/~01421662/ ...
{-# LANGUAGE RecordWildCards #-} module ColumnSweep where import Control.Monad (foldM) import qualified Data.Map as M import Data.Maybe (fromMaybe) import qualified Data.Vector as V import Data.Random.RVar import Numeric.Log import Utils import Models import Types --------------------------------------------------...
MEDUSA_BEGIN; class TextureFileIdTimelineModel:public ITimelineModel { public: TextureFileIdTimelineModel(const FileIdRef& fileId); virtual ~TextureFileIdTimelineModel(void); void AddFileId(float time, const FileIdRef& fileId); FileIdRef GetFileId(float time)const; virtual void RemovePrecomputed()override; pro...
package edu.usc.pgroup.floe.app; import java.util.List; /** * The main Emitter interface for Pellets to send out message tuples. * * @author kumbhare */ public interface Emitter { /** * To emmit a set of tuples on the output port. * * @param messages a list of messages. */ void emit(...
#include <Core/Logger.h> #include <Renderer/Common/Texture.h> #include <Renderer/Common/Tools.h> #include <Renderer/SM2/DecalRenderer.h> #include <algorithm> namespace Renderer { //----------------------------------------------------------------------------- static const int32 VERTEX_BUFFER_SIZE = 4 * siz...
using System; using System.Collections.Generic; using System.Management.Automation; using Microsoft.TeamFoundation.Core.WebApi; using TfsCmdlets.Extensions; using TfsCmdlets.Services; namespace TfsCmdlets.Cmdlets.WorkItem.Tagging { /// <summary> /// Gets one or more work item tags. /// </summary> [Cmdl...
Tutorial Angular
/*global angular, console */ angular.module('desafioApp', ['ngResource']) .service('clientService', function ($resource) { 'use strict'; var clientService = this, //baseUrl = 'http://desafioangularjs-jsantacl.rhcloud.com', baseUrl = 'http://localhost:8666', ownerInfo = '?owner=jsanta', Client =...
<?xml version="1.0" encoding="ISO-8859-1"?> <geo:GeodesyML xsi:schemaLocation="urn:xml-gov-au:icsm:egeodesy:0.3" xmlns:geo="urn:xml-gov-au:icsm:egeodesy:0.3" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:ns9="http://www.w3.org/1999/xlink" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gmx="http://www.isotc211.or...
package com.thoughtworks.go.plugin.access.authentication; import com.thoughtworks.go.plugin.access.authentication.models.AuthenticationPluginConfiguration; import com.thoughtworks.go.plugin.access.common.PluginInfoBuilder; import com.thoughtworks.go.plugin.domain.authentication.AuthenticationPluginInfo; import com.t...
package org.carewebframework.api.event; import java.io.Serializable; import java.util.List; import java.util.UUID; import org.apache.commons.lang.StringUtils; import org.carewebframework.api.FrameworkUtil; import org.carewebframework.api.domain.IUser; import org.carewebframework.api.messaging.ConsumerService; import...
FROM balenalib/colibri-imx6-ubuntu:bionic-build ENV NODE_VERSION 12.22.9 ENV YARN_VERSION 1.22.4 RUN for key in \ 6A010C5166006599AA17F08146C2130DFD2497F5 \ ; do \ gpg --keyserver pgp.mit.edu --recv-keys "$key" || \ gpg --keyserver keyserver.pgp.com --recv-keys "$key" || \ gpg --keyserver keyserver.ubuntu.com...
@interface OpenInController (TestingAditions) - (NSString*)suggestedFilename; - (void)startDownload; - (void)setDocumentInteractionController: (UIDocumentInteractionController*)controller; @end #endif // IOS_CHROME_BROWSER_UI_OPEN_IN_CONTROLLER_TESTING_H_
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>class DLinkedList::EDocumento - RDoc Documentation</title> <script type="text/javascript"> var rdoc_rel_prefix = "../"; </script> <script src="../js/jquery.js"></script> <script src="../js/darkfish.js"></script> <link href="../css/fonts.css" rel="styles...
from django.conf.urls import url, include from rest_framework import routers from app import views router = routers.SimpleRouter() router.register(r'todos', views.TodoViewSet, 'Todo') urlpatterns = [ url(r'^$', views.index, name='home'), url(r'^', include(router.urls)), ]
{% load hq_shared_tags %} {% load i18n %} {% block stylesheets %} <style type="text/css"> #report-list th .hq-help { line-height: 13px; } </style> {% endblock %} <ul class="nav nav-tabs sticky-tabs"> <li><a href="#settings" data-toggle="tab">{% trans "Settings" %}</a></li> <li><a href="#reports"...
#include "mitkIGTIOException.h"
German programming challenge content
<!DOCTYPE html> <meta charset="utf-8"> <head> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"/> </head> <style> h4 { margin-top: 25px; } .row { margin-bottom: 20px; } .row .row { margin...
using System; using System.Collections; using System.Collections.Generic; using AsmResolver.IO; namespace AsmResolver.PE.DotNet.Metadata.Tables.Rows { /// <summary> /// Represents a single row in the parameter definition metadata table. /// </summary> public struct ParameterDefinitionRow : IMetadataRow...
import { api, Process, config, action, utils, specHelper, } from "./../../src/index"; const actionhero = new Process(); describe("Core: Middleware", () => { beforeAll(async () => { await actionhero.start(); }); afterAll(async () => { await actionhero.stop(); }); afterEach(() => { ap...
from .base import BaseType class PluginScheduleList(BaseType): _soap_tag = 'plugin_schedules' def __init__(self): BaseType.__init__( self, simple_properties={}, complex_properties={'cache_info': CacheInfo}, list_properties={'plugin_schedule': PluginSch...
UpdateFirmware is a request to install another firmware version\(s\) on a device. The request needs the DeviceIdentification and the firmware versions, that together with the device model \(as stored with the identified device\) uniquely determine the firmware file to be used. All requests have similar response behavi...
In Ember Data the Serializer is a class that is responsible for transforming the data returned by you adapter into a JSON API document that Ember Data can understand. Serializers can be customized to work with any backend. By default, Ember Data ships with 3 Serializers. The `JSONAPISerializer` is the default serialize...
from heinzel.tests.utils import Fixture, runtests from heinzel.core.exceptions import DoesNotExist, SQLSyntaxError from heinzel.core.sql.dml import Q from heinzel.core.connection import db from heinzel.core import utils from heinzel.tests.model_examples import Car, Brand, Manufacturer, Driver, Key from heinzel.core ...
namespace google { namespace cloud { namespace pubsub_internal { GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN namespace { StatusOr<std::string> RejectMessage() { return Status(StatusCode::kFailedPrecondition, "Publisher is full"); } } // namespace future<StatusOr<std::string>> FlowControlledPublisherConnection::Publish(...
TemplateMatch::TemplateMatch() : m_topLeft(cv::Point()), m_size(cv::Size()) { //TODO get more accurate m_center = cv::Point( m_topLeft.x+m_size.width/2, m_topLeft.y + m_size.height/2); } TemplateMatch::TemplateMatch(cv::Point p_topLeft, cv::Size p_size) : m_topLeft(p_topLeft), m_size(p_size) {...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="generator" content="rustdoc"> <meta name="description" content="Source to the Rust file `src/aws/errors/creds.rs`."> <meta name="keywords" content="rust, ...
/** * The left coordinate of the Game Object. * This is the same as `x - offsetX`. * * @property {number} left */ var GetLeft = function (gameObject) { return gameObject.x - (gameObject.width * gameObject.originX); }; module.exports = GetLeft;
package org.apache.hadoop.hdfs.server.namenode; import java.io.IOException; /** * The file has not finished being written to enough datanodes yet. */ public class NotReplicatedYetException extends IOException { public NotReplicatedYetException(String msg) { super(msg); } }
SYNONYM #### According to Index Fungorum #### Published in null #### Original name Repetobasidiellum fusisporium J. Erikss. & Hjortstam ### Remarks null
/* this file has been autogenerated by vtkNodeJsWrap */ /* editing this might proof futile */ #ifndef NATIVE_EXTENSION_VTK_VTKEXTRACTSELECTEDLOCATIONSWRAP_H #define NATIVE_EXTENSION_VTK_VTKEXTRACTSELECTEDLOCATIONSWRAP_H #include <nan.h> #include <vtkSmartPointer.h> #include <vtkExtractSelectedLocations.h> #include ...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE773_Missing_Reference_to_Active_File_Descriptor_or_Handle__fopen_51a.c Label Definition File: CWE773_Missing_Reference_to_Active_File_Descriptor_or_Handle__fopen.label.xml Template File: source-sinks-51a.tmpl.c */ /* * @description * CWE: 773 Missing Reference t...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>bdds: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" r...
MIT License Copyright (c) 2016 Johannes Westhuis, Alexander Schulz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to ...
package org.apache.myfaces.trinidad.component; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Set; import javax.faces.component.UIComponent; import javax.faces.context.FacesContext; import javax.faces.el.MethodBinding; import javax.faces.event.AbortProcessingException...
<?php namespace Application; /** * The Loader class provides * an interface to autoload classes **/ class Loader { /** *@var $classes Autoloading paths **/ protected $classes = array(); /** *@var $namespaces ...
<?php /** * The result of a call to AdCustomizerFeedService#mutate. * @package Google_Api_Ads_AdWords_v201605 * @subpackage v201605 */ class AdCustomizerFeedReturnValue extends ListReturnValue { const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201605"; const XSI_TYPE = "AdCustomizerF...
namespace Microsoft.Azure.Management.GuestConfiguration { using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; /// <summary> /// Extension methods for GuestCo...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_05) on Fri Jun 27 13:35:09 EDT 2014 --> <title>org.triplehelix.lib.properties.provides</title> <meta name="date" content="2014-06...
[![Build Status](https://secure.travis-ci.org/videlalvaro/php-amqplib.png)](http://travis-ci.org/videlalvaro/php-amqplib) This library is a _pure PHP_ implementation of the AMQP protocol. It's been tested against [RabbitMQ](http://www.rabbitmq.com/). **Requirements: PHP 5.3** due to the use of `namespaces`. The libr...
from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Removing unique constraint on 'Hit', fields ['content_type', 'object_pk'] db.delete_unique(u'dj...
if not table.pack then function table.pack (...) return {n=select('#',...), ...} end end if not table.unpack then table.unpack = unpack end function memoize( fn ) local function fnKey( ... ) local key = "" local args = table.pack( ... ) for i = 1, args.n do ...
<?php namespace Standalone; use Common\Doctrine\ValueObject\AbstractImage; use Symfony\Component\HttpFoundation\File\UploadedFile; use Symfony\Component\Validator\Constraints as Assert; class MyImageWithoutMaxSizeAssert extends AbstractImage { /** * @var UploadedFile * * @Assert\File( * m...
import _plotly_utils.basevalidators class TypeValidator(_plotly_utils.basevalidators.EnumeratedValidator): def __init__(self, plotly_name="type", parent_name="layout.scene.yaxis", **kwargs): super(TypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, ...
using UnityEngine; public delegate void PlayCurrentTrackListener(string text); [RequireComponent(typeof(AudioSource))] public class TrackShuffle : MonoBehaviour { private bool paused; private int currentTrack; private int timeSamples; private int[] shuffledList; [SerializeField] private Audi...
int BidirectionalSubsequence(const int *s, int n);
import s from 'underscore.string'; import { Meteor } from 'meteor/meteor'; import { Tracker } from 'meteor/tracker'; import { getUserPreference } from '../../utils'; import { callbacks } from '../../callbacks'; import { emoji } from '../lib/rocketchat'; /* * emojiParser is a function that will replace emojis * @par...
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- --> <!-- W4F: Copyright Arnaud Sahuguet and Fabien Azavant, 1998-99 --> <!-- URL: http://db.cis.upenn.edu/W4F --> <!-- ...
package com.cisco.oss.foundation.configuration; import com.cisco.oss.foundation.logging.ApplicationStateInterface; import com.cisco.oss.foundation.logging.FoundationLevel; import org.apache.commons.lang.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.BeansExcept...