text stringlengths 3 1.05M |
|---|
<?php
namespace AppBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* MetadataType
*
* @ORM\Table(name="metadata_type")
* @ORM\Entity(repositoryClass="AppBundle\Repository\MetadataTypeRepository")
*/
class MetadataType
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM... |
package com.ibm.watson.assistant.v1.model;
import com.ibm.cloud.sdk.core.service.model.GenericModel;
/** The createCounterexample options. */
public class CreateCounterexampleOptions extends GenericModel {
protected String workspaceId;
protected String text;
protected Boolean includeAudit;
/** Builder. */
... |
<?php
class AdminController extends BaseController {
public function login()
{
return View::make('admin.login');
}
public function postlogin()
{
$admin=array(
'username' => Input::get('username'),
'password' => Input::get('password')
);
if(A... |
Textes
======
Sublime Text 3 theme for making syntax highlighted lists.
Scopes *do not* fallback, the theme is necessary to provide font style and color.
Usage
-----
Any list item must be on a seperate line, and the type of item is decided by the first non-whitespace character included in this set `*?!~+-`, followe... |
@interface ChildViewController : BasicViewController <UIGestureRecognizerDelegate>
@property (nonatomic, assign) CGRect startRect;
@end
|
package io.geobit.chain.entity.apicoin;
import java.util.Map;
public class ApiCoinAddress {
private String address;
private Boolean isValid;
private String hash160;
private Map<String,Double> totalReceived;
private Map<String,Double> totalSent;
private Map<String,Double> finalBalance;
private Map<String,Doub... |
package edu.gemini.gsa.client.impl
import java.net.URL
import edu.gemini.gsa.client.api._
import edu.gemini.gsa.query.GsaFileListQuery
import edu.gemini.spModel.core.Site
import scalaz._
import Scalaz._
/**
* Implements the GsaClient trait to send queries to the GSA for each request.
*/
object GsaClientImpl exten... |
__author__ = 'robinwyss'
from tinkerforge.ip_connection import IPConnection
from tinkerforge.bricklet_temperature import Temperature
class Temp:
HOST = "192.168.1.60"
PORT = 4223
UID = "ngP"
def __init__(self):
ipcon = IPConnection()
ipcon.connect(self.HOST, self.PORT)
self.t ... |
package org.apache.geode.cache.client.internal.pooling;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.Socket;
import java.net.SocketException;
import java.nio.ByteBuffer;
import java.util.concurrent.atomic.AtomicBoolean;
import org.apache.geode.InternalGemFireException;
import org.apache.g... |
{% extends "admin:admin/index.html" %}
{% load humanize %}
{% block content %}
<div id="content-metrics">
<div class="module">
<table summary="Magic">
<caption>Metrics</caption>
{% for description, value in metrics %}
<tr>
<th scope="row">{{ description }}</th>... |
/**
* Bean Validation TCK
*
* License: Apache License, Version 2.0
* See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
*/
package org.hibernate.beanvalidation.tck.tests.validation.groupconversion.containerelement;
import org.jboss.arquillian.container.test.api.Deploym... |
using System;
public class ArrayMain
{
public class Queue
{
int max, current;
int[] queue;
/* Método contrutor da fila recebe o tamanho */
public Queue(int max)
{
/* Inicia a fila com o tamanho determinado */
this.queue = new int[max];
this.max = max;
this.current = -1... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Media;
namespace KLibrary.Labs.UI
{
public static class VisualHelper
{
public static IEnumerable<DependencyObject> EnumerateChildren(this DependencyObject obj)
{
if (obj ==... |
import mock
from oslo_config import cfg
from oslo_utils import uuidutils
from neutron.agent.common import utils
from neutron.agent.l3 import dvr_snat_ns
from neutron.agent.linux import ip_lib
from neutron.tests import base
_uuid = uuidutils.generate_uuid
class TestDvrSnatNs(base.BaseTestCase):
def setUp(self):
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>cfml-stdlib: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min... |
title: "Install Auth Service"
description: "In this tutorial, you'll learn how to build and deploy a chat app with WeDeploy."
buttonTitle: "I installed an Auth service"
tutorialTitle: "Zero to Production: Developing with WeDeploy"
parentId: "workshop"
layout: "tutorial"
weight: 5
---
#### {$page.title}
There are many... |
var MenuView = new MAF.Class({
ClassName: 'MenuView',
Extends: MAF.system.FullscreenView,
MENU_WIDTH: 500,
initialize: function () {
var view = this;
view.parent();
view.store('rows', view.config.data.rows);
view.store('cols', view.config.data.cols);
view.store('minRows', view.config.data.minRows);
... |
import React, { Component } from 'react';
import './Retry.css';
class Retry extends Component {
render() {
return (
<div class="retry-container">
<img class="retry" src="images/retry.png" alt="device" />
</div>
);
}
}
export default Retry; |
/**
* @module vaultier-initializer
*/
ApplicationKernel.namespace('Vaultier.initializers');
/**
* Dependency injection initializer, service dependency injection should be defined here
*
* Uses standard ember initializer pattern: <a target="blank" href="http://emberjs.com/api/classes/Ember.Application.html#toc_in... |
<div class="Timeline">
<div class="Timeline__block Timeline__block--red">
<div class="Timeline__step"></div>
<div class="Timeline__sideLine"></div>
<div class="Timeline__content">
<div class="Timeline__contentText">
<div class="Timeline__contentTitle"> Front-End Engineer, Drawbotics </div>
... |
using System;
using System.Numerics;
using ValveResourceFormat.Serialization;
namespace GUI.Types.ParticleRenderer.Initializers
{
public class RandomColor : IParticleInitializer
{
private readonly Vector3 colorMin = Vector3.One;
private readonly Vector3 colorMax = Vector3.One;
private ... |
<?php
if($this->session->flashdata('add_service_type_err')!==null){
$service_type_err = $this->session->flashdata('add_service_type_err');
// vd("category",$add_category_err);
}else{
$service_type_err = '';
}
// vd('res',$results);
?>
<?php $this->load->view('/ADMIN/header')?>
<div id="content">
<div id="cont... |
package com.example.k.shoppingapp.Other;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.PorterDuff;
import android.graphics.PorterDuffXfermode;
i... |
from supriya.tools.ugentools.InfoUGenBase import InfoUGenBase
class ControlDur(InfoUGenBase):
r'''A control duration info unit generator.
::
>>> ugentools.ControlDur.ir()
ControlDur.ir()
'''
### CLASS VARIABLES ###
__documentation_section__ = 'Info UGens'
__slots__ = ()
... |
var tape = require("tape"),
adapter = require("./adapter"),
table = require("./table");
tape("remove(where: Array<Array[attribute: String, comparision: String, value: Any]>)", function(assert) {
var users = table.users;
users(adapter.users)
.remove([
[users.attributes.id, "=", 4]
... |
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Example - example-example67-production</title>
<link href="style.css" rel="stylesheet" type="text/css">
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.5.3/angular.min.js"></script>
</head>
<body ng-app="">
<ol ng-init="n... |
module Carnival
module Presenters
class AdvancedSearchParser
def initialize(klass_service)
@klass_service = klass_service
end
def get_advanced_search_fields fields
advanced_search_fields = {}
fields.each do |key, field|
advanced_search_fields[key] = fiel... |
<?php
namespace Drupal\Tests\field\Functional\Rest;
use Drupal\field\Entity\FieldStorageConfig;
use Drupal\Tests\rest\Functional\EntityResource\ConfigEntityResourceTestBase;
abstract class FieldStorageConfigResourceTestBase extends ConfigEntityResourceTestBase {
/**
* {@inheritdoc}
*/
protected static $mo... |
[](http://travis-ci.org/watson-developer-cloud/node-sdk)
[](https://gemnasium.com/watson-developer-cloud/node-sdk)
[ }
it { should belong_to(:conference) }
it { should belong_to(:event_type) }
it 'has valid factory' do
expect(FactoryGirl.create(:event) ).to be_valid
end
it 'is invalid without title' do
expect(FactoryGirl... |
package com.m3l3m01t.myth;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.assertEquals;
/**
* Instrumentation test, which will execute on an ... |
package com.alesarcode.whatwatch.presentation.view.activity;
import android.content.SharedPreferences;
import com.alesarcode.whatwatch.presentation.presenters.SearchPresenter;
import com.alesarcode.whatwatch.presentation.view.SeriesListView;
import com.alesarcode.whatwatch.presentation.view.activity.base.BaseSearchAc... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... |
<refentry id="glib-Warnings-and-Assertions">
<refmeta>
<refentrytitle role="top_of_page">Message Output and Debugging Functions</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GLIB Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>Message Output and Debugging Functions</refname>
<refpurpose>functions to out... |
package amf
import (
"encoding/binary"
"io"
"time"
)
// amf3 polymorphic router
func (d *Decoder) DecodeAmf3(r io.Reader) (interface{}, error) {
marker, err := ReadMarker(r)
if err != nil {
return nil, err
}
switch marker {
case AMF3_UNDEFINED_MARKER:
return d.DecodeAmf3Undefined(r, false)
case AMF3_NUL... |
from msrest.serialization import Model
class IPRule(Model):
"""IP rule with specific IP or IP range in CIDR format.
:param ip_address_or_range: Specifies the IP or IP range in CIDR format.
Only IPV4 address is allowed.
:type ip_address_or_range: str
:param action: The action of IP ACL rule. Poss... |
package com.chickenkiller.upods2.dialogs;
import android.app.AlertDialog;
import android.app.Dialog;
import android.app.DialogFragment;
import android.content.DialogInterface;
import android.os.Bundle;
import com.chickenkiller.upods2.R;
import com.chickenkiller.upods2.interfaces.IOperationFinishCallback;
/**
* Crea... |
package org.wxportal.message.factory;
import java.util.Map;
public abstract class MessageReceiver {
/**
* Abstract class for manager all receivers
*
* @author Dawei Zhang
* @date 2012-10-04
*/
/**
* Get the object of request and return the object of response
*
* @return
*/
pub... |
# Copyright 2011 Splunk, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"): you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wri... |
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include "opt_compat.h"
#include "opt_kdtrace.h"
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/sdt.h>
#include <sys/systm.h>
#include <sys/sysctl.h>
#include <sys/proc.h>
#include <sys/malloc.h>
#include <sys/mount.h>
#include <sys/jail.h>
#include <sys/l... |
package org.apereo.cas.ticket.support;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.apache.commons.io.FileUtils;
import org.apereo.cas.authentication.CoreAuthenticationTestUtils;
import org.apereo.cas.services.RegisteredServiceTestUtils;
import org.apereo.cas.ticket.ExpirationPolicy;
import org.apere... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Tiamat.WindowsForms
{
public partial class Documentation : Form
{
public Docum... |
from django.conf import settings as dsettings
from django.contrib import auth
from assopy import settings
def get_user_account_from_email(email, default='raise', active_only=True):
""" Return the user record for the user with the given email
address.
Only active user records are taken into acco... |
import { beforeEach, describe, it } from 'mocha'
import { expect } from 'chai'
import { getUsage } from './'
import EventEmitter from 'events'
import Gherkin from 'gherkin'
import EventDataCollector from '../event_data_collector'
describe('Usage Helpers', () => {
describe('getUsage', () => {
beforeEach(function(... |
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE OverloadedStrings, ExistentialQuantification, ScopedTypeVariables,
ExtendedDefaultRules, FlexibleContexts, TemplateHaskell,
OverloadedLabels, TypeOperators, DataKinds, KindSignatures #-}
module Youido.Dashdo (dashdoGlobal, das... |
'use strict';
var _toConsumableArray3 = _interopRequireDefault(require('babel-runtime/helpers/toConsumableArray'));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
var _require = require('graphql'),
GraphQLList = _require.GraphQLList;
var getRawType = require(... |
package org.unitils.database.core;
import org.junit.Before;
import org.junit.Test;
import org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy;
import org.unitils.UnitilsJUnit4;
import org.unitils.mock.annotation.Dummy;
import javax.sql.DataSource;
import static org.junit.Assert.assertSa... |
<!DOCTYPE html>
<html>
<title>Form Input Colors</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8">
<link rel="stylesheet" href="normalize.css">
<link rel="stylesheet" href="GGF.css">
<body>
<div action="#" class="ggf-card-4">
<div class="ggf-container ggf-bg-brown">
... |
---
type: post100
title: Step 2 - Using the Power of the Space to Scale Your Data Access Layer
categories: XAP100
weight: 200
parent: your-first-jpa-application.html
---
{{% ssummary %}}This step explains how to utilize the power of the grid when implementing the data access layer of the PetClinic application (namely... |
<?php
namespace Sample\Blog\Model;
/**
* @property int $idParent Id kategorii nadrzędnej
* @property int $nleft Węzeł lewy
* @property int $nright Węzeł prawy
*
* @property string $name Nazwa
* @property string $description Opis
*
* @property string $image Plik obrazek
*
* @property bool $ac... |
use middle::traits;
use middle::ty;
use syntax::ast::{Item, ItemImpl};
use syntax::ast;
use syntax::ast_util;
use syntax::codemap::Span;
use syntax::visit;
use util::ppaux::{Repr, UserString};
pub fn check(tcx: &ty::ctxt) {
let mut orphan = OrphanChecker { tcx: tcx };
visit::walk_crate(&mut orphan, tcx.map.kra... |
title: "Control Access"
description: "Set up access control for Sensu, the flexible observability pipeline. Read these documents to authenticate to Sensu and authorize access for Sensu users."
product: "Sensu Go"
version: "6.5"
weight: 20
layout: "single"
toc: true
menu:
sensu-go-6.5:
parent: operations
ident... |
@implementation SCAPIRequest
+ (NSString *)timestampString {
NSTimeInterval time = [NSDate date].timeIntervalSince1970;
return [NSString stringWithFormat:@"%llu", (unsigned long long)round(time * 1000.0)];
}
+ (NSString *)encodeQueryParam:(NSString *)param {
NSMutableString * str = [NSMutableString string... |
'use strict';
var ReactLifeCycle = {
getInitialState: function(){
console.log('getInitialState');
return {};
},
getDefaultProps: function(){
console.log('getDefaultProps');
return {};
},
componentWillMount: function(){
console.log('componentWillMount');
},
componentDidMount: functi... |
package com.fasterxml.jackson.core.base64;
import static org.junit.Assert.assertArrayEquals;
import java.io.*;
import com.fasterxml.jackson.core.*;
public class Base64BinaryParsingTest
extends com.fasterxml.jackson.core.BaseTest
{
public void testBase64UsingInputStream() throws Exception
{
_test... |
hejki-spring
============
Spring extensions.
|
function makepie(land){
// open data
d3.json("json.txt", function(data){
// remove current pie
d3.select(".pie").remove()
// remove last pie titel
d3.selectAll(".titelpie").remove()
// append div for new titel
d3.select("#right").append("div")
.attr("class", "titelpie")
// write country for data
.te... |
import OriginCache from "../../lib/origin-cache"
import { makeRegex } from "../../lib/san"
describe( "Origin cache", ( ) =>
{
it( "should handle not-found origins", async ( ) =>
{
const oc = new OriginCache( );
expect( oc.get( "http1", "foo.com" ) ).toBeUndefined( );
} );
it( "should handle static and dynam... |
#include <map>
#include <signal.h>
#include <iostream>
#include "Util/File.h"
#include "Util/SSLBox.h"
#include "Util/logger.h"
#include "Util/onceToken.h"
#include "Util/NoticeCenter.h"
#include "Network/TcpServer.h"
#include "Poller/EventPoller.h"
#include "Common/config.h"
#include "Http/WebSocketSession.h"
usin... |
<?php
namespace Magento\Backend\Block\System\Cache;
/**
* Cache management form page
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Form extends \Magento\Backend\Block\Widget\Form\Generic
{
/**
* @var \Magento\Core\Helper\Data
*/
protected $_coreData;
/**
* @par... |
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: AssemblyTitle("Tic... |
Change Log
==========
Version 0.25.1 _(2020-04-12)_
---------------------------------
* Fix: Avoid unnecessary recompilation of debug builds
Version 0.25.0 _(2020-04-11)_
---------------------------------
* Add: Support for Android Gradle plugin version >= 4
* Add: Support for Gradle incremental processing
* Breaki... |
<!--
Copyright (C) 2011-2020 Red Hat, Inc. (https://github.com/Commonjava/indy)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2... |
using System;
using SpielGutWebInterface.Domain.Interface;
using WebGrease;
namespace SpielGutWebInterface.Domain.Entity
{
public class Toy : IManagable
{
public Toy()
{
if (string.IsNullOrWhiteSpace(Id))
Id = Guid.NewGuid().ToString();
}
public stri... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
Sample academic project for comparing solutions made by genetic and tabu search algorithms.
# Usage
## Input representation
Input is represented by JSON file in the following way (sample case)
```javascript
[
{
"Items": [
{
"Weight": 70,
"Cost": 260
},
{
"Weight": 60,
... |
class DoubleButton : public Object {
private:
bool triggered = false;
public:
DoubleButton() {
}
DoubleButton(const DoubleButton& obj) {
type = obj.type;
rect = obj.rect;
active = obj.active;
name = obj.name;
logic_height = obj.logic_height;
sound = false;
cutscene = obj.cutscene;
bool temp = f... |
package org.arquillian.recorder.reporter.model;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlRootElement;
import j... |
<?php
/**
* tutorials.php
*
* This file is the "Tutorials" page.
*
*/
/**
* Include the page header to add the menu at the top of the page.
*/
include(dirname(__FILE__) . '/../includes/header.php');
?>
<div class="container">
<div class="row">
<h2>Tutorials</h2>
<div class=... |
<?xml version="1.0" encoding="utf-8"?>
<CheckedTextView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/text1"
style="?android:attr/spinnerDropDownItemStyle"
android:singleLine="true"
android:layout_width="match_parent"
android:layout_height="?android:attr/listPref... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-real-closed: 3 m 23 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.... |
<?php declare(strict_types=1);
namespace DrdPlus\Lighting;
use DrdPlus\RollsOn\Traps\RollOnSenses;
use Granam\Strict\Object\StrictObject;
/**
* See PPH page 128 left column, @link https://pph.drdplus.jaroslavtyc.com/#oslneni
*/
class Glare extends StrictObject
{
/**
* @var int
*/
private $malus;
... |
import os
basedir = os.path.abspath(os.path.dirname(__file__))
class BaseConfig(object):
"""Base configuration."""
SECRET_KEY = 'secret.key'
DEBUG = False
BCRYPT_LOG_ROUNDS = 13
WTF_CSRF_ENABLED = True
DEBUG_TB_ENABLED = False
DEBUG_TB_INTERCEPT_REDIRECTS = False
SQLALCHEMY_TRACK_MODIF... |
using System;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Data;
namespace kmd.Core.Extensions.Converters
{
public class InverseBooleanVisibilityConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, string language)
{
if (value is bool... |
<?php
if ( ! defined('ABSPATH') ) {
die( 'You are not allowed to call this page directly.' );
}
class FrmListHelper {
/**
* The current list of items
*
* @since 2.0.18
* @var array
* @access public
*/
public $items;
/**
* Various information about the current table
*
* @since 2.0.18
* @var arr... |
package programmersguide.workingwithtaskbaselines.taskbaselineduration.java;
import com.aspose.tasks.*;
import java.util.List;
public class TaskBaselineDuration
{
public static void main(String[] args) throws Exception
{
// The path to the documents directory.
String dataDir = "src/program... |
class Show < ActiveRecord::Base
has_many :ShowDates
has_many :ShowPrices
has_many :ShowWriters
has_one :avatar
validates_associated :ShowDates
validates_associated :ShowPrices
validates :title,
presence: true,
length: {minimum: 3, maximum: 50}
validates :description,
... |
package org.codehaus.groovy.ast.tools;
import groovy.lang.Tuple2;
import groovy.transform.stc.IncorrectTypeHintException;
import org.codehaus.groovy.GroovyBugError;
import org.codehaus.groovy.ast.ASTNode;
import org.codehaus.groovy.ast.ClassHelper;
import org.codehaus.groovy.ast.ClassNode;
import org.codehaus.groovy.... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>graph-basics: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.mi... |
package org.orgama.shared;
/**
* Interface for an object that can redirect
* @author kguthrie
*/
public interface IRedirector {
public void redirect(String url);
}
|
namespace AForge.Imaging
{
using System;
using System.Drawing;
using System.Drawing.Imaging;
using AForge.Math;
/// <summary>
/// Gather statistics about image in RGB color space.
/// </summary>
///
/// <remarks><para>The class is used to accumulate statistical values ... |
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('events', '0043_auto_20160306_1419'),
]
operations = [
migrations.AlterField(
model_name='event',
name='status',
... |
layout: content-main
title: Arviointi
theme: swedish
course: rub3.7
published: true
---
Kurssin arviointi perustuu ensisijaisesti läsnäoloon oppitunneilla ja niiden
aikana tapahtuvan työskentelyn eri osa-alueisiin. Alla tarkempi erittely.
**Kaikki kurssin aikana tehtävät suoritukset (sanakokeet, kuuntelukokeet, kotia... |
package cucumber.runtime.java.needle.injection;
import de.akquinet.jbosscc.needle.injection.InjectionProvider;
import de.akquinet.jbosscc.needle.injection.InjectionTargetInformation;
/**
* InjectionProvider that provides a singleton instance of type T whenever injection is required
*
* @param <T>
* ta... |
namespace metrics {
namespace {
// Gets the network quality estimator from |network_quality_estimator_provider|,
// and provides it to the |callback|.
void GetAndSetNetworkQualityEstimator(
const base::Callback<void(net::NetworkQualityEstimator*)>& callback,
NetworkMetricsProvider::NetworkQualityEstimatorProv... |
<?php
class BaseHelper{
public static function debugMessage($message){
echo "<pre>";
if(is_array($message) || is_object($message)){
print_r($message);
}else{
echo $message;
}
echo "</pre>";
}
}
|
{% extends "global/footer.html" %}
{% block menu_links %}
{% if request.APP == amo.FIREFOX or request.APP == amo.MOBILE %}
{% include "menu_links.html" %}
{% endif %}
{% endblock %}
{% block extra_footer_links %}
| <a class="mobile-link" href="">{{ _('View Mobile Site') }}</a>
{% endblock %}
{% bl... |
package freemarker.core;
abstract public class TemplateValueFormat
{
public TemplateValueFormat(){}
public abstract String getDescription();
}
|
config-forker forks presubmit, periodic, and postsubmit job configs with the `fork-per-release` annotation.
## Usage
* `--job-config`: Path to the job config
* `--output`: Path to the output yaml to create. If not specified, the process still runs but no file is generated
(potentially useful for presubmits)
* `--ve... |
<?php
namespace Genro\FileUpload\Assembler;
use Genro\FileUpload\Paths;
use Genro\FileUpload\Traits\FilesystemSetterTrait;
/**
* Class Assembler
*
* @package Genro\FileUpload\Assembler
* @author Yutaka Chiba <yutakachiba@gmail.com>
*/
class Assembler implements AssemblerInterface
{
use FilesystemSetterTr... |
<?php
/* AcmeDemoBundle:Welcome:index.html.twig */
class __TwigTemplate_d4f5799629ab464b2105572309710e43 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = $this->env->loadTemplate("AcmeDemoBundle::layout.html.twig");
... |
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: AssemblyTitle("Reg... |
import { Directive, ElementRef, Input, OnInit } from '@angular/core';
import { EsriMapService } from './../../core/esri-map.service';
@Directive({
selector: '[esriCustomWidget], [esri-customWidget]'
})
export class CustomWidgetDirective implements OnInit {
@Input() position: string;
constructor(private el: Ele... |
<!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.6.0_27) on Thu Oct 17 21:45:10 EDT 2013 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>Uses of Class org.a... |
using System;
using System.Linq.Expressions;
using System.Reflection;
namespace Fluency.Utils.Reflection
{
public class SingleProperty : Accessor
{
readonly PropertyInfo _property;
public SingleProperty(PropertyInfo property)
{
_property = property;
... |
title: "Using the EC2 Integration with Sensu Enterprise"
linkTitle: "EC2 Integration"
product: "Sensu Enterprise"
version: "3.0"
weight: 1
menu:
sensu-enterprise-3.0:
parent: guides
---
In this guide, we'll cover configuring and using the Sensu Enterprise Amazon Web Services (AWS) EC2 integration.
- [Prerequisite... |
package com.amazonaws.services.macie2.model;
import javax.annotation.Generated;
/**
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public enum OrderBy {
ASC("ASC"),
DESC("DESC");
private String value;
private OrderBy(String value) {
this.value = value;
}
@Override... |
package org.apache.carbondata.core.datastore.chunk.store;
import org.apache.carbondata.core.constants.CarbonCommonConstants;
import org.apache.carbondata.core.datastore.chunk.store.impl.LocalDictDimensionDataChunkStore;
import org.apache.carbondata.core.datastore.chunk.store.impl.safe.SafeFixedLengthDimensionDataChu... |
"use strict";
var iotdb = require('iotdb');
var iotdb_transport = require('iotdb-transport');
const errors = require('iotdb-errors');
var _ = iotdb._;
var path = require('path');
var util = require('util');
var url = require('url');
var recipe = require('./recipe');
var ctx = require('./context');
var logger = i... |
<?php
/* @var $this UsersController */
/* @var $model Users */
$this->breadcrumbs=array(
'Users'=>array('index'),
'Manage',
);
$this->menu=array(
array('label'=>'List Users', 'url'=>array('index')),
array('label'=>'Create Users', 'url'=>array('create')),
);
Yii::app()->clientScript->registerScript('search', "
$(... |