text stringlengths 3 1.05M |
|---|
sap.ui.define([
"sap/base/util/merge"
], function (
merge
) {
"use strict";
/**
* ConnectorFeaturesMerger class for Connector implementations (write).
*
* @namespace sap.ui.fl.write._internal.StorageFeaturesMerger
* @since 1.70
* @version ${version}
* @private
* @ui5-restricted sap.ui.fl.write._int... |
<?php
require('../config/dbconnect.php');
$sql = "SELECT
`plugin_lthc_scores`.clientid as clientid,
client_name as 'Client Name',
team_assignment as 'Team Assignment',
`Client Specialist`,
ROUND(AVG(antivirus),1) AS Antivirus,
ROUND(AVG(DISK),1) AS Disk,
ROUND(AVG(intrusion),1) AS Intrusion,
... |
package org.apache.curator.framework.schema;
import com.google.common.base.Objects;
import com.google.common.collect.ImmutableList;
import org.apache.zookeeper.data.ACL;
import java.util.Arrays;
import java.util.List;
/**
* Thrown by the various <code>validation</code> methods in a Schema
*/
public class SchemaVio... |
@interface STPBankAccount ()
@property (nonatomic, readwrite) NSString *bankAccountId;
@property (nonatomic, readwrite) NSString *last4;
@property (nonatomic, readwrite) NSString *bankName;
@property (nonatomic, readwrite) NSString *fingerprint;
@property (nonatomic, readwrite) NSString *currency;
@property (nonatomic... |
package org.springframework.boot.test.autoconfigure.json;
import java.io.IOException;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.core.ObjectCodec;
import com.fasterxml.jackson.databind.DeserializationContext;
import com.fasterxml.jacks... |
package de.mprengemann.intellij.plugin.androidicons.util;
public final class TextUtils {
private TextUtils() {
}
public static boolean isEmpty(final CharSequence s) {
return s == null || s.length() == 0;
}
public static boolean isBlank(final CharSequence s) {
if (s == null) {
... |
package com.hrLDA.readdocs;
import java.io.File;
import java.util.List;
import java.util.Vector;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
import com.hrLDA.mysql.MySqlDB;
import com.hrLDA.util.FileUtil;
import edu.stanford.nl... |
[](https://travis-ci.org/yargs/yargs-parser)
[](https://coveralls.io/r/yargs/yargs-parser?branch=master)
[](https:/... |
package org.elasticsearch.action.support;
import org.elasticsearch.threadpool.ThreadPool;
/**
*
*/
public class PlainListenableActionFuture<T> extends AbstractListenableActionFuture<T, T> {
public PlainListenableActionFuture(boolean listenerThreaded, ThreadPool threadPool) {
super(listenerThreaded, t... |
<!--
Create tabs with an icon and label, using the tabs-positive style.
Each tab's child <ion-nav-view> directive will have its own
navigation history that also transitions its views in and out.
-->
<ion-tabs class="tabs-icon-top tabs-color-active-calm">
<!-- events-board Tab -->
<ion-tab title="Events" icon-off="... |
<?php
/*
Safe sample
input : use fopen to read /tmp/tainted.txt and put the first line in $tainted
sanitize : use of floatval
construction : concatenation
*/
/*Copyright 2015 Bertrand STIVALET
Permission is hereby granted, without written agreement or royalty fee, to
use, copy, modify, and distribute this softwa... |
package clientcmd
import (
"fmt"
"io"
"io/ioutil"
"os"
"path"
"path/filepath"
goruntime "runtime"
"strings"
"github.com/golang/glog"
"github.com/imdario/mergo"
"k8s.io/kubernetes/pkg/api/unversioned"
clientcmdapi "k8s.io/kubernetes/pkg/client/unversioned/clientcmd/api"
clientcmdlatest "k8s.io/kubernet... |
require "cases/helper"
class PostgresqlRenameTableTest < ActiveRecord::TestCase
def setup
@connection = ActiveRecord::Base.connection
@connection.create_table :before_rename, force: true
end
def teardown
@connection.execute 'DROP TABLE IF EXISTS "before_rename"'
@connection.execute 'DROP TABLE I... |
package org.apache.camel.maven;
import java.util.Iterator;
import javax.xml.namespace.NamespaceContext;
/**
* Default namespace for xsd schema.
*/
public class CamelSpringNamespace implements NamespaceContext {
@Override
public String getNamespaceURI(String prefix) {
if (prefix == null) {
... |
from __future__ import unicode_literals
import os
from django.db import migrations
from django.db.backends.postgresql_psycopg2.schema import DatabaseSchemaEditor
from django.db.migrations.state import StateApps
from zerver.lib.upload import attachment_url_re, attachment_url_to_path_id
def check_and_create_attachm... |
package io.netty.buffer;
import io.netty.util.ByteProcessor;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.channels.GatheringByteChannel;
import java.nio.channels.ScatteringByteChannel;
import java.nio.chars... |
// Copyright (c) 2012 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.
#include "chromeos/dbus/blocking_method_caller.h"
#include "base/bind.h"
#include "base/location.h"
#include "base/threading/thread_restrictions.h"
#... |
package net.community.chest.net;
public interface NetConnectionEmbedder<C extends NetConnection> {
/**
* @return currently embedded connection - may be null if none set or
* the embedder has been closed (e.g., some I/O stream reader/writer)
*/
C getConnection ();
void setConnection (C conn)... |
function t = figurefun(func, A, varargin)
% figurefun(FUN, A, 'param1', val1, ...)
% Simulate user interactions with figures such as inputdlg, msgbox, etc. by
% evaluating FUN for graphic objects found with A.
%
% Inputs:
% FUN - cell array of functions to call (default is empty, callback of props object)
% A - cell ar... |
<server>
<featureManager>
<feature>servlet-3.1</feature>
</featureManager>
<httpEndpoint id="defaultHttpEndpoint"
host="*"
httpPort="9080">
<tcpOptions soReuseAddr="true"/>
</httpEndpoint>
<application name="JavaHelloWorldApp" context-root="/Jav... |
ChromeSyncShellMainDelegate::ChromeSyncShellMainDelegate() {
}
ChromeSyncShellMainDelegate::~ChromeSyncShellMainDelegate() {
}
int ChromeSyncShellMainDelegate::RunProcess(
const std::string& process_type,
const content::MainFunctionParams& main_function_params) {
if (process_type.empty()) {
FakeServerHe... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) FuseSource, Inc.
http://fusesource.com
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/LICENS... |
Aurora Configuration Templating
===============================
The `.aurora` file format is just Python. However, `Job`, `Task`,
`Process`, and other classes are defined by a templating library called
*Pystachio*, a powerful tool for configuration specification and reuse.
[Aurora Configuration Reference](configurati... |
<!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_151) on Wed May 02 00:35:09 MST 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>org.wildfly.swarm.microprof... |
from openstack.tests.unit import base
from openstack.network.v2 import listener
IDENTIFIER = 'IDENTIFIER'
EXAMPLE = {
'admin_state_up': True,
'connection_limit': '2',
'default_pool_id': '3',
'description': '4',
'id': IDENTIFIER,
'loadbalancers': [{'id': '6'}],
'loadbalancer_id': '6',
'... |
+ Initial release.
## 0.1.1
+ change validate strategy from read validator map to read payload map.
## 0.1.2
+ change lodash.clone to lodash.clonedeep
## 0.1.3
+ pass action.payload in validator func
## 0.1.4
+ check all validators not all params
## 0.1.5
+ allow validators undefined
## 0.2.0
+ no longer su... |
Please see the official documentation at https://material.angular.io/components/component/grid-list |
using System;
using System.Web.Http.Description;
namespace Swashbuckle.Swagger.Annotations
{
public class ApplySwaggerOperationFilterAttributes : IOperationFilter
{
public void Apply(Operation operation, SchemaRegistry schemaRegistry, ApiDescription apiDescription)
{
var attributes... |
//%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... |
var assert = require('assert');
var esprima = require('esprima');
var babelJscs = require('babel-jscs');
var JsFile = require('../../lib/js-file');
var sinon = require('sinon');
var fs = require('fs');
var assign = require('lodash.assign');
describe('js-file', function() {
function createJsFile(sources, options) ... |
<?xml version="1.0" encoding="utf-8"?>
<!-- Reviewed: no -->
<sect1 id="zend.ldap.api" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>API overview</title>
<sect2 id="zend.ldap.api.configuration">
<title>Configuration / options</title>
<para>
The <classname>Zend_Ldap</classname>... |
class Foo {}
class Params<X extends Foo,Y> {}
class Main extends Params<Foo, <caret>
|
**************************************************************** Version 1.0 -- First Release *********************************************************************
********************** Documentation Of The Extension **************************
The Yii-Image-Zoomer is a extension which consists of two type of... |
package creational.abstractfactory;
import creational.factory.Car;
import creational.factory.CarType;
public class MercedesFactory extends CarFactory {
@Override
public Car getCar(CarType carType) {
switch (carType) {
case ESTATE:
return new MercedesEstateCar();
case SPORT:
return new MercedesSports... |
'use strict';
var assert = require('assert');
var https = require('https');
var http = require('http');
var tls = require('tls');
var net = require('net');
var util = require('util');
var selectHose = require('select-hose');
var transport = require('spdy-transport');
var debug = require('debug')('spdy:server');
var Ev... |
#ifndef WebMediaDevicesRequest_h
#define WebMediaDevicesRequest_h
#include "WebSecurityOrigin.h"
#include "public/platform/WebCommon.h"
#include "public/platform/WebPrivatePtr.h"
#include "public/platform/WebString.h"
namespace blink {
class MediaDevicesRequest;
class WebDocument;
class WebMediaDeviceInfo;
templat... |
package org.apache.camel.language;
import java.io.File;
import org.apache.camel.ContextTestSupport;
import org.apache.camel.Exchange;
import org.apache.camel.builder.RouteBuilder;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertFalse;
... |
This repository contains a simple implementation of a SSH proxy daemon used to
securely tunnel TCP connections in forward and reverse proxy mode.
This tool provides equivalent functionality to using the `ssh` command's
`-L` and `-R` flags.
Consider using [github.com/dsnet/udptunnel](https://github.com/dsnet/udptunnel)... |
package com.google.devtools.intellij.protoeditor.lang.psi;
import com.google.common.primitives.UnsignedLong;
import com.intellij.psi.PsiElement;
import org.jetbrains.annotations.Nullable;
/** A number value: either an integer or floating point number, "inf" or "nan". Can be negative. */
public interface ProtoNumberV... |
package com.sino.scaffold.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import c... |
/**
* This package contains the annotations and support classes you need as a user of lombok, for
* all features which aren't (yet) supported as a first class feature. Features that involve the
* annotations and support classes in this package may change or may be removed entirely in future versions,
* and bugs m... |
import asyncore
import unittest
import select
import os
import socket
import sys
import time
import warnings
import errno
from test import support
from test.support import TESTFN, run_unittest, unlink
from io import BytesIO
from io import StringIO
try:
import threading
except ImportError:
threading = None
HO... |
local Class = require "lib.hump.Class"
local InputComponent = require "component.input.InputComponent"
local Signals = require "constants.Signals"
local EntityTypes = require "constants.EntityTypes"
local Constants = require "constants.Constants"
local BulletInputComponent = Class{}
BulletInputComponent:include(InputC... |
package org.mini2Dx.ui.element;
import org.mini2Dx.core.graphics.TextureRegion;
import org.mini2Dx.core.serialization.annotation.ConstructorArg;
import org.mini2Dx.core.serialization.annotation.Field;
import org.mini2Dx.ui.render.ImageButtonRenderNode;
import org.mini2Dx.ui.render.ParentRenderNode;
import com.badlog... |
package org.kie.server.api.model.definition;
import java.util.HashMap;
import java.util.Map;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
@XmlAccessorType(XmlAcce... |
var baseFlatten = require('../internal/baseFlatten');
/**
* Recursively flattens a nested array.
*
* @static
* @memberOf _
* @category Array
* @param {Array} array The array to recursively flatten.
* @returns {Array} Returns the new flattened array.
* @example
*
* _.flattenDeep([1, [2, 3, [4]]]);
* // => [1... |
<?php
namespace Symfony\Component\Translation\Dumper;
use Symfony\Component\Translation\MessageCatalogue;
/**
* PhpFileDumper generates PHP files from a message catalogue.
*
* @author Michel Salib <michelsalib@hotmail.com>
*/
class PhpFileDumper extends FileDumper
{
/**
* {@inheritdoc}
*/
pub... |
"use strict";
var keyMirror = require('keyMirror');
/**
* When a component's children are updated, a series of update configuration
* objects are created in order to batch and serialize the required changes.
*
* Enumerates all the possible types of update configurations.
*
* @internal
*/
var ReactMultiChildU... |
package com.mossle.bridge.userrepo;
import java.io.IOException;
import javax.annotation.Resource;
import com.mossle.api.userrepo.UserRepoCache;
import com.mossle.api.userrepo.UserRepoDTO;
import com.mossle.core.mapper.JsonMapper;
import com.mossle.ext.message.Subscribable;
import org.slf4j.Logger;
import org.slf4... |
/////////////////////////////////////////////////////////////////////////////////
// //
// AliFemtoPairCutRadialDistance - a pair cut which checks //
// for some pair qualities that attempt to identify slit/doubly ... |
using blink::WebString;
using blink::WebURLResponse;
namespace content {
// Inputs & expected output for GetReasonsForUncacheability.
struct GRFUTestCase {
WebURLResponse::HTTPVersion version;
int status_code;
const char* headers;
uint32 expected_reasons;
};
// Create a new WebURLResponse object.
static WebU... |
<!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_45) on Tue Mar 18 13:16:09 EDT 2014 -->
<title>TextFont</title>
<meta name="date" content="2014-03-18">
<link rel="stylesheet" type="te... |
<?php
namespace ZendTest\Form\View\Helper\Captcha;
use Zend\Captcha\Figlet as FigletCaptcha;
use Zend\Form\Element\Captcha as CaptchaElement;
use Zend\Form\View\Helper\Captcha\Figlet as FigletCaptchaHelper;
use ZendTest\Form\View\Helper\CommonTestCase;
class FigletTest extends CommonTestCase
{
public function s... |
'use strict';
var FontFace = require('./FontFace');
var clamp = require('./clamp');
var measureText = require('./measureText');
/**
* Draw an image into a <canvas>. This operation requires that the image
* already be loaded.
*
* @param {CanvasContext} ctx
* @param {Image} image The source image (from ImageCache.... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="480beb4e-c9a8-4860-b1b3-0f68b1d02530" name="Default" comment="">
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/css/scrolling-nav.css" afterPath="$PROJECT_DIR$/css/scrolling-nav.... |
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace Slp.Evi.Storage.Sparql.Algebra.Expressions
{
/// <summary>
/// Representation of OR expression
/// </summary>
/// <seealso cref="Slp.Evi.Storage.Sparql.Algebra.ISparqlCondition" />
public class DisjunctionExpr... |
'use strict';
module.exports = function(app) {
var users = require('../../app/controllers/users.server.controller');
var doctors = require('../../app/controllers/doctors.server.controller');
// Doctors Routes
app.route('/doctors')
.get(doctors.list)
.post(users.requiresLogin, doctors.create);
app.route('/d... |
<?php
namespace yii\widgets;
use Yii;
use yii\base\InvalidConfigException;
use yii\base\Widget;
use yii\helpers\ArrayHelper;
use yii\helpers\Html;
/**
* BaseListView is a base class for widgets displaying data from data provider
* such as ListView and GridView.
*
* It provides features like sorting, paging and ... |
package cz.petrkubes.ioweyou.Activities;
import android.app.ActivityOptions;
import android.app.job.JobInfo;
import android.app.job.JobScheduler;
import android.content.ComponentName;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import... |
namespace {
const char kExtensionId[] = "ddchlicdkolnonkihahngkmmmjnjlkkf";
// Skip a few events from the beginning.
static const size_t kSkipEvents = 3;
enum TestFlags {
kUseGpu = 1 << 0, // Only execute test if --enable-gpu was given
// on the command line. This is ... |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports System.Collections.Immutable
Imports Microsoft.CodeAnalysis.CodeGeneration
Imports Microsoft.CodeAnalysis.CodeGeneration.CodeGenerationHelpers
Imports... |
from azure.identity import DefaultAzureCredential
from azure.mgmt.apimanagement import ApiManagementClient
"""
# PREREQUISITES
pip install azure-identity
pip install azure-mgmt-apimanagement
# USAGE
python api_management_create_api_operation_policy.py
Before run the sample, please set the values of th... |
namespace content {
class LocalTimeDelta;
class LocalTimeTicks;
class RemoteTimeDelta;
class RemoteTimeTicks;
// On Windows, TimeTicks are not consistent between processes. Often, the values
// on one process have a static offset relative to another. Occasionally, these
// offsets shift while running.
//
// To combat... |
/*
* File: CrashFault.cpp
* Author: rmartins
*
* Created on February 8, 2011, 3:16 PM
*/
#include "CrashFault.h"
CrashFault::CrashFault(int level,ACE_Time_Value& startTime):
Fault(Fault::CRASH_FAULT,level,startTime)
{
}
CrashFault::CrashFault(const CrashFault& orig):
Fault(orig)
{
}
CrashFault::~CrashFaul... |
CKEDITOR.plugins.setLang( 'smiley', 'de-ch', {
options: 'Smiley-Optionen',
title: 'Smiley auswählen',
toolbar: 'Smiley'
} );
|
class Tab;
namespace gfx {
class Point;
}
namespace ui {
class ListSelectionModel;
class LocatedEvent;
class MouseEvent;
}
namespace views {
class View;
}
// Controller for tabs.
class TabController {
public:
virtual const ui::ListSelectionModel& GetSelectionModel() = 0;
// Returns true if multiple selection is... |
package com.intellij.openapi.vcs.changes;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.Computable;
import com.intellij.openapi.vcs.AbstractVcs;
import com.intellij.openapi.vcs.FilePath;
import com.intellij.openapi.vfs.Virtual... |
from django.core.management import call_command
from django.test import override_settings
from .test_base import MigrationTestBase
class Tests(MigrationTestBase):
"""
Deprecated model fields should still be usable in historic migrations.
"""
@override_settings(MIGRATION_MODULES={"migrations": "migrat... |
import { Component } from '@angular/core';
import { IonicPage, NavController, NavParams, MenuController } from 'ionic-angular';
import { AngularFireDatabaseModule, AngularFireDatabase, FirebaseListObservable } from 'angularfire2/database';
import { AngularFireAuthModule, AngularFireAuth } from 'angularfire2/auth';
impo... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectInspectionProfilesVisibleTreeState">
<entry key="Project Default">
<profile-state>
<expanded-state>
<State>
<id />
</State>
</expanded-state>
<selected-state>
... |
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.CardView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
style="@style/CardViewStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.... |
/**
* Module dependencies.
*/
var Node = require('./node');
/**
* Initialize a `Code` node with the given code `val`.
* Code may also be optionally buffered and escaped.
*
* @param {String} val
* @param {Boolean} buffer
* @param {Boolean} escape
* @api public
*/
var Code = module.expo... |
using System;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.Core.Pipeline;
using Azure.ResourceManager.DataFactory.Models;
namespace Azure.ResourceManager.DataFactory
{
internal partial class PipelineRunsRestOperations
{
private... |
package com.google.common.primitives;
import com.google.common.collect.ImmutableSet;
import com.google.common.testing.NullPointerTester;
import junit.framework.TestCase;
import java.util.Set;
/**
* Unit test for {@link Primitives}.
*
* @author Kevin Bourrillion
*/
public class PrimitivesTest extends TestCase ... |
var jwt = require("jwt-simple");
// var Promise = require('bluebird');
var Models = require('../db/models.js');
var Collections = require('../db/collections.js');
var User = Models.User;
var List = Models.List;
var Lists = Collections.Lists;
var secret = "MYWITTYSECRET";
module.exports = {
// Gets the user by the ... |
import React from 'react';
import { Link } from 'react-router';
import APPCONFIG from 'constants/Config';
import Converter from 'utils/converter'
import QueueAnim from 'rc-queue-anim';
import PrefecturesChart from './PrefecturesChart';
import AquisitionChart from './AquisitionChart';
import StatBoxes from './StatBox... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... |
/*
* Created by IntelliJ IDEA.
* User: dsl
* Date: 09.07.2002
* Time: 15:41:29
* To change template for new class use
* Code Style | Class Templates options (Tools | IDE Options).
*/
package com.intellij.refactoring.classMembers;
import com.intellij.psi.PsiElement;
import java.util.Collection;
public class... |
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
/*!
An object that can run a given block.
*/
@interface BFExecutor : NSObject
/*!
Returns a default executor, which runs continuations immediately until the call stack gets too
deep, then dispatches to a new GCD queue.
*/
+ (instancetype)defaultExecuto... |
package com.alibaba.dubbo.examples.generic.impl;
import com.alibaba.dubbo.examples.generic.api.IUserService;
/**
* @author chao.liuc
*
*/
public class UserServiceImpl implements IUserService {
public User get(Params params) {
return new User(1, "charles");
}
}
|
/* ###
* IP: GHIDRA
*
* 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 writin... |
set -e
set -o pipefail
handle_signal() {
PID=$!
echo "Received signal. PID is ${PID}"
kill -s SIGHUP $PID
}
trap "handle_signal" SIGINT SIGTERM SIGHUP
echo "Starting sonarr..."
exec mono --debug /opt/sonarr/NzbDrone.exe --no-browser -data=/config & wait
echo "Stopping sonarr..."
|
using System;
using System.IO;
using System.Collections.Generic;
using System.ComponentModel;
using System.Reflection;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Web;
using System.Web.UI;
using System.Web.Mvc;
using System.Web.Caching;
using System.Web.Routing;... |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--
~ Copyright 2022 Thoughtworks, 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/lic... |
if exist setup64.exe (del setup64.exe)
msbuild /target:Bootstrapper setup64.proj
rename setup.exe setup64.exe
iexpress /N Installer64.sed |
<?php
namespace JMS\Serializer\Tests\Fixtures;
use JMS\Serializer\Annotation\Type;
class CircularReferenceChild
{
/** @Type("string") */
private $name;
/** @Type("JMS\Serializer\Tests\Fixtures\CircularReferenceParent") */
private $parent;
public function __construct($name, CircularReferencePa... |
#include "tensorflow/compiler/xla/service/gpu/cudnn_convolution_rewriter.h"
#include "tensorflow/compiler/xla/service/gpu/ir_emission_utils.h"
#include "tensorflow/compiler/xla/service/hlo_computation.h"
#include "tensorflow/compiler/xla/service/hlo_instruction.h"
#include "tensorflow/compiler/xla/service/hlo_matche... |
package org.elasticsearch.client.ml;
import org.elasticsearch.client.core.PageParams;
import org.elasticsearch.common.xcontent.XContentParser;
import org.elasticsearch.test.AbstractXContentTestCase;
import java.io.IOException;
public class GetCategoriesRequestTests extends AbstractXContentTestCase<GetCategoriesRequ... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Sat Sep 26 12:35:56 CDT 2009-->
<TITLE>
Java Email Server Client API
</TITLE>
<SCRIPT type="text/javascript">
targetPage = "" + window.location.search;
... |
define(function (require) {
var foo = require('../foo');
return {
name: 'ALPHA' + foo.name
};
});
|
//
// LoadMoreResultsCell.h
// MakeAMealOfIt
//
// Created by James Valaitis on 18/06/2013.
// Copyright (c) 2013 &Beyond. All rights reserved.
//
#pragma mark - Result Management Cell Public Interface
@interface ResultManagementCell : UICollectionViewCell {}
/**
* Publicly allows the setting of the instruction... |
#include "lib/sensors.h"
#include "dev/button-sensor.h"
#include "mc1322x.h"
#include <signal.h>
const struct sensors_sensor button_sensor;
static struct timer debouncetimer;
static int status(int type);
void kbi4_isr(void) {
if(timer_expired(&debouncetimer)) {
timer_set(&debouncetimer, CLOCK_SECOND / 4);
s... |
/* (c) 2014 LinkedIn Corp. All rights reserved.
*
* 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 ag... |
[HTML5 Boilerplate homepage](https://html5boilerplate.com) | [Documentation
table of contents](TOC.md)
# The CSS
HTML5 Boilerplate's CSS includes:
* [Normalize.css](#normalizecss)
* [Useful defaults](#useful-defaults)
* [Common helpers](#common-helpers)
* [Placeholder media queries](#media-queries)
* [Print styles](... |
(function($) {
var LINE_ELM_ID_FORMAT = 'line_{0}';
var RECT_ELM_ID_FORMAT = 'rect_{0}';
var VERT_LINE_ELM_ID_FORMAT = 'vert_line_{0}';
var X_LABEL_ELM_ID_FORMAT = 'x_label_{0}';
var TOOLTIP_TIME_FORMAT = '{0}-{1}';
var TOOLTIP_OPEN_CLOSE_FORMAT = 'Open/Close= {0}/{1}';
var TOOLTIP_HIGH_LOW_FORMAT... |
package cucumber.runtime.java.guice.integration;
import cucumber.api.java.en.Given;
import cucumber.api.java.en.Then;
import cucumber.api.java.en.When;
import javax.inject.Inject;
import javax.inject.Provider;
import java.util.ArrayList;
import java.util.List;
import static cucumber.runtime.java.guice.matcher.Elemen... |
/* crypto/buffer/buffer.h */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commerci... |
using System;
using Newtonsoft.Json;
using System.IO;
namespace TrueCraft.Core
{
public class UserSettings
{
public static UserSettings Local { get; set; }
public static string SettingsPath
{
get
{
return Path.Combine(Environment.GetFolderPath(E... |
package org.wso2.carbon.identity.samples.oauth;
public class AuthenticationToken {
private String userId;
private String tenantId;
private String signature;
// TenantId:=0&UserId:=1&Signature:=QHGYNr0phJclgJnNUhc+RodHqCk=
public AuthenticationToken(String token) {
if (token != null) {
String[... |
// Copyright (c) 2017 Brian Barto
//
// This program is free software; you can redistribute it and/or modify it
// under the terms of the MIT License. See LICENSE for more details.
/*
* MODULE DESCRIPTION
*
* The mainsocket module stores and provides access to the main socket
* file descriptor, as an integer valu... |