text
stringlengths
3
1.05M
DEVICE=$1 echo "my device is ${DEVICE}" if [ -z $ANDROID_HOME ]; then ANDROID_HOME='/opt/android-sdk-linux' fi if [ -z $DEVICE ]; then DEVICE='Nexus5' fi DEVICEOUTPUT="$(${ANDROID_HOME}/platform-tools/adb devices | grep emulator)" if [ -z "${DEVICEOUTPUT}" ]; then echo "${DEVICEOUTPUT}" echo "Devices a...
static enum TestResult test_available(void) { if (linux_pkey_alloc(0, 0, 0) == linux_ENOSYS) return TEST_NOT_SUPPORTED; return TEST_SUCCESS; } BEGIN_TEST() DO_TEST(test_available, "Syscall is available"); END_TEST()
using System.Collections; using Abp.Collections; using Abp.MultiTenancy; namespace Abp.Configuration.Startup { /// <summary> /// Used to configure multi-tenancy. /// </summary> public interface IMultiTenancyConfig { /// <summary> /// Is multi-tenancy enabled? /// Default va...
'use strict'; import type { Fiber } from 'ReactFiber'; import type { FiberRoot } from 'ReactFiberRoot'; import type { TypeOfWork } from 'ReactTypeOfWork'; import type { PriorityLevel } from 'ReactPriorityLevel'; var { createFiberRoot } = require('ReactFiberRoot'); var ReactFiberScheduler = require('ReactFiberSchedu...
using System.Reflection; 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("ContactManager.Models")] [assembly: Assem...
package org.cgfork.tools.common; import org.cgfork.tools.common.util.StringUtil; /** * @author cgfork * @since 1.0.0 */ public final class Assert { private Assert() { } /** * Checks the given {@code expression} is true. * * @param expression the expression to be checked. * @para...
using Amazon.SQS.Model; using JustBehave; using JustSaying.TestingFramework; using NSubstitute; namespace JustSaying.AwsTools.UnitTests.MessageHandling.SqsNotificationListener { public class WhenMessageHandlingFails : BaseQueuePollingTest { protected override void Given() { base.Giv...
<?xml version="1.0" encoding="UTF-8"?> <Form xmlns="http://v8.1c.ru/8.3/xcf/logform" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:dcscor="http://v8.1c.ru/8.1/data-composition-system/core" xmlns:dcsset="http://v8.1c.ru/8.1/data-composition...
package org.biacode.jcronofy.api.model; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; /** * User: Arthur Asatryan * Date: 10/4/16 * Time: 8:01 PM */ @JsonIgnoreProperties(ignoreUnknown = true) public enum NotificationTypeModel { @JsonProper...
package com.mongodb; /** * */ public class LazyWriteableDBDecoder extends LazyDBDecoder { static class LazyDBDecoderFactory implements DBDecoderFactory { @Override public DBDecoder create( ){ return new LazyWriteableDBDecoder(); } } public static DBDecoderFactory FA...
export const getHistogramFromTable = (data) => { const histogram = {}; data.hashes().forEach(({ walletAmount, walletUtxosAmount }) => { histogram[walletAmount] = walletUtxosAmount; }); return histogram; };
export * from './PerlinNoise'; export * from './Random';
// Copyright (c) Microsoft Corporation. // All rights reserved. // // This code is licensed under the MIT License. // // 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, in...
namespace Sass { class Context; // Refactor to make it generic to find linefeed (look behind) inline bool ends_with(std::string const & value, std::string const & ending) { if (ending.size() > value.size()) return false; return std::equal(ending.rbegin(), ending.rend(), value.rbegin()); } class Ou...
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="temperocapixaba.com.temperocapixabavendedor"> <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:...
from django.utils.six.moves.urllib import parse as urlparse def replace_query_param(url, key, val): """ Given a URL and a key/val pair, set or replace an item in the query parameters of the URL, and return the new URL. """ (scheme, netloc, path, query, fragment) = urlparse.urlsplit(url) query_...
import {useDebugValue, useEffect, useState} from 'react'; // Hook used for safely managing subscriptions in concurrent mode. // // In order to avoid removing and re-adding subscriptions each time this hook is called, // the parameters passed to this hook should be memoized in some way– // either by wrapping the enti...
package com.marshalchen.common.uimodule.nineoldandroids.animation; /** * This evaluator can be used to perform type interpolation between <code>int</code> values. */ public class IntEvaluator implements TypeEvaluator<Integer> { /** * This function returns the result of linearly interpolating the start an...
.x-pivotgrid .x-grid3-header-offset table td { background: url(../images/default/grid/grid3-hrow.gif) repeat-x 50% 100%; border-left: 1px solid; border-right: 1px solid; border-left-color: #EEE; border-right-color: #D0D0D0; } .x-pivotgrid .x-grid3-row-headers { background-color: #f9f9f9; } .x...
class Numeric # Formats a number as a user-readable duration # # @return [String] a user-readable duration. Follows the following algorithm # 1. If more than an hour, print hours and minutes # 2. If less than an hour and more than a minute, print minutes and seconds # ...
require 'spec_helper' describe Spree::Promotion::Rules::UserLoggedIn do let(:rule) { Spree::Promotion::Rules::UserLoggedIn.new } context "#eligible?(order)" do let(:order) { Spree::Order.new } it "should be eligible if order has an associated user" do user = double('User') order.stub(:user =>...
package org.apache.activemq; import javax.jms.Connection; import javax.jms.Destination; import javax.jms.JMSException; import javax.jms.Message; import javax.jms.MessageConsumer; import javax.jms.MessageProducer; import javax.jms.Session; import javax.jms.TextMessage; import javax.jms.Topic; import org.slf4j.Logger;...
"""Tests for the Goal Zero Yeti integration.""" from unittest.mock import AsyncMock, patch from homeassistant.components import dhcp from homeassistant.components.goalzero import DOMAIN from homeassistant.components.goalzero.const import DEFAULT_NAME from homeassistant.const import CONF_HOST, CONF_NAME from homeassist...
var ADB = require('titanium-sdk/lib/adb'), AdmZip = require('adm-zip'), android = require('titanium-sdk/lib/android'), androidDetect = require('../lib/detect').detect, AndroidManifest = require('../lib/AndroidManifest'), appc = require('node-appc'), archiver = require('archiver'), async = require('async'), Bu...
import unittest from datetime import datetime from unittest.mock import MagicMock, patch import pytest from airflow.exceptions import AirflowException from airflow.models import DagRun, TaskInstance from airflow.models.dag import DAG from airflow.providers.apache.kylin.operators.kylin_cube import KylinCubeOperator fr...
package org.zstack.header.storage.backup; import org.zstack.header.message.NeedReplyMessage; /** */ public class ConnectBackupStorageMsg extends NeedReplyMessage implements BackupStorageMessage { private String backupStorageUuid; private boolean newAdd; @Override public String getBackupStorageUuid()...
 #pragma once #include <aws/workdocs/WorkDocs_EXPORTS.h> #include <aws/workdocs/WorkDocsRequest.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/core/utils/memory/stl/AWSMap.h> #include <utility> namespace Aws { namespace Http { class URI; } //namespace Http namespace WorkDocs { namespace Model ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>jQuery custom scrollbar demo</title> <!-- style for demo and examples --> <style> body{margin:0; padding:0; color:#eee; background:#222; font-family:Verdana,Geneva,...
@org.spongepowered.api.util.annotation.NonnullByDefault package org.spongepowered.api.item.inventory.entity;
#include "config.h" #include "core/layout/LayoutImage.h" #include "core/HTMLNames.h" #include "core/editing/FrameSelection.h" #include "core/fetch/ImageResource.h" #include "core/fetch/ResourceLoadPriorityOptimizer.h" #include "core/fetch/ResourceLoader.h" #include "core/frame/LocalFrame.h" #include "core/html/HTMLA...
#include "tensorflow/core/graph/graph.h" #include <set> #include <vector> #include "tensorflow/core/framework/function_testlib.h" #include "tensorflow/core/graph/graph_constructor.h" #include "tensorflow/core/graph/node_builder.h" #include "tensorflow/core/kernels/ops_util.h" #include "tensorflow/core/lib/core/statu...
<component> <option name="TRACING_FILTERS_ENABLED" value="true" /> <option name="TOSTRING_CLASSES_ENABLED" value="false" /> <option name="VALUE_LOOKUP_DELAY" value="700" /> <option name="DEBUGGER_TRANSPORT" value="0" /> <option name="FORCE_CLASSIC_VM" value="true" /> <option name="DISABLE_JIT" value="false"...
# # # /* See http://www.boost.org for most recent version. */ # # ifndef BOOST_PREPROCESSOR_ARRAY_PUSH_BACK_HPP # define BOOST_PREPROCESSOR_ARRAY_PUSH_BACK_HPP # # include <boost/preprocessor/arithmetic/inc.hpp> # include <boost/preprocessor/array/data.hpp> # include <boost/preprocessor/array/size.hpp> # include <boos...
package podsecuritypolicy import ( "fmt" "strings" "k8s.io/apimachinery/pkg/util/validation/field" api "k8s.io/kubernetes/pkg/apis/core" "k8s.io/kubernetes/pkg/apis/extensions" psputil "k8s.io/kubernetes/pkg/security/podsecuritypolicy/util" "k8s.io/kubernetes/pkg/securitycontext" "k8s.io/kubernetes/pkg/util...
namespace spdlog { template<typename Factory> SPDLOG_INLINE std::shared_ptr<logger> stdout_color_mt(const std::string &logger_name, color_mode mode) { return Factory::template create<sinks::stdout_color_sink_mt>(logger_name, mode); } template<typename Factory> SPDLOG_INLINE std::shared_ptr<logger> stdout_color_st...
<?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 (key). ...
[![Build Status](https://travis-ci.org/LaboratoryB/stegosaurus.svg?branch=master)](https://travis-ci.org/LaboratoryB/stegosaurus) ## About Stegosaurus A very, very basic [steganographic device](http://en.wikipedia.org/wiki/Steganography) for storing a payload in a (png) image. The resulting image (with the hidden pa...
An isogram is a word that has no repeating letters, consecutive or non-consecutive. Implement a function that determines whether a string that contains only letters is an isogram. Assume the empty string is an isogram. Ignore letter case. isIsogram "Dermatoglyphics" == true isIsogram "aba" == false isIsogram "moOse" =...
package com.caucho.hessian.io; import java.io.IOException; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.util.HashMap; import java.util.logging.*; /** * Seria...
"""Define tests for the SimpliSafe component."""
export default function() { return [ { title: "Javascript: The Good Parts", pages: 101 }, { title: "Harry Potter", pages: 39 }, { title: "The Dark Tower", pages: 85 }, { title: "Eloquent Ruby", pages: 1 } ]; }
require 'spec_helper' describe 'postgresql::server::grant', :type => :define do let :facts do { :osfamily => 'Debian', :operatingsystem => 'Debian', :operatingsystemrelease => '6.0', :kernel => 'Linux', :concat_basedir => tmpfilename('contrib'), :id => 'root', :path => '...
internal static partial class Interop { private static partial class Libraries { internal const string Libc = "libc"; // C library internal const string LibCoreClr= "libcoreclr"; // CoreCLR runtime internal const string LibCrypto = "libcrypto"; // OpenSSL...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2015.11.04 at 10:30:...
'use strict'; var isObject = require('isobject'); var isNumber = require('is-number'); var randomize = require('randomatic'); var repeatStr = require('repeat-string'); var repeat = require('repeat-element'); /** * Expose `fillRange` */ module.exports = fillRange; /** * Return a range of numbers or letters. * ...
package org.openntf.domino.xsp.helpers; import javax.faces.context.FacesContext; import javax.faces.event.PhaseEvent; import javax.faces.event.PhaseId; import javax.servlet.http.HttpServletResponse; import org.openntf.domino.utils.Factory; import com.ibm.xsp.context.FacesContextEx; /** * PhaseListener for the lib...
/** * angular-strap * @version v2.0.0-rc.3 - 2014-02-10 * @link http://mgcrea.github.io/angular-strap * @author Olivier Louvignes (olivier@mg-crea.com) * @license MIT License, http://www.opensource.org/licenses/MIT */ 'use strict'; angular.module('mgcrea.ngStrap.modal', ['mgcrea.ngStrap.helpers.dimensions']).prov...
package generators import ( "io" "k8s.io/gengo/generator" "k8s.io/gengo/namer" "k8s.io/gengo/types" clientgentypes "k8s.io/kubernetes/cmd/libs/go2idl/client-gen/types" "github.com/golang/glog" ) // factoryGenerator produces a file of listers for a given GroupVersion and // type. type factoryGenerator struct...
We will get started by downloading the Kunstmaan Bundles Standard Edition to get the CMS and all it's dependencies. ```sh composer create-project kunstmaan/bundles-standard-edition myprojectname ``` ![composer create](https://raw.githubusercontent.com/kunstmaan/KunstmaanBundlesCMS/master/docs/images/composer-create.p...
#import "POPBasicAnimation.h" #import "POPPropertyAnimationInternal.h" // default animation duration static CGFloat const kPOPAnimationDurationDefault = 0.4; // progress threshold for computing done static CGFloat const kPOPProgressThreshold = 1e-6; static void interpolate(POPValueType valueType, NSUInteger count,...
package jose import ( "crypto/elliptic" "errors" "fmt" ) // KeyAlgorithm represents a key management algorithm. type KeyAlgorithm string // SignatureAlgorithm represents a signature (or MAC) algorithm. type SignatureAlgorithm string // ContentEncryption represents a content encryption algorithm. type ContentEn...
<?php namespace yii\web; /** * ServerErrorHttpException represents an "Internal Server Error" HTTP exception with status code 500. * * @author Qiang Xue <qiang.xue@gmail.com> * @since 2.0 */ class ServerErrorHttpException extends HttpException { /** * Constructor. * @param string $message error me...
- order: 5 带标签的输入框:使用 `.ant-input-group` 类并结合 `.ant-input-group-addon` 类可以创建带标签的输入框。 --- ````jsx var Select = antd.Select; var Option = Select.Option; React.render( <form className="ant-form-horizontal"> <div className="ant-form-item"> <label className="col-6" htmlFor="site1">标签输入框:</label> <div className...
#pragma GCC system_header #import "DVTFoundation.h" #import "DVTKit.h" #import "IDEFoundation.h" #import <QuartzCore/CATextLayer.h> #import <QuartzCore/CAAnimation.h> #import <QuartzCore/CAReplicatorLayer.h> #import <QuartzCore/CAGradientLayer.h> #import <QuartzCore/CAScrollLayer.h> #import <AddressBook/ABPerson.h>...
/** * @file cb_bt_serial.h * @brief Data management for RFCOMM based profiles such and Serial * Port Profile (SPP). */ #ifndef _CB_BT_SERIAL_H_ #define _CB_BT_SERIAL_H_ #include "cb_comdefs.h" #include "bt_types.h" #include "cb_bt_conn_man.h" #ifdef __cplusplus extern "C" { #endif /*=========================...
package org.gradoop.flink.model.impl.operators.matching.single.cypher.common.pojos; import com.google.common.collect.Lists; import org.gradoop.common.model.impl.id.GradoopId; import org.gradoop.common.model.impl.properties.PropertyValue; import org.gradoop.flink.model.impl.operators.matching.single.cypher.pojos.Embed...
<?php namespace Dompdf; /** * Autoloads Dompdf classes * * @package Dompdf */ class Autoloader { const PREFIX = 'Dompdf'; /** * Register the autoloader */ public static function register() { spl_autoload_register([new self, 'autoload']); } /** * Autoloader * ...
namespace glm{ namespace detail { typedef short hdata; GLM_FUNC_DECL float toFloat32(hdata value); GLM_FUNC_DECL hdata toFloat16(float const & value); class half { public: // Constructors GLM_FUNC_DECL half(); GLM_FUNC_DECL half(half const & s); template <typename U> GLM_FUNC_DECL explicit half(U...
/* 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 writing, software * distribut...
<div class="jumbotron text-center"> <h1>The About Page</h1> <p>This page demonstrates <span class="text-danger">multiple</span> and <span class="text-danger">named</span> views.</p> </div> <div class="row"> <div class="col-sm-6"> <div ui-view="columnOne"></div> </div> <div class=...
#import <Foundation/Foundation.h> // Description of an RFC 4566 Session. // RTCSessionDescription is an ObjectiveC wrapper for // SessionDescriptionInterface. @interface RTCSessionDescription : NSObject // The SDP description. @property(nonatomic, copy, readonly) NSString *description; // The session type. @proper...
define("dojo/store/util/QueryResults", ["../../_base/array", "../../_base/lang", "../../when" ], function(array, lang, when){ // module: // dojo/store/util/QueryResults var QueryResults = function(results){ // summary: // A function that wraps the results of a store query with additional // methods. // descrip...
/*! * Qoopido.js library v3.5.6, 2014-10-14 * https://github.com/dlueth/qoopido.js * (c) 2014 Dirk Lueth * Dual licensed under MIT and GPL */ !function(e){window.qoopido.register("support/css/rem",e,["../../support"])}(function(e,t,o,s,r,i){"use strict";var n=e.support;return n.addTest("/css/rem",function(e){var t=n.po...
package cobra import ( "bytes" "fmt" "os" "sort" "strings" "time" ) func printOptions(out *bytes.Buffer, cmd *Command, name string) { flags := cmd.NonInheritedFlags() flags.SetOutput(out) if flags.HasFlags() { fmt.Fprintf(out, "### Options\n\n```\n") flags.PrintDefaults() fmt.Fprintf(out, "```\n\n") }...
[![Latest Stable Version](https://poser.pugx.org/nesbot/carbon/v/stable.png)](https://packagist.org/packages/nesbot/carbon) [![Total Downloads](https://poser.pugx.org/nesbot/carbon/downloads.png)](https://packagist.org/packages/nesbot/carbon) [![Build Status](https://travis-ci.org/briannesbitt/Carbon.svg?branch=master)...
// Type definitions for Angular JS 1.6 // Project: http://angularjs.org // Definitions by: Diego Vilar <https://github.com/diegovilar> // Georgii Dolzhykov <https://github.com/thorn0> // Caleb St-Denis <https://github.com/calebstdenis> // Leonard Thieu <https://github.com...
"""Configuration for App Engine.""" from __future__ import absolute_import # pylint: disable=import-only-modules from __future__ import unicode_literals # pylint: disable=import-only-modules import os import sys from google.appengine.ext import vendor # Root path of the app. ROOT_PATH = os.path.dirname(__file__) T...
require 'spec_helper' module Alchemy describe BaseController do describe '#set_locale' do context 'with Language.current set' do let(:language) { create(:alchemy_language, :klingon) } before { Alchemy::Language.current = language } it "sets the ::I18n.locale to current language co...
package org.jboss.hal.ballroom.form; import java.util.EnumSet; import java.util.Set; import com.google.gwt.safehtml.shared.SafeHtml; import elemental2.dom.HTMLElement; import elemental2.dom.HTMLInputElement; import org.jboss.hal.ballroom.form.TagsManager.Defaults; import org.jboss.hal.ballroom.form.TagsManager.Optio...
package com.facebook.react.testing; import javax.annotation.Nullable; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; import android.graphics.Bitmap; import android.test.ActivityInstrumentationTestCase2; import android.view.View; import android.view.ViewGroup; import com.facebook...
/* * 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 writing, software * distribut...
package catgirl.oneesama.activity.chapterlist.fragments.chapterlist.presenter; import android.os.Bundle; import android.support.annotation.Nullable; import java.util.List; import catgirl.oneesama.activity.chapterlist.fragments.chapterlist.data.ChapterListProvider; import catgirl.oneesama.application.Config; import c...
package org.elasticsearch.rest.action.admin.indices.template.delete; import org.elasticsearch.action.admin.indices.template.delete.DeleteIndexTemplateRequest; import org.elasticsearch.action.admin.indices.template.delete.DeleteIndexTemplateResponse; import org.elasticsearch.client.Client; import org.elasticsearch.com...
using System; using System.Linq; namespace Microsoft.Azure.Management.Network.Models { /// <summary> /// The load distribution policy /// </summary> public static partial class LoadDistribution { /// <summary> /// Default distribution Azure Load Balancer configured to use a 5 ...
package cruise.umple.umple; import org.eclipse.emf.ecore.EObject; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Element Position </b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link cruise.umple.umple.ElementPosition_#getX_1 ...
package rx.internal.operators; import rx.Observable; import rx.Subscriber; import rx.exceptions.Exceptions; import rx.internal.producers.SingleDelayedProducer; import java.util.concurrent.Callable; /** * Do not invoke the function until an Observer subscribes; Invokes function on each * subscription. * <p> * Pas...
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <!-- This HTML was auto-generated from MATLAB code. To make changes, update the MATLAB code and republish this document. --><title>Compute the full L1 regula...
'use strict'; module.exports = function(Chart) { var helpers = Chart.helpers; var globalDefaults = Chart.defaults.global; var defaultConfig = { display: true, // Boolean - Whether to animate scaling the chart from the centre animate: true, lineArc: false, position: 'chartArea', angleLines: { disp...
<?xml version="1.0" encoding="utf-8"?> <appengine-web-app xmlns="http://appengine.google.com/ns/1.0"> <application>active-pillar-108215</application> <version>1</version> <threadsafe>true</threadsafe> </appengine-web-app>
Description =========== Installs a Java. Uses OpenJDK by default but supports installation of the Sun's Java. --- Requirements ============ Platform -------- * Debian, Ubuntu * CentOS, Red Hat, Fedora Cookbooks --------- * apt --- Attributes ========== * `node["java"]["install_flavor"]` - Flavor of JVM you woul...
project_id = attribute('project_id') jenkins_instance_zone = attribute('jenkins_instance_zone') jenkins_instance_name = attribute('jenkins_instance_name') control "gcloud" do title "Google Compute Engine Jenkins configuration" describe google_compute_instance(project: project_id, zone: jenkins_instance_zone, name...
package systemstat_test import ( "bitbucket.org/bertimus9/systemstat" "fmt" ) var sample systemstat.MemSample // This example shows how easy it is to get memory information func Example_simple() { sample = systemstat.GetMemSample() fmt.Println("Total available RAM in kb:", sample.MemTotal, "k total") fmt.Printl...
UPDATE jiveVersion SET majorVersion=2, minorVersion=5; -- jivePrivacyList: Create new table CREATE TABLE jivePrivacyList ( username VARCHAR(32) NOT NULL, name VARCHAR(100) NOT NULL, isDefault INTEGER NOT NULL, list VARCHAR(2000) NOT NU...
'use strict'; function readDir(file, cb) { // do nothing for now cb(null, file); } module.exports = readDir;
Fields ------ .. autoclass:: nefertari_sqla.fields.IntegerField :members: :special-members: :private-members: .. autoclass:: nefertari_sqla.fields.BigIntegerField :members: :special-members: :private-members: .. autoclass:: nefertari_sqla.fields.SmallIntegerField :members: :special-me...
<?php namespace JMS\Serializer\Handler; /** * Handler Registry Interface. * * @author Johannes M. Schmitt <schmittjoh@gmail.com> */ interface HandlerRegistryInterface { /** * @param SubscribingHandlerInterface $handler * * @return void */ public function registerSubscribingHandler(Su...
<?php App::uses('CakeValidationSet', 'Model/Validator'); /** * CakeValidationSetTest * * @package Cake.Test.Case.Model.Validator */ class CakeValidationSetTest extends CakeTestCase { /** * override locale to the default (eng). * * @return void */ public function setUp() { parent::setUp(); Configu...
#include "unicode/utypes.h" #if !UCONFIG_NO_CONVERSION && !UCONFIG_NO_LEGACY_CONVERSION && !UCONFIG_ONLY_HTML_CONVERSION #include "cmemory.h" #include "unicode/ucnv.h" #include "unicode/ucnv_cb.h" #include "unicode/uset.h" #include "unicode/utf16.h" #include "ucnv_bld.h" #include "ucnv_cnv.h" #include "ucnv_imp.h" ...
IndexTextCollect ============== A simple utility to index several important text collections using Lucene and extract postings (if necessary). It was created to produce datasets to test algorithms for fast retrieval: https://github.com/lemire/SIMDCompressionAndIntersection Postings are extracted without terms: You...
<html> <head> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css"/> </head> <body> <nav class="navbar navbar-default"> <div class="container-fluid"> <div class="navbar-header"> <a class="navbar-brand" th:href="@{/home.html}" th:text="#{label.pages.home.title}"...
var jsonrpc = require('../../lib/index'); var JsonRpcServer = jsonrpc.server; var JsonRpcChildProcTransport = jsonrpc.transports.server.childProcess; var server = new JsonRpcServer(new JsonRpcChildProcTransport(), { loopback: function(obj, callback) { callback(null, obj); }, failure: function(obj, ...
var theme = (function () { var loading, loaded, //loaderClass = 'loading'; loaderClass = 'loading'; loading = function (el) { var loader; //el.children().hide(); loader = $('.' + loaderClass, el); if (loader.length === 0) { loader = el.append('<div cl...
/** * Handsontable RemoveRow extension. See `demo/buttons.html` for example usage */ .handsontable.htRemoveRow th.htRemoveRow { text-align: center; } .handsontable.htRemoveRow th.htRemoveRow .btn { background-color: #BBB; border-radius: 9px; padding: 0 6px 0 6px; color: #FFF; cursor: pointer; font-size...
All of the officially-supported mobiledoc renderers have the same signature and methods. To instantiate a renderer, call its constructor with an object of options that has any of the following optional properties: * `atoms` [array] - The atoms that your mobiledoc includes and that the renderer will encounter * `ca...
import { Vector3 } from '../math/Vector3'; import { Color } from '../math/Color'; import { Object3D } from '../core/Object3D'; import { Mesh } from '../objects/Mesh'; import { VertexColors } from '../constants'; import { MeshBasicMaterial } from '../materials/MeshBasicMaterial'; import { OctahedronBufferGeometry } from...
package com.github.mjdbc.test.util; /* * Slightly modified version of the com.ibatis.common.jdbc.ScriptRunner class * from the iBATIS Apache project. Only removed dependency on Resource class * and a constructor * GPSHansl, 06.08.2015: regex for delimiter, rearrange comment/delimiter detection, remove some ide war...
"""Logging """ import sys import logging import pip.backwardcompat class Logger(object): """ Logging object for use in command-line script. Allows ranges of levels, to avoid some redundancy of displayed information. """ VERBOSE_DEBUG = logging.DEBUG-1 DEBUG = logging.DEBUG INFO = logg...
<div class="slider-box"> <div class="slider"> <ul> <li class="item" ng-repeat="item in items"><span>{{ item.title }}</span></li> {{ itemHeight }} </ul> <div class="slider-btn prev" ng-click="sliderService.goToPrevious($event)"><i class="fa fa-chevron-left"></i></div> <div class="slider-btn next"...
<?php /** * Base options class for all eZ components. * * @package Base * @version //autogentag// */ abstract class ezcBaseOptions implements ArrayAccess, Iterator { /** * Container to hold the properties * * @var array(string=>mixed) */ protected $properties; /** * Construc...
class HtmlDelegate : public QStyledItemDelegate { Q_OBJECT public: HtmlDelegate(QObject * parent) : QStyledItemDelegate(parent) { } protected: void paint ( QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index ) const; QSize sizeHint ( const QStyleOptionViewItem &...