text stringlengths 3 1.05M |
|---|
'use strict';
// Declare app level module which depends on filters, and services
var app = angular.module('myApp', ['myApp.filters', 'myApp.directives']); |
package com.alibaba.dubbo.config.spring;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
i... |
require 'rails_helper'
RSpec.describe "tourneys/new", :type => :view do
before(:each) do
assign(:tourney, Tourney.new(
:title => "MyString",
:desc => "MyText",
:tourney_type => nil,
:tourney_comment => nil,
:tourney_comments => nil,
:user => nil,
:venue => nil,
:ga... |
require_relative 'test_helper'
# $DEBUG = true
class TestCustomerStatementMessage < Test::Unit::TestCase
def setup
file = File.dirname(__FILE__) + "/fixtures/sepa_snippet.txt"
messages = MT940::CustomerStatementMessage.parse_file(file)
@message = messages.first
@message_2 = messages.last
end
d... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>axiomatic-abp: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.m... |
<?php
namespace PHPExiftool\Driver\Tag\LNK;
use JMS\Serializer\Annotation\ExclusionPolicy;
use PHPExiftool\Driver\AbstractTag;
/**
* @ExclusionPolicy("all")
*/
class IconIndex extends AbstractTag
{
protected $Id = 56;
protected $Name = 'IconIndex';
protected $FullName = 'LNK::Main';
protected... |
from django.conf.urls import patterns, include, url
urlpatterns = patterns('',
url(r'^syn/RG/',
include('django_rg.urls')),
url(r'^syn/AG/',
include('django_ag.urls')),
url(r'^syn/UG/',
... |
var fs = require('fs');
var file = __dirname + '/total.json';
exports.read = function (cb) {
fs.readFile(file, function (err, data) {
var str = data.toString();
if(err || !str || str.length < 0) {
console.error(err || "No stored data");
return;
}
var jsonDa... |
package hetzner
import (
"context"
"testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"k8s.io/autoscaler/cluster-autoscaler/cloudprovider/hetzner/hcloud-go/hcloud"
)
func TestServerTypeCache(t *testing.T) {
c := newServerTypeCache(context.Background(), nil)
serverTypes := ... |
import React, {Component, PropTypes} from 'react';
import Helmet from 'react-helmet';
import {Redirect} from 'react-router-dom';
import {connect} from 'react-redux';
import {inviteFromLocation} from '../utils';
import * as data from '../data/dashboard';
import PageBackdrop from './PageBackdrop';
import AuthPageHeader f... |
<!DOCTYPE html>
<head>
<title>Your page title here</title>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="../stylesheets/default.css">
<link rel="stylesheet" type="text/css" href="../stylesheets/blog-stylesheet.css">
</head>
<header id="title">
<h1><a href="http://mjschindler.github.io/index... |
from google.cloud import domains_v1beta1
def sample_get_registration():
# Create a client
client = domains_v1beta1.DomainsClient()
# Initialize request argument(s)
request = domains_v1beta1.GetRegistrationRequest(
name="name_value",
)
# Make the request
response = client.get_regi... |
<!DOCTYPE html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width">
<meta name="description" content="p5.js a JS client-side library for creating graphic and interactive experien... |
package net.imagej.ops.special.computer;
import net.imagej.ops.Op;
import net.imagej.ops.OpEnvironment;
import net.imagej.ops.OpUtils;
import net.imagej.ops.special.SpecialOp;
/**
* Utility class for looking up computer ops in a type-safe way.
*
* @author Curtis Rueden
* @see NullaryComputerOp
* @see UnaryComp... |
<div><h4>Saving Throws</h4></div>
<div class="saveBlock struct" ng-controller="SFCharGenSavingThrowsBlockCtrl">
<div class="labels">
<div class="stTitle"></div>
<div class="stTotal">total</div>
<div class="stBase">base</div>
<div class="stAbility">ability</div>
<div class="st... |
"""
Tools to easily invert a sequence of gates.
.. code-block:: python
with Dagger(eng):
H | qubit1
Rz(0.5) | qubit2
"""
from projectq.cengines import BasicEngine
from projectq.ops import Allocate, Deallocate
from ._exceptions import QubitManagementError
from ._util import drop_engine_after, ins... |
<?php
namespace OUTRAGElib\Validate\ConstraintWrapper;
use \Locale;
use \OUTRAGElib\Validate\ConstraintWrapperInterface;
use \Symfony\Component\Translation\Translator;
use \Symfony\Component\Validator\Constraint;
use \Symfony\Component\Validator\ConstraintValidatorFactory;
use \Symfony\Component\Validator\Context\Ex... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using Microsoft.Identity.Client.ApiConfig.Parameters;
using Microsoft.Identity.Client.Core;
using Microsoft.Identity.Client.Internal;
using Microsoft.Identity.Client.Platforms.Features.WinFormsLegacyWebUi;
us... |
using System.Linq;
namespace Infrastructure.Data.Specification
{
/// <summary>
/// In simple terms, a specification is a small piece of logic which is independent and give an answer
/// to the question “does this match ?”. With Specification, we isolate the logic that do the selection
/// into a reu... |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddin... |
The Clever API
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
- API version: 2.0.0
- Package version: 3.0.2
- Build package: io.swagger.codegen.languages.PythonClientCodegen
## Documentation for API Endpoints
All URIs are relative to ... |
using System;
using System.Text;
using StackingEntities.Model.Enums;
using StackingEntities.Model.Metadata;
namespace StackingEntities.Model.Entities.Mobs.Hostile
{
[Serializable]
public class WitherBoss :MobBase
{
[EntityDescriptor("Wither Options", "Invulnerable For <x> Ticks")]
public int Invul { get; set; ... |
/**
* Automatically generated file. Please do not edit.
* @author Highcharts Config Generator by Karasiq
* @see [[http://api.highcharts.com/highmaps]]
*/
package com.highmaps.config
import scalajs.js, js.`|`
import com.highcharts.CleanJsObject
import com.highcharts.HighchartsUtils._
/**
* @note JavaScript n... |
'use strict';
// MODULES //
var bench = require( '@stdlib/bench' );
var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
var fromCodePoint = require( '@stdlib/string/from-code-point' );
var pkg = require( './../package.json' ).name;
var setConfigurableReadOnly = require( './../lib' );
// MAIN //
ben... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>hierarchy-builder: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstr... |
package org.codingmatters.value.objects.values.matchers.property.value;
import org.codingmatters.value.objects.values.ObjectValue;
import org.codingmatters.value.objects.values.PropertyValue;
import org.hamcrest.CustomTypeSafeMatcher;
import org.hamcrest.Matcher;
import org.junit.Test;
import static org.codingmatters... |
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.RecyclerView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/item_list"
android:name="fr.unice.polytech.ihm.kev... |
//Code from http://www.sdltutorials.com/sdl-app-states
//Modified to what I needed on my menu
//=============================================================================
#include "AppStateMenu.h"
#include "AppStateManager.h"
//=============================================================================
AppStateM... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Mo... |
"use strict";
var warrior_1 = require('./warrior');
var strike_info_1 = require('./strike-info');
var WarriorInfo = (function () {
function WarriorInfo() {
this.maxHealth = 100;
this.speedPriority = 1;
this.damagePriority = 5;
this.defense = 2;
this.abilities = [new strike_in... |
<?php
namespace Symfony\Component\DependencyInjection\Tests\Compiler;
use PHPUnit\Framework\TestCase;
use Symfony\Component\DependencyInjection\Compiler\RegisterEnvVarProcessorsPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\EnvVarProcessorInterface;
clas... |
package br.com.digidev.messenger4j.send.buttons;
/**
* @author Messenger4J - http://github.com/messenger4j
* @since 0.7.0
*/
public final class LogOutButton extends Button {
private LogOutButton() {
super(ButtonType.ACCOUNT_UNLINK);
}
@Override
public boolean isLogOutButton() {
ret... |
class AnnotationSecurity::AbstractStaticPolicy < AnnotationSecurity::AbstractPolicy # :nodoc:
# Rules that are defined for all resource types can be found here.
def self.all_resources_policy # :nodoc:
AllResourcesPolicy.static_policy_class
end
# Sets the dynamic policy class this policy class belongs to
... |
package org.ovirt.engine.ui.uicommonweb.models.vms;
import org.ovirt.engine.core.common.VdcActionUtils;
import org.ovirt.engine.core.common.action.AddVmInterfaceParameters;
import org.ovirt.engine.core.common.action.RemoveVmInterfaceParameters;
import org.ovirt.engine.core.common.action.VdcActionParametersBase;
import... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>chapar: 12 m 44 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel=... |
import {field, document} from '../../mongoose/decorators';
import { jsonignore } from '../decorators';
import {DynamicRepository} from './dynamic-repository';
import {Types} from 'mongoose';
import * as Enumerable from 'linq';
import {repoFromModel} from "./model-entity";
import {MetaUtils} from "../metadata/utils";
im... |
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
wiredep: {
task: {
ignorePath: '../../../',
src: ['application/views/partial/header.php']
}
},
wiredep_templates: {
tas... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../libc/constant.LOCK_EX.html">
</head>
<body>
<p>Redirecting to <a href="../../../libc/constant.LOCK_EX.html">../../../libc/constant.LOCK_EX.html</a>...</p>
<script>location.replace("../../../libc/constant.LOCK_EX.html"... |
from pkg_resources import get_distribution
__version__ = get_distribution('sqlalchemy-redshift').version
from sqlalchemy.dialects import registry
registry.register("redshift", "redshift_sqlalchemy.dialect", "RedshiftDialect")
registry.register(
"redshift+psycopg2", "redshift_sqlalchemy.dialect", "RedshiftDialect... |
/**
* Created by joy on 2015/6/12.
*/
var Reflux = require('reflux');
var $ = require('zeptojs');
var PageActions=Reflux.createActions(
{
jump:{},
finishQuestion:{
asyncResult:true
}
}
);
PageActions.finishQuestion.listen(function(answers){
$.ajax({
type:'get',
... |
package text;
import org.eclipse.swt.*;
import org.eclipse.swt.layout.*;
import org.eclipse.swt.widgets.*;
public class Snippet346 {
public static void main(String[] args) {
Display display = new Display();
Shell shell = new Shell(display);
shell.setLayout(new FillLayout());
shell.setText("Snippet 346");
... |
package com.yunos.alicontacts.util;
import android.content.Context;
import android.text.TextUtils.TruncateAt;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.TextView;
import com.yu... |
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2008 The Android Open Source Project
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/license... |
using System;
using AtomicNet;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AtomicNetTests
{
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
[TestClass]
public
abstract class TypeSupportTests<t>
{
[TestMethod]
public void When_getting_the_Type... |
<?php
/**
* HpController контроллер публичной части модуля homepage
*
* @category YupeController
* @package yupe.modules.homepage.controllers
* @author YupeTeam <team@yupe.ru>
* @license BSD http://ru.wikipedia.org/wiki/%D0%9B%D0%B8%D1%86%D0%B5%D0%BD%D0%B7%D0%B8%D1%8F_BSD
* @link http://yupe.ru
*
**/
... |
package kurs.zadania.adressbook.tests;
import kurs.zadania.adressbook.model.ContactData;
import kurs.zadania.adressbook.model.GroupData;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.boot.MetadataSources;
import org.hibernate.boot.registry.StandardServiceRegistry;
import org.h... |
package core.log.kafka;
import core.framework.inject.Inject;
import core.framework.kafka.BulkMessageHandler;
import core.framework.kafka.Message;
import core.framework.log.message.EventMessage;
import core.framework.search.BulkIndexRequest;
import core.framework.search.ElasticSearchType;
import core.framework.util.Map... |
using System.Windows.Input;
using GalaSoft.MvvmLight.Command;
namespace Mg2.ViewModels
{
public class AboutViewModel : Screen
{
public AboutViewModel()
{
DisplayName = "About Mg2";
CloseCommand = new RelayCommand(TryClose);
}
public ICommand CloseComman... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using UMA.Common;
using UnityEditor;
using UnityEngine;
using Object = UnityEngine.Object;
using UMA;
using UMA.Integrations;
namespace UMAEditor
{
[CustomEditor(typeof(UMARecipeBase), true)]
public class RecipeEditor : C... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
require_once 'keybase.php';
class Keys extends KeyBase {
var $data;
public function __construct() {
parent::__construct();
$this->load->library('KeyService');
$this->load->library('ProjectService');
... |
NSString *const NSViewMISSINGVisibilityAnimationKeyShow = @"NSViewMISSINGVisibilityAnimationKeyShow";
NSString *const NSViewMISSINGVisibilityAnimationKeyHide = @"NSViewMISSINGVisibilityAnimationKeyHide";
@implementation NSView (MISSINGVisibility)
- (BOOL)isVisible
{
return !self.hidden && ![self.layer animationForK... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE400_Resource_Exhaustion__fscanf_fwrite_54c.c
Label Definition File: CWE400_Resource_Exhaustion.label.xml
Template File: sources-sinks-54c.tmpl.c
*/
/*
* @description
* CWE: 400 Resource Exhaustion
* BadSource: fscanf Read data from the console using fscanf()
... |
<html>
<head>
<title>User agent detail - Instagram 5.0.2 Android (15/4.0.4; 240dpi; 480x800; AIRIS; TM450; AIRIS_TM450; qcom; es_ES)</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css">
<link href="https://fonts.googleapis.com/icon... |
package com.vk.api.sdk.objects.apps.responses;
import com.google.gson.annotations.SerializedName;
import com.vk.api.sdk.objects.users.UserFull;
import java.util.List;
import java.util.Objects;
/**
* GetFriendsListResponse object
*/
public class GetFriendsListResponse {
/**
* Total number
*/
@Seri... |
/*numPass=5, numTotal=7
Verdict:ACCEPTED, Visibility:1, Input:"1.2 2.3 2.7 5.3 7.6", ExpOutput:"Point is outside the Circle.", Output:"Point is outside the Circle."
Verdict:ACCEPTED, Visibility:1, Input:"0.0 0.0 5.0 3.0 7.0", ExpOutput:"Point is outside the Circle.", Output:"Point is outside the Circle."
Verdict:WRONG_... |
package com.smartg.swing.titlebar.plaf.images;
import com.smartg.res.AbstractResource;
import com.smartg.res.Resource;
public class MinImagePressed extends AbstractResource implements Resource{
public String getType() {
return type;
}
protected String [] getAsString() {
return res;
}
private String type = "pn... |
<?php
$teacherName = format_name($teacher->teachFirst, $teacher->teachLast);
$stuGrade = get_value($narrative, 'stuGrade', FALSE);
if(!$stuGrade){
$stuGrade = get_current_grade($student->baseGrade, $student->baseYear);
}
$narrYear = get_value($narrative, 'narrYear', get_current_year());
$yearEnd = $narrYear + 1;
//if ... |
/*
* StepParameters.hpp
*
* Created on: Feb 18, 2016
* Author: Péter Fankhauser
* Institute: ETH Zurich, Autonomous Systems Lab
*/
#pragma once
#include "free_gait_core/TypeDefs.hpp"
#include "free_gait_core/step/StepCompleter.hpp"
namespace free_gait {
class StepParameters
{
public:
StepParameters... |
package com.userfront.config;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
im... |
'use strict';
/**
* @ngdoc directive
* @name izzyposWebApp.directive:adminPosHeader
* @description
* # adminPosHeader
*/
angular.module('APEDevices')
.directive('headerNotificationFrontend', function () {
return {
templateUrl: 'components/directives/frontend/header/header-notification/head... |
package app.factoryMethod;
import java.util.*;
/**
* Show the (normally irrelevant) type of an iterator.
*
* @author Steven J. Metsker
*/
public class ShowIterator {
public static void main(String[] args) {
List list = Arrays.asList(
new String[] { "fountain", "rocket"... |
Practica 3 - Formulario
|
'use strict';
var blueprintHelpers = require('ember-cli-blueprint-test-helpers/helpers');
var setupTestHooks = blueprintHelpers.setupTestHooks;
var emberNew = blueprintHelpers.emberNew;
var emberGenerateDestroy = blueprintHelpers.emberGenerateDestroy;
var expect = require('ember-cli-blueprint-test-helpers/chai').expe... |
import express from "express";
import bodyParser from "body-parser";
export default shortener => {
const apiRouter = express.Router();
apiRouter.use(bodyParser.urlencoded({ extended: true }));
apiRouter.use(bodyParser.json());
apiRouter.post("/", (req, res) => {
shortener
.addURL(req.body.url)
... |
package me.yamakaja.irc.client.network.event.channel;
import me.yamakaja.irc.client.chat.ChatChannel;
import net.lahwran.fevents.Event;
import java.util.Date;
/**
* Created by Yamakaja on 04.02.17.
*/
public class TopicEvent extends Event {
private ChatChannel channel;
public TopicEvent(ChatChannel chann... |
<?xml version="1.0" encoding="utf-8"?>
<inset xmlns:android="http://schemas.android.com/apk/res/android"
android:insetLeft="2dp"
android:insetRight="2dp"
android:insetTop="2dp"
android:insetBottom="2dp">
<shape android:shape="rectangle">
<solid android:color="@color/btnRed" />
<corne... |
namespace Pluton.Rust.Objects
{
using System;
using System.Linq;
using System.Runtime.Serialization;
using UnityEngine;
using Core.Serialize;
[Serializable]
public class BuildingPart : Entity
{
[NonSerialized]
private BuildingBlock _buildingBlock;
private Seria... |
package com.likya.tlossw.web.definitions.calendar;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Collection;
import java.util.Date;
import java.util.List;
import javax.annotation.PostConstruct;
import javax.faces.application.FacesMessage;
import javax.... |
"""
This implements a global (and a local) blacklist against wiki spammers.
@copyright: 2005-2008 MoinMoin:ThomasWaldmann
@license: GNU GPL, see COPYING for details
"""
import re, time, datetime
from MoinMoin import log
logging = log.getLogger(__name__)
from MoinMoin.support.python_compatibility import ... |
package net.cattaka.mathdrawer.gui;
import java.awt.Component;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import javax.swing.JMenu;
import javax.swing.JMenuItem;
import net.cattaka.mathdrawer.config.MdConfig;
import net.cattaka.mathdrawer.core.MdSingletonBundle;
imp... |
WINRT_EXPORT namespace winrt {
namespace Windows::Web::AtomPub {
struct WINRT_EBO AtomPubClient :
Windows::Web::AtomPub::IAtomPubClient
{
AtomPubClient(std::nullptr_t) noexcept {}
AtomPubClient();
AtomPubClient(const Windows::Security::Credentials::PasswordCredential & serverCredential);
};
struct WI... |
INSERT TEXT HERE
```powershell
<#
This lab script serves the purpose of showing you how to create and connect an on-premises to an Azure lab.
You will need an Azure subscription.
#>
# Define your labs. Make sure that the virtual network address spaces do not overlap.
$labs = @(
@{
LabName = 'SourceNameHe... |
package com.facebook.buck.io.filesystem;
import com.facebook.buck.io.watchman.Capability;
import com.google.common.base.Preconditions;
import com.google.common.collect.ImmutableList;
import java.io.File;
import java.nio.file.Path;
import java.util.Objects;
import java.util.Set;
/** Matcher that matches paths within... |
require_relative "../lib/predictor"
require 'ostruct'
|
class CreateG5AuthenticatableUsers < ActiveRecord::Migration[4.2]
def change
create_table(:g5_authenticatable_users) do |t|
# G5 authenticatable
t.string :email, null: false, default: ''
t.string :provider, null: false, default: 'g5'
t.string :uid, nul... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>pautomata: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.c... |
namespace clang {
namespace tooling {
namespace {
/// Takes an ast consumer and returns it from CreateASTConsumer. This only
/// works with single translation unit compilations.
class TestAction : public clang::ASTFrontendAction {
public:
/// Takes ownership of TestConsumer.
explicit TestAction(clang::ASTConsumer... |
package slack.android.api.webapi.response;
public class DndEndSnoozeResponse extends BaseResponse {
private boolean dndEnabled;
private long nextDndStartTs;
private long nextDndEndTs;
private boolean snoozeEnabled;
public boolean isDndEnabled() {
return dndEnabled;
}
public void s... |
/**
* @author supereggbert / http://www.paulbrunt.co.uk/
* @author mrdoob / http://mrdoob.com/
* @author alteredq / http://alteredqualia.com/
*/
THREE.WebGLRenderer = function ( scene ) {
// Currently you can use just up to 4 directional / point lights total.
// Chrome barfs on shader linking when there are mor... |
var path = require('path');
module.exports = function (grunt) {
grunt.registerTask('mixins_update', function () {
var mixinsDir = path.resolve(__dirname, '..', 'build', 'lesshat.less');
var version = require(path.resolve(__dirname, '..', 'package.json')).version;
if (grunt.file.exists(mixinsDir)) {
var file... |
/* Slider
----------------------------------*/
.ui-slider { position: relative; text-align: left; }
.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 0.8em; height: 0.8em; cursor: default; }
.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; bac... |
package org.springframework.boot.actuate.autoconfigure.endpoint;
import java.util.List;
import java.util.stream.Collectors;
import org.springframework.beans.factory.ObjectProvider;
import org.springframework.boot.actuate.endpoint.annotation.Endpoint;
import org.springframework.boot.actuate.endpoint.annotation.Endpo... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="referrer" content="always">
<meta name="robots" content="index, follow">
<link rel="icon" href="about:blank" type="image... |
package fr.polytech.myrpg.characters.exceptions;
/**
* This exception is thrown if there is less than {@value fr.polytech.myrpg.characters.Character#NB_SPECIAL_MOVES_REQUIRED} special moves on your character.
*
* @author DELORME Loïc
* @since 1.0.0
*/
public class TooFewSpecialMovesException extends Exception
{
... |
package com.sequenceiq.datalake.flow.upgrade.ccm;
import static com.sequenceiq.datalake.flow.upgrade.ccm.UpgradeCcmState.FINAL_STATE;
import static com.sequenceiq.datalake.flow.upgrade.ccm.UpgradeCcmState.INIT_STATE;
import static com.sequenceiq.datalake.flow.upgrade.ccm.UpgradeCcmState.UPGRADE_CCM_FAILED_STATE;
impor... |
const f = require('functify');
const { Literal } = require('../ast.js');
const { mul } = require('../operations.js');
const { findCommonAncestor, deepEqual } = require('../ast/node-utils.js');
function canTransform(selections) {
if (selections.length > 1) {
const ancestor = findCommonAncestor(...selectio... |
package com.zplesac.connectionbuddy.interfaces;
/**
* Created by Željko Plesac on 09/03/16.
*/
public interface NetworkRequestCheckListener {
void onResponseObtained();
void onNoResponse();
}
|
/**
* @file
* This file includes definitions for managing Multicast Listener Registration feature defined in Thread 1.2.
*/
#ifndef MLR_MANAGER_HPP_
#define MLR_MANAGER_HPP_
#include "openthread-core-config.h"
#if OPENTHREAD_CONFIG_MLR_ENABLE
#include "backbone_router/bbr_leader.hpp"
#include "coap/coap_mess... |
package com.outbrain.ob1k.common.marshalling;
import static io.netty.handler.codec.http.HttpHeaders.Names.CONNECTION;
import static io.netty.handler.codec.http.HttpHeaders.Names.CONTENT_TYPE;
import static io.netty.handler.codec.http.HttpHeaders.Names.TRANSFER_ENCODING;
import static io.netty.handler.codec.http.HttpHe... |
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "icalvcal.h"
#include <string.h>
#include <stddef.h> /* for ptrdiff_h */
#if defined(_MSC_VER)
#define snprintf _snprintf
#define strcasecmp stricmp
#endif
#ifdef _WIN32_WCE
#undef IGNORE
#endif
enum datatype {
COMPONENT,
PROPERTY,
PARAMETER,
... |
/*
* Formatter for Selenium / Remote Control VBS client.
*/
this.name = "vbs-rc";
function decodeText(text) {
text = text.replace(/¤/g, '"');
return text;
}
function convertText(command, converter) {
var props = ['command', 'target', 'value'];
for (var i = 0; i < props.length; i++) {
var prop = props[i];
... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2010-2017 Evolveum
~
~ 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/LIC... |
package org.folg.names.eval;
import org.folg.names.search.Normalizer;
import org.folg.names.search.Searcher;
import org.apache.commons.codec.EncoderException;
import org.kohsuke.args4j.CmdLineException;
import org.kohsuke.args4j.CmdLineParser;
import org.kohsuke.args4j.Option;
import java.io.*;
import java.util.Col... |
package com.pedro.encoder.input.video;
import android.content.Context;
import android.content.res.Configuration;
import android.graphics.ImageFormat;
import android.graphics.Rect;
import android.graphics.SurfaceTexture;
import android.hardware.Camera;
import android.media.CamcorderProfile;
import android.util.Log;
i... |
package org.apache.shardingsphere.infra.binder.segment.select.projection.impl;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import org.apache.shardingsphere.infra.binder.segment.select.projection.Projection;
import org.apa... |
package com.redv.jplanet.web;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Timer;
import java.util.TimerTask;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.ser... |
<BroadcastMonitor>
<updated>2015-08-06T15:46:54</updated>
<stationName>Radio 6</stationName>
<Current>
<startTime>2015-08-06T15:46:42</startTime>
<itemId>1000080572:1242990</itemId>
<titleId>190164792</titleId>
<itemCode>JK122604-0016</itemCode>
<itemReference>JK122604-0016</itemRefere... |
package com.tapchatapp.android.network;
import android.content.SharedPreferences;
import android.os.AsyncTask;
import android.util.Base64;
import android.util.Log;
import com.crashlytics.android.Crashlytics;
import com.google.android.gms.gcm.GoogleCloudMessaging;
import com.tapchatapp.android.app.TapchatApp;
import... |
package com.infinityworks.webapp.service;
import com.infinityworks.common.lang.Try;
import com.infinityworks.pafclient.PafClient;
import com.infinityworks.pafclient.PafRequestExecutor;
import com.infinityworks.pafclient.dto.PostcodeMetaData;
import com.infinityworks.webapp.clients.gmaps.MapsClient;
import com.infinity... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |