text stringlengths 3 1.05M |
|---|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Login Page - Photon Admin Panel Theme</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<link rel="shortcut icon" href="http://photonui.orangehilldev.com/css/css_comp... |
import java.util.ArrayList;
import java.util.LinkedList;
/**
* A hash table implementation that uses separate chaining to handle
* collisions. For the sake of simplicity, all keys are represented as
* Strings.
*
* @param <V> The data type of the values being stored in this hash table
*/
public class MyHashTable... |
#region license
// Copyright (c) 2003, 2004, 2005 Rodrigo B. de Oliveira (rbo@acm.org)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain... |
package org.apache.solr.cloud;
import static org.apache.solr.cloud.SolrCloudTestCase.configureCluster;
import java.io.IOException;
import java.nio.file.Path;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.concurrent.CountDownLatch;
import java.util.co... |
import unittest
import jsmin
import sys
class JsTests(unittest.TestCase):
def _minify(self, js):
return jsmin.jsmin(js)
def assertEqual(self, thing1, thing2):
if thing1 != thing2:
print(repr(thing1), repr(thing2))
raise AssertionError
return True
def as... |
<!DOCTYPE html>
<html>
<head><meta charset="utf-8" />
<title>dlnd_language_translation</title><script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<style type="text/css">
/*!
*
* Twi... |
<?php
namespace Oro\Bundle\WorkflowBundle\Tests\Functional\Environment;
use Doctrine\Common\Cache\Cache;
use Doctrine\Common\Persistence\ManagerRegistry;
use Oro\Bundle\NotificationBundle\Event\Handler\EventHandlerInterface;
use Oro\Bundle\NotificationBundle\Provider\NotificationManager as BaseNotificationManager;
c... |
import _ from 'lodash';
import jsyaml from 'js-yaml';
import iso from './iso';
export class TaskQueue {
constructor(concurrency) {
this.concurrency = concurrency;
this.running = 0;
this.queue = [];
}
pushTask(task) {
this.queue.push(task);
this.next();
}
next() {
while (this.running... |
/* © 2010 David Given.
* LBW is licensed under the MIT open source license. See the COPYING
* file in this distribution for the full text.
*/
#ifndef SYSCALLS_MMAP_H
#define SYSCALLS_MMAP_H
#define LINUX_PROT_READ 0x1 /* page can be read */
#define LINUX_PROT_WRITE 0x2 /* page can be written */
#define... |
using System;
using System.Linq;
using MusicStore.Models;
namespace MusicStore.E2ETests
{
public class Utilities
{
public static void InitializeDbForTests(MusicStoreContext db)
{
db.Albums.AddRange(GetAlbums());
db.SaveChanges();
}
public s... |
* [Best Practices building Docker containers]
* [Best Practices building Docker images for Openshift]
## Docker Containers: if you want to change your distribution base to RHEL/CentOS
When we have dockerfiles that are not RHEL/CentOS based, if we want to migrate.
### Change your base image
Example
substitute
`FRO... |
<?php
declare(strict_types = 1);
namespace Browscap\Data;
class Browser
{
/**
* @var string
*/
private $type;
/**
* @var string[]
*/
private $properties = [];
/**
* @var bool
*/
private $isLite = false;
/**
* @var bool
*/
private $isStandard = ... |
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.aries.test</groupId... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.s... |
import {Widget} from "broadcastjs";
class WidgetController extends Widget{
constructor(name,dispatcher,widgetTools) {
super(name,dispatcher);
this.tools = widgetTools;
}
_setState(message){
this.currentState = message;
}
handler(message){
return this.tools(message);
}
}
export default ... |
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2019 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <rpc/server.h>
#include <fs.h>
#include <key_io.h>
#include <random.h>
#incl... |
import React from 'react';
import expect from 'expect';
import { shallow } from 'enzyme';
import Input from '../../../components/ChatDock/Input';
describe('<Input />', () => {
it('should render an <input> tag', () => {
const renderedComponent = shallow(<Input />);
expect(renderedComponent.type()).toEqual('i... |
#include "SDL_config.h"
#ifdef __ANDROID__
/* Include the SDL main definition header */
#include "SDL_main.h"
/*******************************************************************************
Functions called by JNI
*******************************************************************************/
#in... |
package com.sedmelluq.discord.lavaplayer.source.soundcloud;
import com.sedmelluq.discord.lavaplayer.tools.FriendlyException;
import com.sedmelluq.discord.lavaplayer.tools.JsonBrowser;
import com.sedmelluq.discord.lavaplayer.tools.io.HttpClientTools;
import com.sedmelluq.discord.lavaplayer.tools.io.HttpInterface;
impor... |
from listener.packets.abstractPacket import AbstractPacket
from struct import unpack
class IcmpPacket(AbstractPacket):
UNPACK_FORMAT = '!BBH'
ICMP_HEADER_LENGTH = 4
PROTOCOL_NAME = 'ICMP'
def __init__(self, binPacket: bytes, margin: int):
self.binPacket = binPacket
self.header... |
**Namespace:** [OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.V201512](OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.V201512.md)
**Assembly:** OfficeDevPnP.Core.dll
## Syntax
```C#
public ObjectSecurity Security { get; set; }
```
### Property Value
Type: [OfficeDevPnP.Core.Framework.Provision... |
<!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_55) on Tue Aug 12 22:12:20 PDT 2014 -->
<title>Uses of Class org.apache.nutch.protocol.ftp.FtpException (apache-nutch 1.9 API)</title>
... |
package com.tronacademy.phantom.fsm;
public class EventSpaceMismatchException extends Exception {
private static final long serialVersionUID = 7130913380099985139L;
private static String st2stErr = "State '%s' cannot transition to state '%s' because they do not listen to the same event space";
private static St... |
<!DOCTYPE HTML>
<html style='margin: 0px; padding: 0px;'>
<!-- Game Pencil Engine Project File -->
<!-- Created automatically via the Game Pencil Engine Editor -->
<!-- Warning: Manually editing this file may cause unexpected bugs and errors. -->
<!-- If you have any problems reading this file please report... |
define(["app", '../options', "lodash", "mathjs", "../util", 'services/xfs'], function (app, options, _, math, util) {
app.controller("HPCStorageController", ["$rootScope", "$scope", "$timeout", "$filter", "reporting", "org", "spinner", "XFSService", "AuthService",
function ($rootScope, $scope, $timeout, $filter, ... |
/*
* 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
* distributed u... |
Rails.application.routes.draw do
namespace :api, defaults: { format: 'json' } do
namespace :v1 do
resources :users do
collection do
post :authenticate
end
end
resources :matches
resources :units
resources :order_tokens do
collection do
get... |
function varargout = v_wvfZernkePolynomials(varargin)
%
% Test that single Zernike coeffs produce correct wavefront aberrations.
%
% Make plots of the wavefront aberrations we get for single Zernike coefficients.
% These ought to match up with standard pictures of the Zernike pyramid.
%
% The problem is that pictures e... |
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Configuring Test List Cycles — qatrackpl... |
package org.apache.asterix.metadata.declared;
import java.util.ArrayList;
import java.util.List;
import org.apache.asterix.active.EntityId;
import org.apache.asterix.common.exceptions.CompilationException;
import org.apache.asterix.common.exceptions.ErrorCode;
import org.apache.asterix.external.feed.management.FeedC... |
A set of AngularJS directives that provides a declarative syntax for building
common charts using D3.
## Installing
AngularD3 is available via Bower as `angularD3`
```
bower install angularD3
```
## Project Goals
This provides an AngularJS module called `ad3` which in turn provides a
declarative HTML syntax for us... |
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="{{url_for('static', filename='css/bootstrap.css')}}">
<script src="{{url_for('static', filename='js/jquery.js')}}"></script>
<script src="{{url_for('static', filename='js/bootstrap.js')}}"></script>
</h... |
<p><a name="using-mhc-theme-optimization"></a></p>
<h3>Theme Optimization</h3>
<p>The mhc theme is pretty lean by default, but there’s a lot you can do to make it <em>faster</em>. Below are some simple tips for keeping mhc fast.</p>
<h4>Minify style.css</h4>
<p>By default, the <em>style.css</em> file is not m... |
module SpreeHelloExt
module Generators
class InstallGenerator < Rails::Generators::Base
class_option :auto_run_migrations, :type => :boolean, :default => false
def add_javascripts
append_file 'vendor/assets/javascripts/spree/frontend/all.js', "//= require spree/frontend/spree_hello_ext\n"
... |
<section class="main-nav">
<div class="container-fluid">
<nav class="navbar navbar-inverse navbar-static-top">
<ul class="nav nav-pills">
<li class="nav-item active">
<a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
... |
/* global window, document, getNodeDetails */
import FRGatherer from '../base-gatherer.js';
import {axeSource} from '../../lib/axe.js';
import {pageFunctions} from '../../lib/page-functions.js';
/**
* @return {Promise<LH.Artifacts.Accessibility>}
*/
/* c8 ignore start */
async function runA11yChecks() {
/** @ty... |
using NuGetGuidance.Interfaces;
namespace NuGetGuidance.Domain
{
internal class LogSeparator : ILogMessage
{
public LogLevel LogLevel
{
get { return LogLevel.Information; }
}
public string Message
{
get { return Properties.Resources.LogSeperator... |
/** \file
Test digit parser.
*/
#define BOOST_TEST_MODULE digit_parser
#include "utility/test/boost_unit_test.hpp"
#include "parse_ll/number/digit.hpp"
#include <string>
#include "range/core.hpp"
#include "range/std/container.hpp"
#include "../helper/fuzz_parser.hpp"
BOOST_AUTO_TEST_SUITE(test_parse_digit)
BOO... |
package io.github.mzmine.modules.dataanalysis.clustering.farthestfirst;
import io.github.mzmine.modules.dataanalysis.clustering.VisualizationType;
import io.github.mzmine.parameters.Parameter;
import io.github.mzmine.parameters.impl.SimpleParameterSet;
import io.github.mzmine.parameters.parametertypes.ComboParameter... |
<!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 (1.8.0_60-ea) on Mon Jun 27 14:13:41 EDT 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.wildfly... |
using std::string;
// This program signs the policy key using the policy key.
// The policy_identifier identifies the policy domain.
DEFINE_string(signing_instructions_file, "", "signing_instructions");
DEFINE_string(key_file, "", "key_input");
DEFINE_string(policy_identifier, "", "text to identify policy domain");
D... |
<?php
namespace PhalconPlus\Api\Soap;
use Phalcon\Mvc\User\Component;
class Client extends Component
{
/**
* @var string 模式
*/
public $mode = 'wsdl';
/**
* @var bool 开启调试
*/
public $trace = true;
/**
* @var int SOAP 版本
*/
public $soapVersion = SOAP_1_2;
/**
... |
/*
* @author Valentin Simonov / http://va.lent.in/
*/
using System;
using System.Collections.Generic;
using System.Reflection;
using TouchScript.Hit;
using TouchScript.Pointers;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
using Pointer = TouchScript.Pointers.Pointer;
using U... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- From: file:/C:/Users/Dr.Dias/AndroidStudioProjects/AndroidProject/ParseStarterProject/build/intermediates/exploded-aar/com.android.support/appcompat-v7/22.2.1/res/values-nl/values-nl.xml -->
<eat-comment/>
<string msgid="4600421777120114993" name="abc_... |
<?php
namespace CESPres\ES\Product\Commands;
use CESPres\ES\Core\Command\Command;
/**
* Class CreateProductCommand
* @package CESPres\ES\Product\Commands
*/
class CreateProductCommand implements Command {
private $internalName;
private $productId;
function __construct($internalName, $productId)
... |
"""Azkaban remote interaction module.
This contains the `Session` class which will be used for all interactions with
a remote Azkaban server.
"""
from .util import AzkabanError, Config, Adapter, MultipartForm, flatten
from getpass import getpass, getuser
from os.path import basename, exists
from requests.exceptions ... |
account :scott
create_account :scott, :master
close_ledger
payment :master, :scott, [:native, 1000 * Stellar::ONE]
check_no_error_metrics
|
Swiss knife for machine learning.
[](https://travis-ci.org/JuliaStats/MLBase.jl)
[](http://pkg.julialang.org/?pkg=MLBase&ver=0.3)
[ Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Azure.Core.TestFramework;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Azure.AI.TextAnalytics.Samples
{
public partial class TextAnalyticsSamples... |
export class Producto {
constructor(
public id: number,
public nombre: string,
public descripcion: string,
public precio: number,
public imagen: string
) { }
}
|
import { Component, OnInit, Input, Output, EventEmitter} from '@angular/core';
@Component({
selector: 'app-alert',
templateUrl: './alert.component.html',
styleUrls: ['./alert.component.scss'],
})
export class AlertComponent implements OnInit {
@Input() tagConfig;
@Input() language;
@Input() countryC... |
package types
// NewsItem is a steam application news item
type NewsItem struct {
AppID int `json:"appid"`
Gid string `json:"gid"`
Title string `json:"title"`
URL string `json:"url"`
Author string `json:"author"`
Contents string `json:"contents"`
FeedLabel string `json:"feedlabel"`
F... |
[](https://travis-ci.org/boxen/puppet-dash)
Installs [Dash](http://kapeli.com/dash), an API Documentation Browser and Code Snippet Manager. Dash stores snippets of code and instantly searches offline documentation sets for 150+ APIs.
## Usage
... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2009-2013 Roland Huss
~
~ 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.... |
using SQLite.Net.Cipher.Data;
using SQLite.Net.Cipher.Interfaces;
using SQLite.Net.Interop;
namespace SQLiteNetCipher.Sample.Data
{
public class MyDatabase : SecureDatabase
{
public MyDatabase(ISQLitePlatform platform, string dbfile, ICryptoService cryptoService) : base(platform, dbfile, cryptoService)
{
}
... |
project_path: /web/_project.yaml
book_path: /web/resources/_book.yaml
{# wf_updated_on: 2016-08-25 #}
{# wf_published_on: 2016-08-26 #}
# Resources {: .page-title }
Want to get involved in [/web](/web/)? We'd love our
[contributors](contributors). By submitting bug reports, pull requests and
helping to [translate](t... |
package canvas;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics2D;
import java.awt.event.KeyEvent;
import java.awt.event.MouseEvent;
import main.GamePanel;
public class CanvasPlayers extends myCanvas {
@Override
public void SimulaSe(long diftime) {
}
@Override
public void DesenhaSe(Grap... |
<?php
/**
* Created by PhpStorm.
* User: fliak
* Date: 8.1.15
* Time: 19.10
*/
namespace Soil\CommentBundle\Service;
use Doctrine\ODM\MongoDB\DocumentManager;
use Soil\CommentBundle\Entity\Author;
use Soil\CommentBundle\Service\Exception\DiscoverException;
use Soil\CommentBundle\Service\Exception\WrongAgentExcep... |
<?php
/**
* donation Submission Form
*/
if ( ! defined( 'ABSPATH' ) OR ( isset( $_GET['action'] ) && $_GET['action'] == 'edit' ) ) exit;
global $wpdonations;
?>
<form action="<?php echo $action; ?>" method="post" id="submit-donation-form"
class="wpdonations-form" enctype="multipart/form-data" role="form">
<?... |
"""A model that predicts operations from features of the I/O tensors."""
import collections
import json
import os
import timeit
from typing import Any, Dict, Text, Tuple
from absl import logging
import six
import tensorflow as tf
import termcolor
from tf_coder.datasets import collect_tensor_data
ConfigType = Dict[T... |
<BroadcastMonitor>
<updated>2015-08-04T09:51:17</updated>
<stationName>Radio 6</stationName>
<Current>
<startTime>2015-08-04T09:51:17</startTime>
<itemId>1000080519:1242515</itemId>
<titleId>216053015</titleId>
<itemCode></itemCode>
<itemReference></itemReference>
<titleName>*** U... |
import tensorflow as tf
from keras_cv.layers.preprocessing.base_image_augmentation_layer import (
BaseImageAugmentationLayer,
)
@tf.keras.utils.register_keras_serializable(package="keras_cv")
class MixUp(BaseImageAugmentationLayer):
"""MixUp implements the MixUp data augmentation technique.
Args:
... |
const NSUInteger CWYGridFactor = 8;
const NSTimeInterval CWYAnimationTimeInterval = 0.75; // [s]
@interface CWYViewController ()
@property (nonatomic, weak) NSTimer *animationTimer;
@property (nonatomic, strong) IBOutlet UIView *cellularView;
@property (nonatomic, strong) CWYCellularMatrix *cellularMatrix;
-(IBAct... |
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 Acquaintnote
class Application < Rails::Application
# Settings in config/environments/* take ... |
<?php
namespace Booking\FrontendBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class BookingFrontendBundle extends Bundle
{
}
|
<?xml version="1.0" encoding="utf-8"?>
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_h... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Lecanora endophaeoides Hue
### Remarks
null |
var azure = require('azure'),
conf = require('conf');
var mensagem = {
body: 'Mensagem de teste',
customProperties: {
testproperty: 'Propriedade customizada qualquer!'
}};
var enviarMensagem = function () {
var sb = azure.createServiceBusService(conf.param.sbConn);
sb.sendQueueMessage(conf.... |
package dsl
import "github.com/raphael/goa/design"
// Type implements the type definition DSL. A type definition describes a data structure consisting
// of attributes. Each attribute has a type which can also refer to a type definition (or use a
// primitive type or nested attibutes). The DSL syntax for define a typ... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/SmartKeyDevice.iml" filepath="$PROJECT_DIR$/SmartKeyDevice.iml" />
<module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml... |
#include "precomp.hpp"
#include <iostream>
namespace cv{
namespace img_hash{
namespace{
void getMHKernel(float alpha, float level, cv::Mat &kernel)
{
int const sigma = static_cast<int>(4*std::pow(alpha,level));
float const ratio = std::pow(alpha, -level);
kernel.create(2*sigma+1, 2*sigma+1, CV_32F);... |
namespace NCheck.Test
{
public class Simple
{
public int Id { get; set; }
public string Name { get; set; }
public double Value { get; set; }
}
} |
package com.brein.engine;
import com.brein.domain.BreinResult;
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.JsonNode;
import com.mashape.unirest.http.async.Callback;
import com.mashape.unirest.http.exceptions.UnirestException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
i... |
require 'spec_helper'
describe PrepaidfactoryApi::Client do
describe 'cancel_order' do
xit 'can not cancel an order if the order_id is wrong' do
expect {
CLIENT.cancel_order(PrepaidfactoryApi::Requests::CancelOrder.new(0))
}.to raise_error(PrepaidfactoryApi::OperationCancelOrderNotFound)
... |
package com.GuoGuo.JuicyChat.server.widget;
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.text.Editable;
import android.text.TextWatcher;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;
import android.view.animation.Animation;
imp... |
A new app will load the `ContentView` and render it's components.
```python
from enamlnative.widgets.api import Flexbox, TextView
enamldef ContentView(Flexbox):
TextView:
text = "Hello world!"
```
The `enamldef` is just like the python `class` statement. You can subclass components and set
attributes... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/MasterIC2A.iml" filepath="$PROJECT_DIR$/.idea/MasterIC2A.iml" />
</modules>
</component>
</project> |
package com.jnape.palatable.lambda.functor;
import com.jnape.palatable.lambda.functions.Fn1;
import static com.jnape.palatable.lambda.functions.builtin.fn1.Downcast.downcast;
/**
* An interface for the generic covariant functorial operation <code>map</code> over some parameter <code>A</code>.
* Functors are founda... |
Potion::Potion(const double x_, const double y_, const std::string& path_, const int strength_, const int inertia_,
const int distance_, const bool isRight_) :
DynamicEntity(x_, y_, path_),
activated(true),
canExplode(true),
isExploding(true),
strength(strength_),
distance(distance_),
flightTime(0.0),
... |
require 'mono_logger'
require 'redis/namespace'
require 'resque/version'
require 'resque/config'
require 'resque/errors'
require 'resque/failure/base'
require 'resque/failure'
require 'resque/failure/redis'
require 'resque/stat'
require 'resque/logging'
require 'resque/job'
require 'resque/worker_registry'
require ... |
FROM balenalib/rockpi-4b-rk3399-ubuntu:focal-build
ENV NODE_VERSION 12.22.9
ENV YARN_VERSION 1.22.4
RUN for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$key" || \
gpg --keyserver keyserver.ubuntu.... |
<?php
namespace App\Http\Controllers\Settings;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use App\Http\Controllers\Controller;
use App\Department;
class DepartmentsController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public fun... |
<?php
/**
* @file
* Contains \Drupal\Console\Command\Database\ConnectCommand.
*/
namespace Drupal\Console\Command\Database;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
use Drupal\Console\Core\Command\Com... |
import os
import csv
from SPARQLWrapper import SPARQLWrapper, JSON
sparql = SPARQLWrapper('http://dbpedia.org/sparql')
sparql.setReturnFormat(JSON)
properties = [
['area', 'area'],
['area', 'floorArea'],
['area', 'surfaceArea'],
['area', 'areaLand'],
['area', 'watershed'],
['area', 'areaMetro'... |
package io.github.resilience4j.feign;
import io.vavr.CheckedFunction1;
import java.lang.reflect.Method;
import java.util.function.Predicate;
/**
* A {@link FallbackHandler} simply wrapping a fallback instance of type {@param T}.
*
* @param <T> the type of the fallback
*/
class DefaultFallbackHandler<T> implemen... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>tree-diameter: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.m... |
@interface DOPhoto : NSObject
@property (nonatomic, readonly) NSURL *thumbUrl;
@property (nonatomic, readonly) NSURL *url;
- (instancetype) initWithUrl:(NSString *)urlStr
thumbUrl:(NSString *)thumbUrlStr;
@end
|
source bin/oref0-bash-common-functions.sh
fail_test () {
echo "$@" 1>&2
exit 1
}
ORIGINAL_PWD="$PWD"
cleanup () {
cd "$ORIGINAL_PWD"
if [ -d bash-unit-test-temp ]; then
rm -rf bash-unit-test-temp
fi
}
mkdir bash-unit-test-temp
{
cd bash-unit-test-temp
if [[ "$(echo -n '"x"' |... |
layout: page
title: Mcintosh - Bray Wedding
date: 2016-05-24
author: Janet Andersen
tags: weekly links, java
status: published
summary: Nunc in placerat ante, maximus elementum tortor.
banner: images/banner/leisure-04.jpg
booking:
startDate: 07/28/2019
endDate: 08/02/2019
ctyhocn: MSYHAHX
groupCode: MBW
publish... |
<?xml version="1.0" encoding="UTF-8"?>
<!-- config.xml reference: https://build.phonegap.com/docs/config-xml -->
<widget xmlns = "http://www.w3.org/ns/widgets"
xmlns:gap = "http://phonegap.com/ns/1.0"
id = "com.elmasyazilim.tumdergiler"
version = "1.0.0">
<name>Tüm Dergiler</n... |
chrome.app.runtime.onLaunched.addListener(function() {
chrome.test.sendMessage('launched', function(reply) {
// Create window options defined in tests.
const options = JSON.parse(reply);
chrome.app.window.create('index.html', options, function(appWindow) {
appWindow.focus();
});
});
});
|
package com.amazonaws.services.rds.model.transform;
import java.util.Map;
import java.util.Map.Entry;
import javax.xml.stream.events.XMLEvent;
import com.amazonaws.services.rds.model.*;
import com.amazonaws.transform.Unmarshaller;
import com.amazonaws.transform.MapEntry;
import com.amazonaws.transform.StaxUnmarsha... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2003 - 2016 The eFaps Team
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 requi... |
from dyplot.c3 import C3
class Bar(C3):
def __init__(self, height, label):
"""
To plot a bar chart.
:param height: The data to plot. A list of data.
:type height: array_like
:param label: The name of the data.
:type label: string
... |
<!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 (1.8.0_45) on Sat Apr 09 10:10:57 EDT 2016 -->
<title>SelectStatement.Parameters (apache-cassandra API)</title>
<meta name="date" content="2016-04-09"... |
#ifndef ELECTRAFIELD_H
#define ELECTRAFIELD_H
#include <QWidget>
QT_BEGIN_NAMESPACE
class QDoubleSpinBox;
class QValueComboBox;
QT_END_NAMESPACE
/** Widget for entering Electra amounts.
*/
class ElectraAmountField: public QWidget
{
Q_OBJECT
Q_PROPERTY(qint64 value READ value WRITE setValue NOTIFY textChang... |
package org.rubyforge.debugcommons.reader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import org.rubyforge.debugcommons.Util;
import org.rubyforge.debugcommons.model.RubyThreadInfo;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
public final cl... |
<?php
namespace PHPUnit\Extensions\Selenium2TestCase\SessionCommand;
use PHPUnit\Extensions\Selenium2TestCase\Command;
/**
* Clicks Cancel on an alert popup.
*
* @package PHPUnit_Selenium
* @author Giorgio Sironi <info@giorgiosironi.com>
* @copyright 2010-2013 Sebastian Bergmann <sebastian@phpunit.de>
... |
module RequestSpecHelper
def self.last_response
@response
end
def self.last_response=(response)
@response = response
end
def set_rack_session(hash)
data = ::RackSessionAccess.encode(hash)
put RackSessionAccess.path, params: { data: data }
end
def login!(user: nil, admin: false)
user... |