text stringlengths 3 1.05M |
|---|
package com.ilivoo.ch13.collection.set;
public class TreeSetTest {
}
|
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
var x = [5,3,8];
x.sort();
TAJS_dumpObject(x);
var y = [5,3,8];
try {
y.sort(42);
TAJS_dumpObject(y);
} catch (e) {
TAJS_dumpObject(y);
}
TAJS_dumpObject(y);
var z = [5,3,8];
try {
z.sort(Math.random()>0.5 ? 42 : undefined);
TAJS_dumpObject(z);
} catch (e) {
TAJS_dumpObject(z);
}
TAJS_dumpObject(z);
//va... |
<?php
/* @var $this CategoryTranslationController */
/* @var $dataProvider CActiveDataProvider */
$this->breadcrumbs=array(
'Category Translations',
);
$this->menu=array(
array('label'=>'Create CategoryTranslation', 'url'=>array('create')),
array('label'=>'Manage CategoryTranslation', 'url'=>array('admin')),
);
?>... |
package sdk.chat.ui.activities;
import android.os.Bundle;
import androidx.annotation.Nullable;
import java.util.ArrayList;
import java.util.List;
import sdk.chat.core.dao.Thread;
import sdk.chat.core.dao.User;
import sdk.chat.core.interfaces.UserListItem;
import sdk.chat.core.session.ChatSDK;
import sdk.chat.ui.R;
... |
'use strict'
var Version = function (version) {
if (!version) {
throw new Error('version required')
}
Object.defineProperty(this, 'version', {
enumerable: true,
writable: true,
value: version.toString()
})
}
module.exports = Version
|
const IDEAL_BODY_FAT_PERCENT = 0.225;
const IDEAL_MUSCLE_PERCENT = 0.42;
export default (bodyFatPercentage, heightInCm, weightInKg) => {
const inchesOverFiveFeet = (heightInCm - 152.4) / 2.54;
const idealWeight = 52 + (1.9 * inchesOverFiveFeet);
const idealFatMass = idealWeight * IDEAL_BODY_FAT_PERCENT;
co... |
P2Rank has routines for optimizing arbitrary parameters with Grid and Bayesian optimization.
Here by hyper-parameters we mean actual hyper-parameters of the machine learning models (e.g. number of trees in RF) but also any arbitrary parameter ot the whole algorithm.
To see the complete commented list of all (includi... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>jQuery Mobile Docs - Radio buttons</title>
<link rel="stylesheet" href="../../../css/themes/default/jquery.mobile-1.1.1.css" />
<link rel="stylesheet" href="../../_assets/css/jqm-docs.... |
๏ปฟ//////////////////////////////////////////////////////////////////////
// File Name : Constants
// System Name : Framework.Logger.Contracts
// Summary :
// Author : dinh.nguyen
// Change Log : 11/3/2015 4:50:28 PM - Create Date
/////////////////////////////////////////////////////////////////////
usi... |
<TS language="he" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>ืืืืฆื ืขื ืืืคืชืืจ ืืืื ื ืืขืืืจ ืชืขืจืื ืืช ืืืชืืืช ืื ืืชืืืืช</translation>
</message>
<message>
<source>Create a new address</source>
... |
define([
'underscore',
'backbone',
'models/freezer/freezer'
], function(_, Backbone, FreezerModel) {
var FreezerCollection = Backbone.Collection.extend({
url: '/api/freezers',
model: FreezerModel
});
return FreezerCollection;
}); |
using System;
using System.Collections.Generic;
using System.Management.Automation;
using Trisoft.ISHRemote.Objects;
using Trisoft.ISHRemote.Objects.Public;
using Trisoft.ISHRemote.Exceptions;
using Trisoft.ISHRemote.HelperClasses;
namespace Trisoft.ISHRemote.Cmdlets.EDT
{
/// <summary>
/// <para type="synop... |
echo ""
echo "fasterjson_press data/test_big.json 10000"
echo ""
time -p ./bin/gcc/mingw/fasterjson_press ./bin/data/test_big.json 10000
echo ""
echo "fasterjson_press data/test_big2.json 10000"
echo ""
time -p ./bin/gcc/mingw/fasterjson_press ./bin/data/test_big2.json 10000
echo ""
echo ""
echo "rapidjson_test data/t... |
<!--
~ Copyright Google 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 agr... |
<!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... |
require 'spec_helper'
require 'spree/testing_support/bar_ability'
module Spree
describe Api::OrdersController, :type => :controller do
render_views
let!(:order) { create(:order) }
let(:variant) { create(:variant) }
let(:line_item) { create(:line_item) }
let(:attributes) { [:number, :item_total, ... |
Octo::Application.configure do
# Settings specified here will take precedence over those in config/application.rb.
# The test environment is used exclusively to run your application's
# test suite. You never need to work with it otherwise. Remember that
# your test database is "scratch space" for the test suit... |
<?xml version="1.0"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.facebook.presto</gr... |
package de.nb.federkiel.logic;
import javax.annotation.concurrent.Immutable;
import javax.annotation.concurrent.ThreadSafe;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Sets;
/**
* A formula, that is build up from two terms (could be something like an equality, e.g.).
... |
layout: model
title: Javanese Bert Embeddings (Small, Wikipedia)
author: John Snow Labs
name: bert_embeddings_javanese_bert_small
date: 2022-04-11
tags: [bert, embeddings, jv, open_source]
task: Embeddings
language: jv
edition: Spark NLP 3.4.2
spark_version: 3.0
supported: true
annotator: BertEmbeddings
article_header:... |
class BingotTest : public QObject
{
Q_OBJECT
private slots:
void toUpper();
};
#endif // BINGOTTEST_H
|
package WEB-INF.classes.br.cefetmg.inf.model.service.impl;
import br.cefetmg.inf.model.domain.Disciplina;
import br.cefetmg.inf.util.db.exception.NegocioException;
import br.cefetmg.inf.util.db.exception.PersistenciaException;
import java.util.List;
/**
*
* @author Felipe Rabelo
*/
public class Mant... |
var templates={
// ---
// LEAVE ME ALONE demo template.
// ---
leavemealone: {
defaulttemplate:false,
label:"Leave Me Alone",
notes:"Remember to name the placeholder fields on metadata and names accordingly: <b>stageX</b> is the current stage name and <b>stageY</b> is the next stage name.",
resourcespath:"... |
package io.quarkus.resteasy.reactive.server.test.customproviders;
public class UniException extends RuntimeException {
private final String input;
public UniException(String input) {
super("Failed with input: " + input);
this.input = input;
}
public String getInput() {
return... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE134_Uncontrolled_Format_String__char_connect_socket_vprintf_10.c
Label Definition File: CWE134_Uncontrolled_Format_String.vasinks.label.xml
Template File: sources-vasinks-10.tmpl.c
*/
/*
* @description
* CWE: 134 Uncontrolled Format String
* BadSource: connect... |
#include "polipo.h"
#ifndef NO_STANDARD_RESOLVER
#ifndef NO_FANCY_RESOLVER
int dnsUseGethostbyname = 1;
#else
const int dnsUseGethostbyname = 3;
#endif
#else
#ifndef NO_FANCY_RESOLVER
const int dnsUseGethostbyname = 0;
#else
#error use no resolver at all?
#endif
#endif
#ifndef NO_FANCY_RESOLVER
AtomPtr dnsNameServ... |
layout: archive
title: Programming
permalink: /programming/
tagline: "To be a good programmer"
category: "Programming"
---
|
package com.ls.database.model;
/**
* @author Stanislav Bodnar, Lemberg Solutions
*/
public class EntityHolder<Key, Entity> {
private final Key mKey;
private final Entity entity;
/**
* @param key primary key, can be primitive(primary key column) or structured object (composite primary key (several ke... |
<?php
namespace Oro\Bundle\WorkflowBundle\Entity\Repository;
use Doctrine\ORM\EntityRepository;
use Oro\Bundle\WorkflowBundle\Entity\WorkflowEntityAclIdentity;
/**
* Doctrine repository for WorkflowEntityAclIdentity entity.
*/
class WorkflowEntityAclIdentityRepository extends EntityRepository
{
/**
* @par... |
namespace cpp_db
{
sqlite_result::sqlite_result(const shared_statement_ptr &stmt_in)
: stmt(stmt_in)
, row_status(SQLITE_DONE)
{
move_next();
for (int column = 0; column < get_column_count(); ++column)
column_names.emplace(sqlite3_column_name(get_stmt_handle(), column), column);
}
sqlite3_stmt *sqlite_... |
/*jshint node:true, mocha: true, laxcomma: true, esnext:true*/
'strict mode';
var assert = require('assert')
, should = require('should')
, path = require('path')
, tastypie = require('tastypie')
, os = require('os')
, hapi = requir... |
InsertTable._pluginInfo = {
name : "InsertTable",
origin : "Xinha Core",
version : "$LastChangedRevision$".replace(/^[^:]*:\s*(.*)\s*\$$/, '$1'),
developer : "The Xinha Core Developer Team",
developer_url : "$HeadURL$".replace(/^[^:]*:\s*(.*)\s*\$$/, '$1'),
sponsor : "",
... |
#ifndef itkRLEImageScanlineConstIterator_h
#define itkRLEImageScanlineConstIterator_h
#include "itkImageScanlineIterator.h"
#include "itkRLEImageRegionConstIterator.h"
namespace itk
{
/** \class ImageScanlineConstIterator
* \brief A multi-dimensional iterator templated over image type that
* walks a region of pi... |
<Type Name="Model" FullName="Urho.Model">
<TypeSignature Language="C#" Value="public class Model : Urho.Resources.Resource" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit Model extends Urho.Resources.Resource" />
<AssemblyInfo>
<AssemblyName>Urho</AssemblyName>
<Assembly... |
Open-source template and schema engine with implementations in Java, JavaScript, and Python.
Copyright 2016 by Jose Fernandez.
|
namespace freeflow {
class Buffer;
/// A System result indicates the result status of an operation. An
/// operation can complete in one of four states: the operation can fail,
/// it can succeed, the result can be deferred (will be available in the
/// future), or it can be interrupted (and should be retried).
///
... |
This document explains the model for Zulip's presence.
In a chat tool like Zulip, users expect to see the โpresenceโ status
of other users: is the person I want to talk to currently online? If
not, were they last online 5 minutes ago, or more like an hour ago, or
a week? Presence helps set expectations for whether som... |
package org.optaplanner.core.api.score.buildin.simple;
import org.junit.Test;
import org.kie.api.runtime.rule.RuleContext;
import org.optaplanner.core.api.score.holder.AbstractScoreHolderTest;
import static org.junit.Assert.*;
public class SimpleScoreHolderTest extends AbstractScoreHolderTest {
@Test
publ... |
@interface ViewController ()
@end
@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.... |
package com.google.cloud.bigquery;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
public class DmlStatsTest {
private static final Long DELETED_ROW_COUNT = 10L;
private static final Long INSERTED_ROW_COUNT = 20L;
private static final Long UPDATED_ROW_COUNT = 30L;
private static final ... |
<?php
/**
* Created by PhpStorm.
* User: minhao
* Date: 2015-09-28
* Time: 11:50
*/
namespace Oasis\Mlib\Task;
use Oasis\Mlib\Event\EventDispatcherInterface;
interface Runnable extends EventDispatcherInterface
{
const EVENT_START = 'start';
const EVENT_SUCCESS = 'success';
const EVENT_ERROR =... |
<?php
namespace TypiCMS\Modules\Pages\Shells\Repositories;
use TypiCMS\Modules\Pages\Repositories\CacheDecorator as BaseClass;
class CacheDecorator extends BaseClass implements PageInterface
{
}
|
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Bull. mens. Soc. linn. Lyon 63(9): 324 (1994)
#### Original name
Peniophora gilbertsonii Boidin, 1994
### Remarks
null |
<html>
<head>
<meta http-equiv="refresh" content="0; url=https://developers.liveperson.com/consumer-experience-javascript-chat-onstart.html" />
</head>
</html> |
[](https://quay.io/repository/leopoldodonnell/gantry)
<p align='center'><img align="center" src="gantry.jpg" width="50%" height="50%"></p>
Just like a dockyard gantry, this docker container will help with... |
@interface UIImage (Render)
// ๆไพไธไธชไธ่ฆๆธฒๆๅพ็ๆนๆณ
+ (UIImage *)imageNameWithOriginal:(NSString *)imageName;
// ็ๆๅ่งๅพ็
- (UIImage *)circleImage;
+ (UIImage *)lz_circleImageNamed:(NSString *)name;
@end
|
<!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_17) on Mon Dec 02 20:33:02 CET 2013 -->
<title>OESBlendSubtract (LWJGL API)</title>
<meta name="date" content="2013-12-02">
<lin... |
import sys
import subprocess
import shlex
import os
import argparse
import shutil
import logging
import coloredlogs
class _CombinedFormatter(
argparse.ArgumentDefaultsHelpFormatter, argparse.RawDescriptionHelpFormatter
):
pass
logger = logging.getLogger(__name__)
coloredlogs.install(
fmt="%(asctime)s,%(... |
<?xml version="1.0" encoding="utf-8"?>
<!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" xml:lang="en" lang="en">
<head>
<title>ActiveRecord::FinderMethods</title>
<meta http-equiv="Content-Typ... |
from datetime import datetime, timedelta
from time import sleep
import urllib.request
import configparser
import requests
config = configparser.ConfigParser()
config.read('config.ini')
# Retrieving settings from config file
client_id = config['settings']['instagram_client_id']
sleeptime = int(config['settings']['sl... |
import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
let _ = t => t,
_t,
_t2,
_t3,
_t4;
import * as React from 'react';
import PropTypes from 'prop-types';
import { TransitionGroup } from 'react-... |
namespace base {
class MessageLoopProxy;
}
namespace quota {
class QuotaManagerProxy;
class SpecialStoragePolicy;
}
// There's one WebKitContext per browser context. Various DispatcherHost
// classes have a pointer to the Context to store shared state. Unfortunately,
// this class has become a bit of a dumping grou... |
var hprose = require('hprose');
hprose.co(function*() {
var client = hprose.Client.create('http://hprose.com/example/');
console.log(yield client.invoke('oo').complete());
console.log(yield client.invoke('xx').complete());
}); |
.fbPhotoSnowliftContainer .uiTypeaheadView .hintText{display:none}
#bootloader_hvMbz{height:42px;}.bootloader_hvMbz{display:block!important;} |
layout: post
title: "Scala: Swith Optimization"
data: 2016-12-28
tags: [reading notes, scala, optimization]
comments: true
share: false
---
### Scala match and branch table optimization
To use a Scala match expression like a Java switch statement, use this approach:
```scala
// i is an integer
i match {
case 1 => pri... |
<!DOCTYPE html>
<html xmlns:msxsl="urn:schemas-microsoft-com:xslt">
<head>
<meta content="en-us" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-16" http-equiv="Content-Type" />
<title _locid="PortabilityAnalysis0">.NET Portability Report</title>
<style>
... |
package org.kie.workbench.common.dmn.client.editors.types.listview;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.function.Function;
import com.google.gwtmockito.GwtMockitoTestRunner;
import elemental2.dom.DOMTokenList;
import elemental2.dom.Element;
import elemen... |
package com.ning.http.util;
import org.testng.Assert;
import org.testng.annotations.Test;
public class UTF8UrlCodecTest {
@Test(groups = "fast")
public void testBasics() {
Assert.assertEquals(UTF8UrlEncoder.encode("foobar"), "foobar");
Assert.assertEquals(UTF8UrlEncoder.encode("a&b"), "a%26b... |
id: 698
title: 'My new book: Professional NoSQL (Wiley, 2011)'
date: 2011-09-19T20:46:54+00:00
author: tshanky
guid: http://shanky.org/?p=698
permalink: /2011/09/19/my-new-book-professional-nosql-wiley-2011/
dsq_thread_id:
- 4658876058
categories:
- 'BigData, NoSQL & Cloud'
- My Publications
---
My new book, ... |
<!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 -->
<title>Uses of Class org.myrobotlab.mapper.sim.RobotFactory</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.c... |
package com.jagrosh.jmusicbot.commands;
import com.jagrosh.jdautilities.command.Command;
import com.jagrosh.jdautilities.command.CommandEvent;
import com.jagrosh.jmusicbot.Bot;
import com.jagrosh.jmusicbot.settings.Settings;
import com.jagrosh.jmusicbot.audio.AudioHandler;
import net.dv8tion.jda.api.entities.GuildVoi... |
import * as node from '../commands/setoptions';
import { Scanner } from '../scanner';
export function parseOption(args: string): node.IOptionArgs {
let scanner = new Scanner(args);
scanner.skipWhiteSpace();
if (scanner.isAtEof) {
return {};
}
let optionName = scanner.nextWord('?!&=:^+-'.split(''));
... |
import { MultiLanguageText } from './text'
export interface ClinicalProtocol {
requiresInClinicCompletion?: boolean
repeatAfterClinicVisit: RepeatQuestionnaire
}
export interface Protocol {
notification?: ProtocolNotification
repeatProtocol: TimeInterval
repeatQuestionnaire: RepeatQuestionnaire
reminders?... |
<?php
namespace Client;
use WindowsAzure\Common\ServicesBuilder;
use WindowsAzure\Table\Models\QueryTablesOptions;
/**
* Encapsulates Windows Azure storage service operations.
*
* @category Microsoft
* @package Client
* @author Azure PHP SDK <azurephpsdk@microsoft.com>
* @copyright 2012 Microsoft Corpo... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- From: file:/home/quiin/Development/android/AndroidstudioProjects/GCrusher/app/src/main/res/values-v14/styles.xml -->
<eat-comment/>
<style name="AppBaseTheme" parent="android:Theme.Holo.Light.DarkActionBar">
<!-- API 14 theme customizations can... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_45) on Sun Jun 09 12:16:06 GMT+05:30 2013 -->
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<TITLE>
Uses of Class org.ap... |
๏ปฟnamespace Crane.Core.Api.Readers
{
public interface ISourceControlInformationReader
{
ISourceControlInformation ReadSourceControlInformation(ISolutionContext solutionContext);
}
}
|
package com.github.shchurov.particleview;
import java.util.List;
/**
* Used to update particles over time.
*/
public interface ParticleSystem {
/**
* Used for allocating buffers of sufficient size.
* @return maximum expected number of particles that will be displayed at the same time
*/
int ... |
using System;
using System.IO;
using System.Net;
using System.Threading;
using System.Collections;
using System.Net.Sockets;
using OpenSource.Utilities;
namespace OpenSource.UPnP
{
/// <summary>
/// An event based AsyncSocket Object
/// </summary>
public sealed class AsyncSocket
{
public ... |
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message ... |
๏ปฟnamespace Common
{
public enum UserRole { Audit, Accept, Pay, Certificate }
} |
layout: page
title: Henderson 20th Anniversary
date: 2016-05-24
author: Emily Graham
tags: weekly links, java
status: published
summary: Praesent vestibulum quis urna ac accumsan. Vestibulum lacinia.
banner: images/banner/office-01.jpg
booking:
startDate: 09/14/2018
endDate: 09/17/2018
ctyhocn: HSVUVHX
groupCod... |
// $Id: Condition_Variables.cpp 91633 2010-09-07 14:27:13Z johnnyw $
#include "ace/config-lite.h"
#if defined (ACE_HAS_THREADS)
#include "ace/Task.h"
#include "ace/Synch.h"
#include "ace/Condition_T.h"
// Listing 1 code/ch12
class HA_Device_Repository
{
public:
HA_Device_Repository() : owner_(0)
{ }
int is_fr... |
<?php
class MyAcl {
/**
*
* @var SimpleAcl
*/
protected $_acl = null;
/**
* arreglo con los templates para cada usuario
*
* @var array
*/
protected $_templates = array();
public function __construct($archivo = 'privilegios') {
$config = Config::read($ar... |
/*
* Afero Device Profile header file
* Device Description:
* Schema Version: 2
*/
// Module Configurations
#define AF_BOARD_MODULO_1 0
#define AF_BOARD_MODULO_1B 1
#define AF_BOARD_MODULO_2 ... |
package dm.audiostreamerdemo;
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 com.google.api.ads.dfp.jaxws.v201602;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
*
* Represents a user of the system.
* <p>
* ... |
package like
import (
"context"
"fmt"
"github.com/pkg/errors"
)
const (
_addLikeExtendSQL = "insert into like_extend (lid,`like`) values %s ON DUPLICATE KEY UPDATE `like` = values(`like`);"
)
// AddExtend .
func (dao *Dao) AddExtend(c context.Context, query string) (res int64, err error) {
rows, err := dao.db.... |
from .instance_view_status import InstanceViewStatus
from .sub_resource import SubResource
from .sku import Sku
from .availability_set import AvailabilitySet
from .virtual_machine_size import VirtualMachineSize
from .virtual_machine_extension_image import VirtualMachineExtensionImage
from .virtual_machine_image_resourc... |
package aima.core.logic.propositional.parsing.ast;
public interface PropositionSymbol extends Sentence {
public boolean isAlwaysTrue();
public boolean isAlwaysFalse();
public String getSymbol();
}
|
var gridOptions = {
columnDefs: [
// group cell renderer needed for expand / collapse icons
{ field: 'name', cellRenderer: 'agGroupCellRenderer' },
{ field: 'account' },
{ field: 'calls' },
{ field: 'minutes', valueFormatter: "x.toLocaleString() + 'm'" }
],
defaultCol... |
package com.github.ruediste.rise.core.i18n;
import com.github.ruediste.rise.component.tree.ValidationStatus;
public interface ValidationPresenter {
ValidationStatus getValidationStatus();
}
|
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
'use strict';
var parseSelector = require('./lib/selector'),
matchSelector = require('./lib/select');
var debug = require('debug')('unist-util-select');
var select = function select (ast, selector) {
if (arguments.length == 1) {
return select.bind(this, ast);
}
debug('Selector: %j', selector);
sele... |
<?xml version="1.0" encoding="UTF-8"?><module codename="org.netbeans.modules.websvc.restapi/0">
<module_version install_time="1360799276510" last="true" origin="installer" specification_version="1.18.1">
<file crc="567035595" name="config/Modules/org-netbeans-modules-websvc-restapi.xml"/>
<file c... |
import sys
import os
import platform
import camio_prepare_arch
from camio_deps import * #Suck up all the definitions in camio_deps
#list of paths required to exist
build_paths = ["deps"]
#Main entry point
def main(install_opt):
#Make sure all the development paths are ready
for path in build_paths:
p... |
layout : post
title : Building Reactive Systems with JavaFX
description : A step-for-step guide on how to use the bindings class and other event componenets in the JavaFX library to build reactive systems.
headline : AGE OF JAVA
category : java
modified : 2016-01-19
tags : [Bindings, Events, ... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#FFF"
android:gravity="center"
android:orientation="vertical">
<TextView
android:l... |
@implementation D2LSecurityHelper
+(NSDictionary *) queryParameterDictionaryFromNSString: (NSString *) queryString {
NSArray * parameterList = [queryString componentsSeparatedByString:@"&"];
int maxOffset;
int i;
maxOffset = [parameterList count] - 1;
NSMutableDictionary * paramDictionary ... |
package action
import "errors"
var (
ErrInvalidId = errors.New("invalid id")
ErrInvalidFilename = errors.New("invalid filename")
ErrInvalidFloat = errors.New("invalid float")
ErrInvalidTimeSpan = errors.New("invalid timeSpan")
)
|
package org.gradoop.flink.io.impl.tlf.functions;
import org.apache.flink.api.common.functions.FlatMapFunction;
import org.apache.flink.util.Collector;
import org.gradoop.common.model.impl.pojo.Vertex;
import org.gradoop.flink.model.impl.layouts.transactional.tuples.GraphTransaction;
/**
* Collects all vertex labels... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
package validator
import (
"net/url"
"testing"
)
type TestStruct1 struct {
Hoge int `form:"foo" valid:"required(), int()"`
}
type TestStruct2 struct {
Piyo bool `form:"bar" valid:"required()"`
Hoge int `form:"foo" valid:"int()"`
}
func TestNew(t *testing.T) {
rule := Rules{
"title": Functions{
NewFuncti... |
module Paperclip
unless defined?(Paperclip::VERSION)
VERSION = "5.2.1".freeze
end
end
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- Copyright (C) 1988-2017 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later... |
<?php
require_once APPPATH.'models/global/Parent_model.php';
class Salemodel extends Parent_model{
function __construct(){
parent::__construct();
}
function create_order($a){
//this function must be called to create order before to proceed payment gateway.
var_dump($a);
echo "+++++++++++++++++++";
print_r... |
from unittest import TestCase, main
from shutil import rmtree
from tempfile import mkdtemp
from os import listdir, remove
from types import GeneratorType
from os.path import join, isfile, abspath, dirname, splitext
from skbio import DNA
from biom import load_table
import logging
from skbio import Sequence
from deblu... |
package org.waveprotocol.box.server;
import com.google.inject.AbstractModule;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import com.google.inject.name.Named;
import org.waveprotocol.box.server.persistence.file.FileUtils;
import org.waveprotocol.box.server.persistence.lucene.FSIndexDirector... |
/*jshint globalstrict:false, strict:false */
/*global assertEqual, assertTrue, assertMatch, assertNotEqual,
assertUndefined, assertFalse, fail, REPLICATION_LOGGER_LAST */
////////////////////////////////////////////////////////////////////////////////
/// @brief test the replication functions
///
/// @file
///
/// D... |