text
stringlengths
3
1.05M
package org.olat.core.gui; import org.olat.core.gui.components.Component; import org.olat.core.gui.components.ComponentRenderer; import org.olat.core.gui.control.winmgr.AJAXFlags; /** * Description:<br> * GlobalSettings for -one- user! * * <P> * Initial Date: 24.01.2007 <br> * @author Felix Jost, http://www.g...
set -o errexit -o nounset -o noclobber libtoolize aclocal autoheader automake --add-missing autoconf
package org.apache.zookeeper; import org.apache.jute.Record; import org.apache.zookeeper.common.PathUtils; import org.apache.zookeeper.data.ACL; import org.apache.zookeeper.proto.CheckVersionRequest; import org.apache.zookeeper.proto.CreateRequest; import org.apache.zookeeper.proto.DeleteRequest; import org.apache.z...
<?php namespace GuzzleHttp\Promise; /** * Promises/A+ implementation that avoids recursion when possible. * * @link https://promisesaplus.com/ */ class Promise implements PromiseInterface { private $state = self::PENDING; private $result; private $cancelFn; private $waitFn; private $waitList; ...
# sails-bunyan A module replacing the Sails default logger with Bunyan. Supports Sails 0.9.x and 0.10.x. > For Sails 0.11.x, see [sails-hook-bunyan][]. To use, simply inject the logger in `config/bootstrap.js`. ```JavaScript var injectBunyan = require('sails-bunyan').injectBunyan; module.exports.bootstrap = functi...
.class public final Landroid/nfc/NfcEvent; .super Ljava/lang/Object; .source "NfcEvent.java" # instance fields .field public final nfcAdapter:Landroid/nfc/NfcAdapter; # direct methods .method constructor <init>(Landroid/nfc/NfcAdapter;)V .locals 0 .parameter "nfcAdapter" .prologue .line 41 invo...
require "abstract_unit" # Tests the controller dispatching happy path module Dispatching class SimpleController < ActionController::Base before_action :authenticate def index render body: "success" end def modify_response_body self.response_body = "success" end def modify_respo...
package org.asynchttpclient; import static org.asynchttpclient.config.AsyncHttpClientConfigDefaults.*; import java.io.IOException; import java.io.InputStream; import java.util.Collections; import java.util.LinkedList; import java.util.List; import java.util.Properties; import java.util.concurrent.ExecutorService; im...
package com.dms.core.inf.req; import java.util.Date; import org.axonframework.eventsourcing.annotation.AggregateIdentifier; import com.dms.core.base.common.ddd.Identifier; public class MReqApplication implements Identifier<String>{ /** * id */ @AggregateIdentifier private String reqAppId; /** * 需求人 *...
Виды ==== Виды - это часть [MVC](https://ru.wikipedia.org/wiki/Model-View-Controller) архитектуры, это код, который отвечает за представление данных конечным пользователям. В веб приложениях виды создаются обычно в виде *видов - шаблонов*, которые суть PHP скрипты, в основном содержащие HTML код и код PHP, отвечающи...
import logging import numbers try: import redis except ImportError: redis = None try: from urllib.parse import urlparse, urljoin, quote, unquote except ImportError: from urlparse import urlparse, urljoin from urllib import quote, unquote DEFAULT_REDIS_PRIORITY_STEPS = [0, 3, 6, 9] logger = logg...
import { argv } from 'yargs' import config from '../config' import webpackConfig from './webpack.config' import _debug from 'debug' const debug = _debug('app:karma') debug('Create configuration.') const karmaConfig = { basePath: '../', // project root in relation to bin/karma.js files: [ './node_modules/phant...
 /** * @fileOverview Defines the {@link CKEDITOR.resourceManager} class, which is * the base for resource managers, like plugins and themes. */ /** * Base class for resource managers, like plugins and themes. This class is not * intended to be used out of the CKEditor core code. * @param {String} b...
package v1beta1 import ( v1beta1 "k8s.io/api/apps/v1beta1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" scheme "k8s.io/client-go/kubernetes/scheme" rest "k8s.io/client-go/rest" ) // StatefulSetsGetter has a method to return a StatefulSet...
"""Service calling related helpers.""" import asyncio from functools import partial, wraps import logging from typing import ( TYPE_CHECKING, Any, Callable, Dict, Iterable, List, Optional, Set, Tuple, ) import voluptuous as vol from homeassistant.auth.permissions.const import CAT_E...
<?php namespace Aura\Filter\Rule\Sanitize; class FieldTest extends AbstractSanitizeTest { protected $other_field = 'other'; protected $other_value = '1'; protected function getSubject($value) { $subject = parent::getSubject($value); $subject->{$this->other_field} = $this->other_value;...
/** * @author Vladimir N. Molotkov * @version $Revision$ */ package tests.security.spec; import junit.framework.TestCase; import java.security.spec.EncodedKeySpec; import java.security.spec.PKCS8EncodedKeySpec; import java.util.Arrays; /** * Tests for <code>PKCS8EncodedKeySpec</code> class fields and methods. *...
static NSString*const sourUrl = @"https://m.baidu.com/static/index/plus/plus_logo.png"; static NSString*const sourIconUrl = @"http://m.baidu.com/static/search/baiduapp_icon.png"; static NSString*const localUrl = @"http://mecrm.qa.medlinker.net/public/image?id=57026794&certType=workCertPicUrl&time=1484625241"; static...
'use strict'; var Node = require('./Node'), ArrayNode = require('./ArrayNode'), keywords = require('../keywords'), latex = require('../../util/latex'), isString = require('../../util/string').isString; /** * @constructor AssignmentNode * @extends {Node} * Define a symbol, like "a = 3.2" * * @pa...
rest-cube ========= Rest Cube is an simple HTTP REST Client based on http apache commons.
<!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-google-internal) on Wed Dec 30 10:35:12 PST 2009 --> <TITLE> Uses of Class com.google.common.base.Predicates (Google Collections Library 1.0 (FINAL))...
/** * A lot of Gen 1 moves have to be updated due to different mechanics. * Some moves have had major changes, such as Bite's typing. */ exports.BattleMovedex = { acid: { inherit: true, target: "normal" }, amnesia: { inherit: true, desc: "Raises the user's Special by 2 stages.", shortDesc: "Boosts the u...
static char help[] = "Newton's method for arctan x = 0. Run with -snes_fd or -snes_mf.\n\n"; #include <petsc.h> extern PetscErrorCode FormFunction(SNES, Vec, Vec, void*); int main(int argc,char **argv) { SNES snes; // nonlinear solver Vec x, r; // solution, residual vectors ...
define(['../module'], function (controllers) { 'use strict'; controllers.controller('BuscarTransaccionBovedaCajaController', ['$scope', '$state', '$filter','$modal','CajaService','SessionService', function($scope, $state, $filter,$modal, CajaService, SessionService) { $scope.nuevo = functio...
GITHUB_HOST := github.com REPO := jobsquad/aiw-ui PROJECT_NAME := aiw-ui GHP_COPY_APP := \ bundle.ghp-copy \ package.json.ghp-copy \ index.html.ghp-copy # Uncomment these if you want to override the default Selenium configs #SELENIUM_HOST ?= localhost #SELENIUM_PORT ?= 4444 #SELENIUM_BROWSER ?= chrome -include no...
* Support for PhpUnit 5.x. * [Lumen] Major refactoring of Lumen module. See [#3533](https://github.com/Codeception/Codeception/pull/3533). By @janhenkgerritsen * [Laravel5] Removed calls to `Auth::logout()`, `Session::flush()` and `Cache::flush()` from after hook. See #3493. By @janhenkgerritsen * [Memcache] Updated `M...
using System; using System.Linq; namespace Microsoft.WindowsAzure.Management.Compute.Models { /// <summary> /// Specifies the protocol to use when inspecting the virtual machine /// availability status. /// </summary> public enum LoadBalancerProbeTransportProtocol { Tcp = 0, ...
<?php return array ( 'Could not create activity for this object type!' => 'Δεν μπορεί να δημιουργηθεί δραστηριότητα γι\'αυτόν τον τύπο αντικειμένου!', );
class RenamePhoneNumbersTable < ActiveRecord::Migration def change rename_table :phone_numbers, :practice_phone_numbers end end
ACCEPTED #### According to IRMNG Homonym List #### Published in Mém. Inst. Genev. , 6, 438, 442. #### Original name null ### Remarks null
package org.wso2.developerstudio.eclipse.gmf.esb; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>API Resource Endpoint Output Connector</b></em>'. * <!-- end-user-doc --> * * * @see org.wso2.developerstudio.eclipse.gmf.esb.EsbPackage#getAPIResourceEndpointOutputConnector() * @mode...
require "spec_helper" describe "Rails::Mongoid" do before(:all) do require "rails/mongoid" end describe ".create_indexes" do let(:pattern) do "spec/app/models/**/*.rb" end let(:logger) do stub end let(:klass) do User end let(:model_paths) do [ "spec/a...
var _concat = require('./internal/_concat'); var _curry2 = require('./internal/_curry2'); /** * Returns a new list containing the contents of the given list, followed by the given * element. * * @func * @memberOf R * @category List * @sig a -> [a] -> [a] * @param {*} el The element to add to the end of the ne...
package org.apache.flink.api.java.typeutils; import org.apache.flink.api.common.typeinfo.BasicTypeInfo; import org.apache.flink.api.common.typeutils.TypeInformationTestBase; /** * Test for {@link MultisetTypeInfo}. */ public class MultisetTypeInfoTest extends TypeInformationTestBase<MultisetTypeInfo<?>> { @Ove...
#import <FBSnapshotTestCase/FBSnapshotTestCasePlatform.h> #import <QuartzCore/QuartzCore.h> #import <UIKit/UIKit.h> #import <XCTest/XCTest.h> /* There are three ways of setting reference image directories. 1. Set the preprocessor macro FB_REFERENCE_IMAGE_DIR to a double quoted c-string with the path. 2. S...
/** * @fileoverview Prevent usage of findDOMNode * @author Yannick Croissant */ 'use strict'; // ------------------------------------------------------------------------------ // Rule Definition // ------------------------------------------------------------------------------ module.exports = { meta: { docs:...
package org.apache.jsieve; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.apache.jsieve.exception.SieveException; import org.apache.jsieve.mail.MailAdapter; import org.apache.jsieve.parser.generated.ASTargument; import org.apache.jsieve.parser.generated.ASTarguments; import...
namespace content { // Force-appends flags to the command line turning on Android-specific // features owned by Content. This is called as soon as possible during // initialization to make sure code sees the new flags. void SetContentCommandLineFlags(bool single_process, const std::stri...
package org.apache.spark.sql.catalyst.expressions import org.apache.spark.SparkFunSuite import org.apache.spark.sql.catalyst.InternalRow import org.apache.spark.sql.types._ class GeneratorExpressionSuite extends SparkFunSuite with ExpressionEvalHelper { private def checkTuple(actual: Expression, expected: Seq[Int...
package org.xbill.DNS; import junit.framework.TestCase; public class MRRecordTest extends TestCase { public void test_ctor_0arg() { MRRecord d = new MRRecord(); assertNull(d.getName()); assertNull(d.getNewName()); } public void test_ctor_4arg() throws TextParseException { Name n = Name.fromSt...
<!-- Copyright 2014 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 agreed to in writing...
describe("", function() { var rootEl; beforeEach(function() { rootEl = browser.rootEl; browser.get("build/docs/examples/example-example94/index.html"); }); var switchElem = element(by.css('[ng-switch]')); var select = element(by.model('selection')); it('should start in settings', function() { expect...
<?php /** * @author Manuel Thalmann <m@nuth.ch> * @license Apache-2.0 */ namespace System\Web; use ManuTh\TemPHPlate\Properties\Settings; use System\Globalization\CultureInfo; use System\Web\Forms\Control; use System\Web\Forms\MenuBar; use System\Web\Forms\Rendering\Renderer; ...
var proxied = function(){}; var passed = false; new new Proxy(proxied, { construct: function (t, args) { passed = t === proxied && args + "" === "foo,bar"; return {}; } })("foo","bar"); assert.ok(passed);
$excludedExtensions = @(".dll", ".zip", ".msi", ".exe") ################################### # # Retrievce the contents of a powershrell transcript, stripping headers and footers # # param [string] $path: The path to the transript file to read ################################### function Get-Transcript { param([s...
<?xml version="1.0" encoding="UTF-8"?> <project name="Checklist" default="help"> <!-- The local.properties file is created and updated by the 'android' tool. It contains the path to the SDK. It should *NOT* be checked into Version Control Systems. --> <loadproperties srcFile="local.properties...
<?php defined('SYSPATH') OR die('Kohana bootstrap needs to be included before tests run'); include Kohana::find_file('tests', 'test_data/callback_routes'); class Kohana_RouteTest extends Unittest_TestCase { /** * Remove all caches */ // @codingStandardsIgnoreStart public function setUp() // @codingStandards...
module Trnsfr module Acts #:nodoc: module Related #:nodoc: def self.included(base) base.extend ClassMethods end module ClassMethods def belongs_to_resource(model, options={}) model, klass = model, model.to_s.modelize define_method(model) do |*...
#include <time.h> #include <errno.h> #include "native_client/src/shared/platform/nacl_clock.h" #include "native_client/src/include/nacl_macros.h" #include "native_client/src/shared/platform/nacl_host_desc.h" #include "native_client/src/shared/platform/nacl_log.h" #include "native_client/src/trusted/service_runtime/...
package raft import ( "errors" "fmt" "math" "math/rand" "sort" "strings" pb "github.com/coreos/etcd/raft/raftpb" ) // None is a placeholder node ID used when there is no leader. const None uint64 = 0 const noLimit = math.MaxUint64 var errNoLeader = errors.New("no leader") // Possible values for StateType. c...
package com.amazonaws.services.simpleworkflow.flow.worker; import java.lang.Thread.UncaughtExceptionHandler; import java.lang.management.ManagementFactory; import java.util.concurrent.CountDownLatch; import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.ThreadFactory; import java.util.concurren...
#import "RCTDataManager.h" #import "RCTAssert.h" #import "RCTConvert.h" #import "RCTLog.h" #import "RCTUtils.h" @implementation RCTDataManager RCT_EXPORT_MODULE() /** * Executes a network request. * The responseSender block won't be called on same thread as called. */ RCT_EXPORT_METHOD(queryData:(NSString *)qu...
<?xml version="1.0" encoding="utf-8"?> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent"> <android.support.v7.widget.RecyclerView android:id="@+id/snackbar_recycler" android:layout_width="match_p...
ACCEPTED #### According to Interim Register of Marine and Nonmarine Genera #### Published in null #### Original name null ### Remarks null
package com.hu.yang.baseskill_android.service; import android.app.Service; import android.content.Context; import android.content.Intent; import android.media.MediaPlayer; import android.os.IBinder; import android.support.annotation.IntDef; import android.support.annotation.Nullable; import android.widget.Toast; impo...
<?php /** * Report Products Tags collection * * @category Mage * @package Mage_Reports * @author Magento Core Team <core@magentocommerce.com> */ class Mage_Reports_Model_Mysql4_Tag_Collection extends Mage_Reports_Model_Resource_Tag_Collection { }
execname=$0 log() { echo "[${execname}] $@" >> /tmp/initialize-cloudera-server.log } #fail on any error set -e ClusterName=$1 key=$2 mip=$3 worker_ip=$4 HA=$5 User=$6 Password=$7 log "BEGIN: master node deployments" log "Beginning process of disabling SELinux" log "Running as $(whoami) on $(hostname)" # Use th...
var fs = require('fs'), path = require("path"), os = require("os"); var _ = require("lodash"), async = require("async"), rimraf = require("rimraf"); var CacheSwap = function(opts) { this.options = _.defaults(opts || {}, { tmpDir: os.tmpDir(), cacheDirName: "defaultCacheSwap" }); }; _.extend(CacheSwap.proto...
layout: docs title: Wall of browser bugs group: browser-bugs --- Bootstrap currently works around several outstanding browser bugs in major browsers to deliver the best cross-browser experience possible. Some bugs, like those listed below, cannot be solved by us. We publicly list browser bugs that are impacting us he...
/** * This barrel file provides the export for the shared NavbarComponent. */ export * from './navbar.component'; export * from './navbar.model';
#include "config.h" #include "JPEGImageEncoder.h" #include "ImageData.h" #include "IntSize.h" #include "SkBitmap.h" #include "SkColorPriv.h" #include "SkUnPreMultiply.h" extern "C" { #include <stdio.h> // jpeglib.h needs stdio.h FILE #include "jpeglib.h" #include <setjmp.h> } namespace WebCore { struct JPEGOutputB...
var express = require('express'); var app = express(); var http_s = require('http').Server(app); var io = require('socket.io')(http); // SWITCH TO SOCKJS var r = require('rethinkdbdash')(); var session = require('express-session'); var bodyParser = require("body-parser"); var bcrypt = require('bcrypt'); var uuid = requ...
Apps, suites, and examples for Backbone.js test development. ## Introduction This site provides materials and resources for developing and testing [Backbone.js][backbone] web applications. All of the application and test examples for the book **[Backbone.js Testing][packt]** can be found here, grouped by chapter. We ...
<?php namespace JMS\Serializer\Tests; use JMS\Serializer\SerializerBuilder; use Symfony\Component\Filesystem\Filesystem; use JMS\Serializer\Handler\HandlerRegistry; use JMS\Serializer\JsonSerializationVisitor; use JMS\Serializer\Naming\CamelCaseNamingStrategy; class SerializerBuilderTest extends \PHPUnit_Framework...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
/*! * \file activation_perf.cc * \brief Perf/profile run of ActivationOp * \author Chris Olivier */ #include <gtest/gtest.h> #include <mxnet/tensor_blob.h> #include "../include/test_op_runner.h" #include "../include/test_legacy_op.h" #include "../../src/operator/slice_channel-inl.h" using namespace mxnet; t...
namespace glm { /// @addtogroup gtx_polar_coordinates /// @{ /// Convert Euclidean to Polar coordinates, x is the xz distance, y, the latitude and z the longitude. /// /// @see gtx_polar_coordinates template <typename T, precision P> GLM_FUNC_DECL detail::tvec3<T, P> polar( detail::tvec3<T, P> const & euclide...
from boto.gs.user import User from boto.exception import InvalidAclError ACCESS_CONTROL_LIST = 'AccessControlList' ALL_AUTHENTICATED_USERS = 'AllAuthenticatedUsers' ALL_USERS = 'AllUsers' DISPLAY_NAME = 'DisplayName' DOMAIN = 'Domain' EMAIL_ADDRESS = 'EmailAddress' ENTRY = 'Entry' ENTRIES = 'Entries' GROUP_BY_DOMAIN =...
<?php namespace Zend\Http\Header; /** * @throws Exception\InvalidArgumentException * @see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.41 */ class TransferEncoding implements HeaderInterface { /** * @var string */ protected $value; public static function fromString($headerLin...
using System.Threading; using Microsoft.CodeAnalysis.CSharp.Extensions; using Microsoft.CodeAnalysis.CSharp.Extensions.ContextQuery; using Microsoft.CodeAnalysis.Shared.Extensions; namespace Microsoft.CodeAnalysis.CSharp.Completion.KeywordRecommenders { internal class BreakKeywordRecommender : AbstractSyntacticSin...
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title> Getting Started Guide </title> </head> <body bgcolor="#ffffff"> <h1>Getting Started Guide</h1> <p> This add-on adds a "Getting Started Guide" link to the Help menu which ope...
module AlecAirport.A284917 (a284917) where import Data.List (find, nub) import Data.Set (Set) import qualified Data.Set as Set a284917 n = map snd a284917_list !! (n - 1) -- Lexicographically earliest sequence of positive integers such that the Taxicab distance is distict for each pair of distinct points ((n, a(n)), ...
using Xunit; namespace System.Xml.Tests { public class TimeSpanTests { [Fact] public static void ReadContentAsTimeSpan1() { var reader = Utils.CreateFragmentReader("<a>2000-02-29T23:59:59+13:60</a>"); reader.PositionOnElement("a"); reader.Read(); ...
<img interchange="[assets/img/space-small.jpg, (small)], [assets/img/space-medium.jpg, (medium)], [assets/img/space-large.jpg, (large)]" src="assets/img/space-small.jpg"> <p class="panel">Resize the window to update the content</p>
#ifndef BOOST_SPIRIT_INCLUDE_SUPPORT_ATTRIBUTE_FWD #define BOOST_SPIRIT_INCLUDE_SUPPORT_ATTRIBUTE_FWD #if defined(_MSC_VER) #pragma once #endif #include <boost/spirit/home/support/attributes_fwd.hpp> #endif
@interface ScottHomeViewController ()<UIScrollViewDelegate> @property (nonatomic, strong) HMSegmentedControl *segmentCtrl; @property (nonatomic, strong) UIScrollView *scrollView; @end @implementation ScottHomeViewController - (void)viewDidLoad { [super viewDidLoad]; [self setupNavi]; [self setAdd...
import * as ts from 'typescript'; import { TransformOperation } from './interfaces'; export declare function insertStarImport(sourceFile: ts.SourceFile, identifier: ts.Identifier, modulePath: string, target?: ts.Node, before?: boolean): TransformOperation[]; export declare function insertImport(sourceFile: ts.SourceFil...
namespace net { HttpAuthHandlerMock::HttpAuthHandlerMock() : resolve_(RESOLVE_INIT), generate_async_(false), generate_rv_(OK), auth_token_(NULL), first_round_(true), connection_based_(false), allows_default_credentials_(false), allows_explicit_credentials_(true), weak_factory_(this) {...
// Copyright 2013 Traceur Authors. // // 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 ...
myApp.controller("criarEvento", function ($scope, criarEventoAPI) { var Redi = function () { window.location.href = document.getElementById("home").href; }; $scope.gravar = function (evento) { evento.data_evento = FormataData(evento.data_evento); criarEventoAPI.gravar(evento) ...
namespace Umbraco.Core.Persistence.DatabaseModelDefinitions { public enum ModificationType { Create, Alter, Drop, Rename, Insert, Update, Delete } }
using System.Collections.Generic; using Amazon.ElastiCache.Model; using Amazon.Runtime.Internal.Transform; namespace Amazon.ElastiCache.Model.Internal.MarshallTransformations { /// <summary> /// CacheSubnetGroup Unmarshaller /// </summary> internal class CacheSubnetGroupUnmarshaller : IUnmarshal...
// Copyright (c) 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. 'use strict'; base.requireStylesheet('cc.layer_tree_host_impl_view'); base.require('cc.layer_tree_host_impl'); base.require('cc.layer_picker'); base...
// Copyright Joyent, Inc. and other Node contributors. // // 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 use, copy, modi...
/*! * Qoopido.js library v3.5.1, 2014-8-10 * https://github.com/dlueth/qoopido.js * (c) 2014 Dirk Lueth * Dual licensed under MIT and GPL */ !function(e){window.qoopido.register("support/capability/datauri",e,["../../support","../../dom/element"])}(function(e,t,o,i,A,r){"use strict";var a=e.support;return a.addTest("/c...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="Ionic makes it incredibly easy to build beautiful and interactive mobile apps using HTML5 and AngularJS."> <meta name="keywords" content="html5,ja...
package examples.demo import java.awt.Dimension import examples.demo.ui.{Circle, ShapesPanel} import rescala._ import scala.swing.{MainFrame, SimpleSwingApplication, UIElement} /** * In an effort to make the animation's timing more accurate, * we refactor the application to use the actual System's time. * We ...
package br.com.dlbca.hibernate.memcached.generator.exception; /** * Exception for invalid machine time. * * @author bruno * */ @SuppressWarnings("serial") public class MachineTimeException extends RuntimeException { public MachineTimeException(String message){ super(message); } }
<?php namespace Monolog\Formatter; use Monolog\Logger; /** * Formats incoming records into an HTML table * * This is especially useful for html email logging * * @author Tiago Brito <tlfbrito@gmail.com> */ class HtmlFormatter extends NormalizerFormatter { /** * Translates Monolog log levels to html c...
package com.graphhopper.util.shapes; import com.graphhopper.util.DistanceCalc; import com.graphhopper.util.DistanceCalcEarth; import com.graphhopper.util.PointList; import org.junit.Test; import static org.junit.Assert.*; /** * @author Peter Karich */ public class BBoxTest { @Test public void testCreate()...
<?xml version="1.0" encoding="UTF-8"?> <definitions id="taskListenerExample" xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:activiti="http://activiti.org/bpmn" targetNamespace="Examples"> <process id="businessKeyProcess" name="Update business key Example"> <startEvent id="theStart" /> <sequenceFlow ...
if [ -z "$NUM_NODES" ]; then NUM_NODES=3 fi if [ "${1:0:1}" = '-' ]; then set -- mysqld "$@" fi # if the command passed is 'mysqld' via CMD, then begin processing. if [ "$1" = 'mysqld' ]; then # read DATADIR from the MySQL config DATADIR="$("$@" --verbose --help 2>/dev/null | awk '$1 == "datadir" { print $2;...
// Copyright (c) Aspose 2002-2014. All Rights Reserved. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AsposeVisualStudioPlugin.Core { public class TreeNodeData { string _path; public string Path ...
#ifndef __DRV_PWM_H_INCLUDE__ #define __DRV_PWM_H_INCLUDE__ #include <rtthread.h> #include <rtdevice.h> #define PWM_CMD_ENABLE (128 + 0) #define PWM_CMD_DISABLE (128 + 1) #define PWM_CMD_SET (128 + 2) #define PWM_CMD_GET (128 + 3) #define PWMN_CMD_ENABLE (128 + 4) #define PWMN_CMD_DISAB...
package javax.enterprise.inject; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Used for definining explicit bean api types. * * @version $Rev$ $Date$ *...
set -e date ps axjf ################################################################# # Update Ubuntu and install prerequisites for running Blocknet # ################################################################# sudo apt-get update ################################################################# # Build Block...
package endpointslice import ( "context" discoveryv1beta1 "k8s.io/api/discovery/v1beta1" apiequality "k8s.io/apimachinery/pkg/api/equality" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apimachinery/pkg/util/validation/field" ...
<?php $this->breadcrumbs=array( $this->module->id, ); ?> <h1><?php echo $this->uniqueId . '/' . $this->action->id; ?></h1> <p> This is the view content for action "<?php echo $this->action->id; ?>". The action belongs to the controller "<?php echo get_class($this); ?>" in the "<?php echo $this->module->id; ?>" module...
<!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/html; charset=utf-8" /> <title>QMagnetometerFilter &mdash; PyQt 5.5.1 Reference Gu...
package com.sebastian_daschner.jaxrs_analyzer.backend.swagger; /** * The Swagger transfer protocols. * * @author Sebastian Daschner */ enum SwaggerScheme { HTTP, HTTPS, WS, WSS }