text stringlengths 3 1.05M |
|---|
<!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.5.0_04) on Sat Jun 26 18:23:12 UTC 2010 -->
<TITLE>
Uses of Class org.newdawn.slick.BasicGame (Slick - The 2D Library)
</TITLE>
<LINK REL ="stylesheet"... |
package org.camunda.bpm.swagger.maven.interpreter;
import com.vladsch.flexmark.ast.HtmlBlock;
import org.apache.maven.plugin.logging.Log;
import org.camunda.bpm.swagger.maven.model.ParameterDescription;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Ele... |
package org.hisp.dhis.analytics.event.data;
import static org.hisp.dhis.DhisConvenienceTest.createDataElement;
import static org.hisp.dhis.DhisConvenienceTest.createOrganisationUnit;
import static org.hisp.dhis.DhisConvenienceTest.createPeriod;
import static org.hisp.dhis.DhisConvenienceTest.createProgram;
import sta... |
from pecan import rest
from wsmeext import pecan
from example.api.controllers import v1
class RootController(rest.RestController):
v1 = v1.Controller()
@pecan.wsexpose(unicode)
def get(self):
return "It works"
|
using org.xmlvm;
namespace gnu.xml.stream {
public class XMLParser_2ElementContentModel: global::gnu.xml.stream.XMLParser_2ContentModel {
public global::java.util.LinkedList _fcontentParticles;
public bool _for;
public global::java.lang.String _fregex;
new public global::gnu.xml.stream.XMLParser _fthis_20;
public v... |
using System;
using Azure.Core;
namespace Azure.ResourceManager.Resources.Models
{
/// <summary> Entity representing the reference to the deployment parameters. </summary>
public partial class ArmDeploymentParametersLink
{
/// <summary> Initializes a new instance of ArmDeploymentParametersLink. </s... |
cask "blitz" do
version "1.17.3"
sha256 "70c21d2bd80dd2bf1004470762af71de2e72badb6c8e9e47b0ceb9a41b773f40"
url "https://blitz-stable.blitz.gg/Blitz-#{version}.dmg"
name "Blitz"
desc "Performance analysis software"
homepage "https://blitz.gg/"
livecheck do
url "https://dl.blitz.gg/download/mac"
s... |
from __future__ import print_function
# partially from package six by Benjamin Peterson
import sys
import os
import types
import traceback
from abc import abstractmethod
# fmt: off
if False: # MYPY
from typing import Any, Dict, Optional, List, Union, BinaryIO, IO, Text, Tuple # NOQA
from typing import Opt... |
#import <UIKit/UIKit.h>
#import <CoreLocation/CLLocation.h>
#import "WFLocationManager.h"
#import "WFXMLService.h"
@class WFMapLibWrapper;
@class MapResultItem;
@class WFVectorMapView;
@class WFXMLService;
@class WFResultsModel;
@class WFVectorMapViewController;
@interface WFVectorMapView : UIView <CLLocationManage... |
package com.intellij.testFramework.fixtures;
import javax.annotation.Nonnull;
import org.jetbrains.annotations.NonNls;
import com.intellij.psi.PsiClass;
import com.intellij.psi.PsiJavaPackage;
import com.intellij.psi.impl.JavaPsiFacadeEx;
/**
* @author yole
*/
public interface JavaCodeInsightTestFixture extends C... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Daily-Exercise</title>
<!-- Bootstrap -->
<link href="/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!--... |
#define MB_AUTORELEASE(exp) exp
#define MB_RELEASE(exp) exp
#define MB_RETAIN(exp) exp
#else
#define MB_AUTORELEASE(exp) [exp autorelease]
#define MB_RELEASE(exp) [exp release]
#define MB_RETAIN(exp) [exp retain]
#endif
#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 60000
#define MBLabelAlignmentCenter NSTextAlignm... |
using System.Drawing;
using disk_usage;
namespace disk_usage_ui
{
public interface ITheme
{
Color ChartUsedSpace { get; }
Color ChartUsedSpaceSecondary { get; }
Image NetworkDiskImage { get; }
Image LocalDiskImage { get; }
Image OsDiskImage { get; }
Image NotF... |
package nz.ac.waikato.jdsl.core.api;
import java.util.NoSuchElementException;
/**
* Iterator over a set of positions. No order of the positions is required
* by this interface, although order may be promised or required
* by users of the interface. Conceptually, the iterator starts out
* situated before the... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
SYNONYM
#### According to
Index Fungorum
#### Published in
null
#### Original name
Cephalosporium succineum Massee & E.S. Salmon, 1902
### Remarks
null |
package org.apache.xml.dtm.ref;
public class DTMNodeListBase
implements org.w3c.dom.NodeList
{
// Constructors
public DTMNodeListBase(){
}
// Methods
public int getLength(){
return 0;
}
public org.w3c.dom.Node item(int arg1){
return (org.w3c.dom.Node) null;
}
}
|
namespace swift {
/// An adapter for iterating over a range of values as a range of
/// values of a different type.
template <class Orig, class Projected, Projected (&Project)(const Orig &)>
class ArrayRefView {
llvm::ArrayRef<Orig> Array;
public:
ArrayRefView(llvm::ArrayRef<Orig> array) : Array(array) {}
class... |
package org.ieatta.cells.header;
import android.view.View;
import android.widget.Button;
import android.view.View;
import android.widget.TextView;
import com.tableview.adapter.IEAViewHolder;
import com.tableview.adapter.enums.ViewHolderType;
import com.tableview.storage.models.CellType;
import org.ieatta.R;
import ... |
class AutoCensor
{
static void Main(string[] args)
{
GetUserInput();
}
static void GetUserInput()
{
string input = "";
string censor = "";
Console.Write("Word to censor: ");
censor = Console.ReadLine();
... |
#pragma once
#include "mmcore/BoundingBoxes.h"
#include "mmcore/Call.h"
#include "mmcore/factories/CallAutoDescription.h"
namespace megamol::core {
/**
* Abstract base class for calls for data
*/
class AbstractGetDataCall : public Call {
public:
/**
* Nested class interface for data unlockers. If data i... |
<?php
namespace Cake\Database\Type;
use Cake\Database\Driver;
use Cake\Database\Type;
use InvalidArgumentException;
use PDO;
/**
* Bool type converter.
*
* Use to convert bool data between PHP and the database types.
*/
class BoolType extends Type
{
/**
* Convert bool data into the database format.
... |
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Conversion Tag Audit Tool</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="assets/icon16.png">
<link href="https://fonts.googleapis.com/icon?family=Mat... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
//
// GJAssetsPickerViewController.m
// GJAssetsPickerViewController
//
// Created by ZYVincent on 14-9-8.
// Copyright (c) 2014年 ZYProSoft. All rights reserved.
//
#import "GJCFAssetsPickerViewController.h"
#import "GJCFAlbumsViewController.h"
#define kGJPhotoViewControllerCustomKey @"kGJPhotoViewController... |
/* ParserTokenManager.java */
/* Generated By:JavaCC: Do not edit this line. ParserTokenManager.java */
/** Token Manager. */
public class ParserTokenManager implements ParserConstants {
/** Debug output. */
public java.io.PrintStream debugStream = System.out;
/** Set debug output. */
public void setDebugSt... |
ACCEPTED
#### According to
NUB Generator [autonym]
#### Published in
null
#### Original name
null
### Remarks
null |
title: imDialog
date: 03/09/2021
---
#### imDialog
`Schreibe auf, welche unangemessenen Fragen du einem frisch verheirateten Ehepaar hinsichtlich ihrer Familienplanung stellen könntest.`
`Wie kann ein kinderloses Paar trotzdem den Auftrag Gottes aus 1. Mose 1,28 erfüllen?`
`Was ist das Wertvollste, das Gott dir g... |
require File.expand_path('../boot', __FILE__)
require 'rails/all'
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)
module ParseTheVoices
class Application < Rails::Application
# Settings in config/environments/* tak... |
package com.google.common.testing;
import static com.google.common.truth.Truth.assertThat;
import com.google.common.testing.GcFinalization.FinalizationPredicate;
import com.google.common.util.concurrent.SettableFuture;
import java.lang.ref.WeakReference;
import java.util.WeakHashMap;
import java.util.concurrent.Cou... |
using System;
namespace PokerLeagueManager.Commands.Domain.Infrastructure.Exceptions
{
[Serializable]
public class UnableToAcquireAggregateLockException : Exception
{
public UnableToAcquireAggregateLockException(Guid aggregateId, Exception ex)
: base(CreateMessage(aggregateId, ex), ex)... |
using Microsoft.AspNet.Identity;
using Microsoft.Owin;
using Microsoft.Owin.Security.Cookies;
using Microsoft.Owin.Security.OAuth;
using Owin;
namespace SethWebster.OpenLogging
{
public partial class Startup
{
static Startup()
{
OAuthBearerOptions = new OAuthBearerAuthenticationOpt... |
<!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_15) on Sat May 30 22:34:27 CEST 2015 -->
<title>RelatedStmtInstrumenter</title>
<meta name="date" content="2015-05-30">
<link rel="styl... |
Rails.application.routes.draw do
mount EventTaskx::Engine => "/event_taskx"
mount Authentify::Engine => "/authentify"
mount Commonx::Engine => "/commonx"
resource :session
root :to => "authentify::sessions#new"
match '/signin', :to => 'authentify::sessions#new'
match '/signout', :to => 'authentify... |
import jsonschema
from django.utils import timezone
from rest_framework import serializers as ser
from rest_framework import exceptions
from addons.twofactor.models import UserSettings as TwoFactorUserSettings
from api.base.exceptions import InvalidModelValueError, Conflict
from api.base.serializers import (
Base... |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:pa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Web.Http;
using Microsoft.Owin.Security.OAuth;
using Newtonsoft.Json.Serialization;
namespace NCapsulate.Example
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration con... |
package com.projectd.colorfullife.scene;
import javax.microedition.khronos.opengles.GL11;
import android.view.MotionEvent;
import com.projectd.colorfullife.CacheManager;
import com.projectd.colorfullife.R;
import com.projectd.colorfullife.SystemManager;
import com.projectd.colorfullife.view.BgAnimation;
import com.p... |
<?xml version="1.0" encoding="utf-8"?>
<manifest
package="com.commonsware.android.webserver.simple"
xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<application... |
if [ "$(id -u)" != "0" ]; then
echo "This script must be run as root"
exit 1
fi
nohup ./init_parallel.py start >/dev/null 2>&1 & # doesn't create nohup.out
|
require 'spec_helper'
describe HyperActiveRecord::QueryMethods do
before(:each) do
class Project < ActiveRecord::Base
scope :started_after, lambda { |date| where('start_date > ?', date) }
scope :started_during, lambda { |begining, ending| where('start_date BETWEEN ? AND ?', begining, ending) }
... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Home extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->helper('url');
$this->_init();
}
private function _init()
{
$this->output->set_template('qas... |
package net.whydah.identity.admin.dao;
import net.whydah.identity.admin.CookieManager;
import net.whydah.identity.admin.config.AppConfig;
import net.whydah.sso.user.helpers.UserXpathHelper;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.ui.Model;
import javax.servlet.http... |
<?php
namespace Symfony\Component\Security\Csrf\TokenStorage;
use Symfony\Component\HttpFoundation\Exception\SessionNotFoundException;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\RequestStack;
use Symfony\Component\HttpFoundation\Session\Session;
use Symfony\Component\HttpFoun... |
package org.jbpm.workbench.cm.client.util;
import java.util.Collections;
import java.util.Date;
import org.jboss.errai.common.client.api.Caller;
import org.jboss.errai.ui.client.local.spi.TranslationService;
import org.jbpm.workbench.cm.model.CaseInstanceSummary;
import org.jbpm.workbench.cm.model.CaseStageSummary;... |
require '../utils'
include UtilityFunctions
require 'ncurses'
include Ncurses
# Testing ncurses functions
Ncurses::initscr
begin
Ncurses::cbreak
Ncurses::clear
Ncurses::mvprintw( 0,0, "Fetching columns and rows." )
rows, cols = [], []
Ncurses::stdscr.getmaxyx( rows, cols )
Ncurses::mvprintw( 2, 0, "Cols: %s"... |
using System;
using System.Collections.Generic;
using Xunit.Internal;
namespace Xunit
{
/// <summary>
/// A context specification which just provides the basic framework / template (without auto-faking).
/// </summary>
[RunWith(typeof(XbxRunner))]
public abstract class StaticContextSpecification ... |
struct trajectory_pick {
Fvector center;
Fvector z_axis;
Fvector y_axis;
Fvector x_axis;
Fvector sizes;
u8 invert_x;
u8 invert_y;
u8 invert_z;
};
bool trajectory_intersects_geometry(float trajectory_time, Fvector const& trajectory_start,
Fvector const... |
<?xml version="1.0" encoding="UTF-8"?>
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" name="LLIndexer" immediate="true">
<implementation class="cubrikproject.tud.likelines.service.impl.LLIndexer" />
<service>
<provide interface="cubrikproject.tud.likelines.service.interfaces.LLIndexer"/>
... |
import {
isPresent,
isBlank,
Type,
BaseException,
stringify,
CONST_EXPR,
StringWrapper
} from 'angular2/src/facade/lang';
import {EventEmitter, ObservableWrapper} from 'angular2/src/facade/async';
import {List, ListWrapper, MapWrapper, StringMapWrapper} from 'angular2/src/facade/collection';
import {
In... |
namespace SC2API
{
/// <summary>
/// Outputs a simple message line to loader window
/// </summary>
SC2API_API void LogLoader(std::string message);
}
//Outputs a warning message to loader window if expression evaluates to false
#define SC2API_ASSERT(expr) \
do \
{ \
if... |
package com.msg.wmTestHelper.pojo;
/**
* ProcessFile
*
* @author Dennis Rippinger
* @since 18.01.16
*/
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.File;
@Data
@Accessors(fluent = true, chain = true)
public class ProcessFile {
private String name;
private File fileReference;
... |
<?php
/**
* PluginfpPaymentTax form.
*
* @package fpPayment
* @subpackage Tax
* @author Ton Sharp <Forma-PRO@66ton99.org.ua>
*/
abstract class PluginfpPaymentTaxForm extends BasefpPaymentTaxForm
{
}
|
module PostgreSQLCursor
module ActiveRecord
module Relation
module CursorIterators
# Public: Executes the query, returning each row as a hash
# to the given block.
#
# options - Hash to control
# fraction: 0.1..1.0 - The cursor_tuple_fraction (default 1.0)
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>elpi: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... |
<?php
/**
* @namespace
*/
namespace Vein\Core\Crud\Helper\Form\Field\Extjs;
use Vein\Core\Crud\Form\Extjs as Form,
Vein\Core\Crud\Form\Field as Field;
/**
* Class form fields helper
*
* @category Vein\Core
* @package Crud
* @subpackage Helper
*/
class Password extends BaseHelper
{
/**
* Rend... |
<?php
header("Content-Type: text/html; charset=utf-8");
if (!$_POST) exit;
require dirname(__FILE__)."/validation.php";
require dirname(__FILE__)."/csrf.php";
/************************************************/
/* Your data */
/************************************************/
/* Your email goes here ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>karatsuba: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.c... |
package com.topie.user.service;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import javax.annotation.Resource;
import com.topie.core.auth.CustomPasswordEncoder;
import com.topie.core.util.StringUtils;
import com.topie.user.persistence.domain.AccountCredential;... |
from feder.parcels.models import IncomingParcelPost, OutgoingParcelPost
from feder.records.registry import record_type_registry
from feder.records.types import CommonRecordType
record_type_registry.registry(IncomingParcelPost, CommonRecordType(IncomingParcelPost))
record_type_registry.registry(OutgoingParcelPost, Comm... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.ServiceModel;
using System.Text;
using DotNetDesign.Common;
namespace DotNetDesign.Substrate.Example.Entities.SqlServer
{
public class BaseRepositoryService : IDisposable
{
protected BaseRepositoryServic... |
/*
Package processcreds is a credential Provider to retrieve `credential_process`
credentials.
WARNING: The following describes a method of sourcing credentials from an external
process. This can potentially be dangerous, so proceed with caution. Other
credential providers should be preferred if at all possible. If us... |
package com.dsdev.moddle;
import javax.swing.JDialog;
import javax.swing.JLabel;
import javax.swing.JProgressBar;
import javax.swing.JTextPane;
/**
*
* @author Diamond Sword Development
*/
public class GlobalDialogs {
public static JDialog popupDialog = null;
public static JLabel popupDialogCaptionLa... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>disel: Error</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesh... |
(function () {
'use strict';
angular
.module('core')
.run(routeFilter);
routeFilter.$inject = ['$rootScope', '$state', 'Authentication'];
function routeFilter($rootScope, $state, Authentication) {
$rootScope.$on('$stateChangeStart', stateChangeStart);
$rootScope.$on('$stateChangeSu... |
<header>
<h1><a href="/"><img src="/img/{{site.data.members.logo}}" alt="{{ site.name }}" width="300" /></a></h1>
<nav><ul>
<li><a {% if location == 'about' %}class="active" {% endif %}href="/about/">About</a></li>
<li><a {% if location == 'projects' %}class="active" {% endif %}href="/projects/">Projects</a... |
document.addEventListener("touchstart", function() {}, true);
var Utils = app.Utils;
(function($) {
$(document).ready(function() {
// add affix to sidebar */
$('#nav').affix({
offset: {
top: $('#nav').offset().top,
bottom: ($('footer').outerHeight(true) ... |
@implementation BTAddressProvider {
}
+ (instancetype)instance; {
static BTAddressProvider *addressProvider = nil;
static dispatch_once_t once;
dispatch_once(&once, ^{
addressProvider = [[BTAddressProvider alloc] init];
});
return addressProvider;
}
#pragma mark - password
- (BOOL)chang... |
typedef struct GUIContextMenu GUIContextMenu;
struct GUIContextMenu {
int32_t unknown[0];
};
|
namespace Jasily
{
public delegate void TypedEventHandler<in T, in TEventArgs>(T sender, TEventArgs e);
public delegate void TypedEventHandler<in T>(T sender);
} |
/** This file contains core functions used in dsmigrator and are exported as
* a public API for users of dsmigrator.
*/
package dsmigrator
trait Functions extends Classes with Types with Instances {
// TODO: define public API of dsmigrator
}
|
#include <grp.h>
#include <pwd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include "../proc/readproc.h"
#include "../proc/sysinfo.h"
#include "common.h"
static sf_node *sf_list = NULL; /* deferred sorting and formatting */
static int broken; /... |
<html>
<!--
* ASM: a very small and fast Java bytecode manipulation framework
* Copyright (c) 2000-2011 INRIA, France Telecom
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1... |
<!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_02) on Tue Apr 29 11:29:42 CEST 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>LongRunningOperati... |
NS_ASSUME_NONNULL_BEGIN
@interface OBHViewControllerObjectRef : NSObject
+ (instancetype)referenceWithObject:(OBHViewControllerObject *)object;
- (instancetype)initWithObject:(OBHViewControllerObject *)object;
@property (nonatomic, readonly) OBHViewControllerObject *object;
@property (nonatomic, readonly) UIViewCont... |
#ifndef _MFC_CLISTCTRL_H_
#define _MFC_CLISTCTRL_H_
/*---------------------------------------------------------------------------*/
#include <mfc/mfcutlbase.h>
#include <mfc/imglist.h>
#include <util/string.h>
inline UINT ListViewCheckedStateMask (const BOOL fChecked)
{
return UINT((int(fChecked) + 1) << 12);
}
/... |
package com.intellij.openapi.vcs.history;
public interface VcsHistorySessionConsumer extends VcsAppendableHistorySessionPartner {
void finished();
}
|
A very simple MPC Web interface for playback controls.

- Play/Pause
- Small and medium jump seeks
- Skip forward/backward
- Reload information
- Trigger fullscreen
## Installation
- Open MPC-HC
- View > Options > Player > Web In... |
/* DO NOT EDIT */
/* This file was generated by Stone */
package com.dropbox.core.v2.teamlog;
import com.dropbox.core.DbxApiException;
import com.dropbox.core.LocalizedText;
/**
* Exception thrown when the server responds with a {@link GetTeamEventsError}
* error.
*
* <p> This exception is raised by {@link DbxTe... |
package path
import (
"testing"
"github.com/franela/goblin"
)
func Test_Parse(t *testing.T) {
g := goblin.Goblin(t)
g.Describe("Parsing the yaml", func() {
g.It("Should return the clone path", func() {
p := Parse(sampleClone, "http://github.com/foo/bar")
g.Assert(p).Equal("/drone/src/github.com/octocat... |
package server
import (
"testing"
"github.com/go-acme/lego/v4/challenge/tlsalpn01"
"github.com/stretchr/testify/assert"
"github.com/traefik/traefik/v2/pkg/config/dynamic"
"github.com/traefik/traefik/v2/pkg/tls"
)
func Test_mergeConfiguration(t *testing.T) {
testCases := []struct {
desc string
given ... |
Contains platform identification features as a plugin for the [WinJSRocks](http://winjs.rocks) MVVM Framework for WinJS apps.
# Activation
To activate, import the plugin project from npm:
``` javascript
npm install winjsrocks-plugin-platform
```
Then, register in the `WinJSRocks.Application.Instance.configure` optio... |
<?php
include "config.php";
?>
<!DOCTYPE html>
<!--
This is a starter template page. Use this page to start your new project from
scratch. This page gets rid of all links and provides the needed markup only.
-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>HOSP... |
namespace iter {
namespace impl {
template <typename T, typename = void>
struct HasConstDeref : std::false_type {};
template <typename T>
struct HasConstDeref<T, void_t<decltype(*std::declval<const T&>())>>
: std::true_type {};
template <typename TopIter>
class IteratorIterator
... |
<?php
Yii::app()->moduleManager->register(array(
'id' => 'dashboard',
'class' => 'application.modules_core.dashboard.DashboardModule',
'isCoreModule' => true,
'import' => array(
'application.modules_core.dashboard.*',
'application.modules_core.dashboard.components.*',
),
// Events to ... |
from tests.test_actions import *
from ltk.watch import WatchAction
from ltk.actions.clean_action import CleanAction
from ltk.actions.add_action import AddAction
from ltk.actions.rm_action import RmAction
from threading import Thread
import unittest
import os
# @unittest.skip("skip testing watch for now")
class TestWat... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class WaitPlayersPanel : ModalWindow
{
float T = 1;
Text connectText;
void Start( )
{
connectText = transform.GetChild( 0 ).GetComponent<Text>( );
}
int switchNum = 0;
void FixedUpdate( )
{
T +=... |
title: Installation
---
*Wizards of Lua is a modification of Minecraft.
In order to use it, you have to modify an existing Minecraft installation.
This short description shows you how this is done.*
Since the Wizards of Lua is a <u>server-side modification</u>
only the server part of Minecraft must be modded.
For clie... |
using System;
using System.ComponentModel;
using System.Globalization;
using DevExpress.Accessibility;
using DevExpress.XtraEditors;
using DevExpress.XtraEditors.Controls;
using DevExpress.XtraEditors.Drawing;
using DevExpress.XtraEditors.Registrator;
using DevExpress.XtraEditors.Repository;
using DevExpress.XtraEdito... |
title: Hei konā rā New Zealand
author: LeeAnne Adams
layout: post
permalink: /new-zealand/hei-kona-ra-new-zealand.html
thumbnail: http://farm1.static.flickr.com/141/390570115_eb0787ad3d
thumbnail_alt: Sarah, Leah & Sue
geo_latitude:
- -36.847385
geo_longitude:
- 174.765735
geo_address:
- Auckland, Auckland, ... |
import torch
import torch.nn.functional as F
import torch.optim as optim
from torch.autograd import Variable
from loveletter.env import LoveLetterEnv
from loveletter.agents.random import AgentRandom
from loveletter.trainers.a3c_model import ActorCritic
def ensure_shared_grads(model, shared_model):
for param, sh... |
package org.runningdinner.core;
import java.util.Collections;
import java.util.List;
import org.runningdinner.participant.Participant;
import org.runningdinner.participant.Team;
/**
* This class is used during generation of a running dinner and is enriched by each call to methods of {@link RunningDinnerCalculator}... |
BitcoinUnits::BitcoinUnits(QObject *parent):
QAbstractListModel(parent),
unitlist(availableUnits())
{
}
QList<BitcoinUnits::Unit> BitcoinUnits::availableUnits()
{
QList<BitcoinUnits::Unit> unitlist;
unitlist.append(BTC);
unitlist.append(mBTC);
unitlist.append(uBTC);
return unitlist;... |
package api
import (
"bytes"
"fmt"
"net/http"
"net/http/httptest"
"os"
"testing"
"github.com/01org/ciao/ciao-controller/types"
)
type test struct {
method string
pattern string
handler func(*Context, http.ResponseWriter, *http.Request) (Response, error)
request string
... |
package photodb.service.rest;
import photodb.service.bean.UserImpl;
import javax.inject.Inject;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import javax.ws.rs.FormParam;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.... |
"""
@package ion.agents.alarms.alarms
@file ion/agents/alarms/alarms.py
@author Edward Hunter
@brief Alarm objects to control construction of valid alarm expressions.
"""
__author__ = 'Edward Hunter'
# Pyon imports
from pyon.public import IonObject, log
# Standard imports.
import time
import copy
# gevent.
import ... |
class Datrie < Formula
homepage "http://linux.thai.net/projects/datrie"
url "ftp://linux.thai.net/pub/ThaiLinux/software/libthai/libdatrie-0.2.4.tar.gz"
sha256 "b2acfbfd9df07780f91352bc1bb16e4d8a32772dc9194bbc35ae600e0591dfa2"
head "http://linux.thai.net/svn/software/datrie/trunk", :using => :svn
depends_on ... |
=head1 NAME
vbucket_get_vbucket_by_key vbucket_get_master vbucket_get_replica
=head1 SYNOPSIS
#include <libvbucket/vbucket.h>
int vbucket_get_vbucket_by_key(VBUCKET_CONFIG_HANDLE h, const void *key, size_t nkey);
int vbucket_get_master(VBUCKET_CONFIG_HANDLE h, int id);
int vbucket_get_replica(VBUCKET_CONFIG_HAND... |
package de.hbt.hackathon.rtb.base.message.input;
public class YourNameMessage extends InputMessage {
private final String name;
private YourNameMessage(String name) {
this.name = name;
}
public String getName() {
return name;
}
public static YourNameMessage valueOf(String[] args) {
return new YourNam... |
// #define QUICKTEST
using UnityEngine;
public class CutSceneElements : MonoBehaviour
{
private const float blackBarWait1 = 0.1f;
#if QUICKTEST
private const float blackBarWait2 = 0.1f;
#else
private const float blackBarWait2 = 1.5f;
#endif
private CellControl __cellControl;
protected CellContr... |