text stringlengths 3 1.05M |
|---|
(function() {
var Authorization, Evie, base64, clone, include, overload, querystring, request, resolve_url, resource, type, _ref,
__slice = [].slice;
querystring = require("querystring");
resolve_url = (require("url")).resolve;
_ref = require("fairmont"), include = _ref.include, clone = _ref.clone, type ... |
package com.cloud.bridge.util;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.lang.reflect.Array;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import j... |
<div id="confirmRejectChallenge">
<p>Nadie dudaba que tu respuesta sería defender tu honor.</p>
<p>¿Deseas dejarle claro quien manda?</p>
</div> |
package org.apache.hadoop.hbase.coprocessor;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.HBaseClassTestRule;
import org.apache.hadoop.hbase.testclassification.RegionServerTests;
import org.apache.hadoop.hbase.testclassification.SmallTests;
import org.junit.ClassRule;
import org.junit.R... |
/* vi: set ts=4 sw=4 expandtab: */
/*
DO NOT EDIT THIS FILE BY HAND. It is autogenerated by gendynapi.pl.
NEVER REARRANGE THIS FILE, THE ORDER IS ABI LAW.
Changing this file means bumping SDL_DYNAPI_VERSION. You can safely add
new items to the end of the file, though.
Also, this file gets included mul... |
package ml.dmlc.mxnet.optimizer
import ml.dmlc.mxnet.{Optimizer, LRScheduler, NDArray}
import ml.dmlc.mxnet.NDArrayConversions._
import ml.dmlc.mxnet.util.SerializerUtils
/**
* DCASGD optimizer with momentum and weight regularization.
* Implementation of paper "Asynchronous Stochastic Gradient Descent with
* Del... |
// Statistics.h
#pragma once
// tolua_begin
enum eStatistic
{
// The order must match the order of cStatInfo::ms_Info
statInvalid = -1,
/* Achievements */
achOpenInv, /* Taking Inventory */
achMineWood, /* Getting Wood */
achCraftWorkbench, /* Benchmarking */
... |
package engagementfabric
// Copyright (c) Microsoft and contributors. 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
... |
using System.Collections.Generic;
using System.Xml.Linq;
namespace Template10.Services.AdaptiveTiles.Model
{
public class Visual : VisualBindingBase, IAdaptiveTile
{
public string Version { get; set; }
public List<Binding> Bindings
{
get; set;
}
public XEle... |
function ReplaceCXXString()
{
oldstring="$1"
newstring="$2"
git grep -l "${oldstring}" | \
fgrep -v itk_compiler_detection.h | fgrep -v itkMacro.h | fgrep -v CMakeLists.txt |fgrep -v .cmake | \
fgrep -v ITKv5Preparation | \
xargs sed -i '' -e "s/ ${oldstring}/ ${newstring}/g"
file_changed=$(expr $... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WebsitePanel.Providers.Virtualization
{
public class MonitoredObjectEvent
{
public string Category { get; set; }
public string Decription { get; set; }
public string EventDat... |
//
// Copyright (c) Microsoft. 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 l... |
angular.module("pascalprecht.translate").factory("$translateMissingTranslationHandlerLog",["$log",function(a){return function(b){a.warn("Translation for "+b+" doesn't exist")}}]); |
#ifndef _PTY_H
#define _PTY_H 1
#include <features.h>
#include <termios.h>
#include <sys/ioctl.h>
__BEGIN_DECLS
/* Create pseudo tty master slave pair with NAME and set terminal
attributes according to TERMP and WINP and return handles for both
ends in AMASTER and ASLAVE. */
extern int openpty (int *__ama... |
namespace blink {
enum class WebTreeScopeType;
enum class WebSandboxFlags;
}
namespace content {
// This structure holds information that needs to be replicated between a
// RenderFrame and any of its associated RenderFrameProxies.
struct CONTENT_EXPORT FrameReplicationState {
FrameReplicationState();
FrameReplic... |
phpunit --process-isolation --log-junit php://stdout DataProviderTest ../../_files/DataProviderTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--process-isolation';
$_SERVER['argv'][3] = '--log-junit';
$_SERVER['argv'][4] = 'php://stdout';
$_SERVER['argv'][5] = 'DataProviderTe... |
../../../MQTTClient/MQTTClient/MQTTClient/MQTTSSLSecurityPolicy.h |
angular.module('ui.bootstrap.position', [])
/**
* A set of utility methods that can be use to retrieve position of DOM elements.
* It is meant to be used where we need to absolute-position DOM elements in
* relation to other, existing elements (this is the case for tooltips, popovers,
* typeahead suggestions etc.)... |
<?php
namespace Singular\Response;
use Symfony\Component\HttpFoundation\JsonResponse as BaseJsonResponse;
class JsonResponse extends BaseJsonResponse
{
/**
* Sets the data to be sent as json.
*
* @param mixed $data
*
* @return JsonResponse
*
* @throws \InvalidArgumentException
... |
require 'spec_helper'
describe FbGraph::Connections::Payments do
describe '#payments' do
let(:app) { FbGraph::Application.new('app_id', :secret => 'sec sec') }
it 'should return payments as FbGraph::Order' do
mock_graph :post, 'oauth/access_token', 'token_response' do
mock_graph :get, 'app_id/... |
"""
Support for IOTA wallets.
For more details about this component, please refer to the documentation at
https://home-assistant.io/components/iota/
"""
import logging
from datetime import timedelta
import voluptuous as vol
import homeassistant.helpers.config_validation as cv
from homeassistant.helpers.discovery imp... |
<?php
/*
* This file is part of the overtrue/wechat.
*
* (c) overtrue <i@overtrue.me>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
/**
* Log.php.
*
* This file is part of the wechat-components.
*
* (c) overtrue <i@overtrue.me>
*
* Thi... |
package org.springframework.boot.autoconfigure.condition;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Set;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
... |
use {io, Evented, EventSet, PollOpt, Selector, Token};
use std::os::unix::io::RawFd;
/*
*
* ===== EventedFd =====
*
*/
#[derive(Debug)]
pub struct EventedFd<'a>(pub &'a RawFd);
impl<'a> Evented for EventedFd<'a> {
fn register(&self, selector: &mut Selector, token: Token, interest: EventSet, opts: PollOpt) -... |
namespace Kvasir {
//VBAT register file
namespace RfvbatReg0{ ///<VBAT register file register
using Addr = Register::Address<0x4003e000,0x00000000,0x00000000,unsigned>;
///no description available
constexpr Register::FieldLocation<Addr,Register::maskFromRange(7,0),Register::ReadWriteAcces... |
require 'spec_helper'
shared_examples_for "a socket" do
it "should open a socket" do
@socket.open.should == @handle
end
it "should be open whenever it has a handle" do
@socket.should_not be_open
@socket.open
@socket.should be_open
@socket.handle = nil
@socket.should_not be_open
@sock... |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/><!-- using block title in layout.dt--><!-- using block ddox.defs in ddox.layout.dt--><!-- using block ddox.title in ddox.layout.dt-->
<title>Function Win32GL.messageLoop</title>
<link rel="stylesheet" type="text/css" href="../../../../styles/ddox.css"/>
<li... |
package org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.apache.hadoop.yarn.api.records.Resource;
import org.apache.hadoop.yarn.server... |
#!/usr/bin/env node
const figures = require('figures');
const chalk = require('chalk');
const StackUtils = require('stack-utils');
const loadEnv = require('./lib/load-env');
const cli = require('./cli');
const runDev = require('./run-dev');
const runBuild = require('./run-build');
const runLint = require('./run-lint')... |
<?php
/**
* Parser for {foreach} loop.
*
* @package Template
* @version 1.4.2
* @access private
*/
class ezcTemplateForeachLoopSourceToTstParser extends ezcTemplateSourceToTstParser
{
/**
* Passes control to parent.
*
* @param ezcTemplateParser $parser
* @param ezcTemplateSourceToTstParse... |
<?php
/**
* Generates an HTML report from an PHP_CodeCoverage object.
*
* @category PHP
* @package CodeCoverage
* @author Sebastian Bergmann <sebastian@phpunit.de>
* @copyright 2009-2013 Sebastian Bergmann <sebastian@phpunit.de>
* @license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3... |
var fs = require('fs')
var path = require('path')
var resolve = require('resolve').sync
var rc = require('rc')
var isWin32 = process.platform === 'win32'
'use strict';
// resolvers
module.exports = [
nativeResolve,
nodePathResolve,
userHomeResolve,
nodeModulesResolve,
globalResolve
]
function resolveFn(... |
<?php
namespace app\modules\meal\controllers;
use app\modules\meal\models\Meal;
use yii\web\Controller;
class DefaultController extends Controller
{
public $meal;
public $person;
public function beforeAction($action)
{
if (!parent::beforeAction($action)) {
return false;
}... |
(function( $, undefined ) {
$.effects.effect.slide = function( o, done ) {
// Create element
var el = $( this ),
props = [ "position", "top", "bottom", "left", "right", "width", "height" ],
mode = $.effects.setMode( el, o.mode || "show" ),
show = mode === "show",
direction = o.direction || "left",
ref = ... |
package microsoft.exchange.webservices.data.core.exception.service.remote;
/**
* Represents an error that occurs when a service operation fails remotely.
*/
public class ServiceRemoteException extends Exception {
/**
* Constant serialized ID used for compatibility.
*/
private static final long serialVer... |
'use strict'
var uniqueFilename = require('unique-filename')
var npm = require('../npm.js')
module.exports = function (prefix) {
return uniqueFilename(npm.tmp, prefix)
}
|
/*
* radio.css
* v1.0.0
*
* Tiny set of CSS3 animations for your radio inputs.
* https://github.com/720kb/
*
* MIT license
* Fri Sep 09 2016
*/
@-webkit-keyframes ufo{0%{-webkit-transform:scaleY(.8);transform:scaleY(.8)}60%{-webkit-transform:scaleY(1) scaleX(1.43) rotate(270deg);transform:scaleY(1) scaleX(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.6.0_30) on Mon Mar 17 14:18:50 MDT 2014 -->
<title>R</title>
<meta name="date" content="2014-03-17">
<link rel="stylesheet" type="text/css"... |
<?php
namespace Doctrine\Common\Cache;
/**
* Base class for cache provider implementations.
*
* @since 2.2
* @author Benjamin Eberlei <kontakt@beberlei.de>
* @author Guilherme Blanco <guilhermeblanco@hotmail.com>
* @author Jonathan Wage <jonwage@gmail.com>
* @author Roman Borschel <roman@code-factory.org>
*... |
package org.ql.utils.db;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.ql.utils.debug.QLLog;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import and... |
package com.hazelcast.simulator.tests.map;
import com.hazelcast.core.HazelcastInstance;
import com.hazelcast.core.IMap;
import com.hazelcast.simulator.probes.probes.IntervalProbe;
import com.hazelcast.simulator.test.TestContext;
import com.hazelcast.simulator.test.TestRunner;
import com.hazelcast.simulator.test.annot... |
import { mergeMap } from './mergeMap';
export function mergeMapTo(innerObservable, resultSelector, concurrent = Number.POSITIVE_INFINITY) {
if (typeof resultSelector === 'function') {
return mergeMap(() => innerObservable, resultSelector, concurrent);
}
if (typeof resultSelector === 'number') {
... |
package cobra
import (
"bytes"
"fmt"
"os"
"reflect"
"runtime"
"strings"
"testing"
"text/template"
"github.com/spf13/pflag"
)
var _ = fmt.Println
var _ = os.Stderr
var tp, te, tt, t1, tr []string
var rootPersPre, echoPre, echoPersPre, timesPersPre []string
var flagb1, flagb2, flagb3, flagbr, flagbp bool
var... |
module Fog
module Compute
class VcloudDirector
class Real
# Merge the metadata provided in the request with existing metadata.
#
# @param [String] id Object identifier of the media object.
# @param [Hash{String=>Boolean,DateTime,Fixnum,String}] metadata
# @return [Exc... |
module Sidetiq
# Public: Recurrence schedule.
class Schedule
# :nodoc:
attr_reader :last_occurrence
# Public: Writer for backfilling option.
attr_writer :backfill
# Public: Start time offset from epoch used for calculating run
# times in the Sidetiq schedules.
def self.start_time
... |
<?php
class Google_Service_ServiceUser_Api extends Google_Collection
{
protected $collection_key = 'options';
protected $methodsType = 'Google_Service_ServiceUser_Method';
protected $methodsDataType = 'array';
protected $mixinsType = 'Google_Service_ServiceUser_Mixin';
protected $mixinsDataType = 'array';
... |
package com.noctarius.borabora.impl;
import com.noctarius.borabora.AbstractTestCase;
import com.noctarius.borabora.Dictionary;
import com.noctarius.borabora.Input;
import com.noctarius.borabora.Output;
import com.noctarius.borabora.Parser;
import com.noctarius.borabora.Predicates;
import com.noctarius.borabora.Query;... |
package org.zstack.header.network.l3;
import org.zstack.header.tag.AutoDeleteTag;
import org.zstack.header.vo.EO;
import org.zstack.utils.network.NetworkUtils;
import javax.persistence.Entity;
import javax.persistence.Table;
@Entity
@Table
@EO(EOClazz = IpRangeEO.class)
@AutoDeleteTag
public class IpRangeVO extends ... |
YUI.add('text-wordbreak', function (Y, NAME) {
/**
* Provides utility methods for splitting strings on word breaks and determining
* whether a character index represents a word boundary.
*
* @module text
* @submodule text-wordbreak
*/
/**
* <p>
* Provides utility methods for splitting strings on word breaks... |
import { Observable } from '../Observable';
import { Operator } from '../Operator';
import { Subscriber } from '../Subscriber';
import { TeardownLogic } from '../Subscription';
/**
* Returns an Observable that skips all items emitted by the source Observable as long as a specified condition holds
* true, but emits a... |
package sun.nio.fs;
import com.google.j2objc.annotations.ReflectionSupport;
import java.nio.file.attribute.*;
import java.util.concurrent.TimeUnit;
import java.util.Set;
import java.util.HashSet;
/**
* Unix implementation of PosixFileAttributes.
*/
@ReflectionSupport(ReflectionSupport.Level.FULL)
class UnixFile... |
<!DOCTYPE html>
<html>
<body onload="onPageLoad()">
Regression test for <a href="http://crbug.com/436214">http://crbug.com/436214</a>. This tests updating SVG <circle> and <ellipse> elements having various stroke styles. If this test passes, you will see "PASS" below.
<p id="result">WAITING - click within e... |
SpecBegin(___VARIABLE_specClass:identifier___)
SpecEnd
|
package org.stringtemplate.v4.gui;
import org.antlr.runtime.tree.CommonTree;
import org.stringtemplate.v4.InstanceScope;
import org.stringtemplate.v4.Interpreter;
import org.stringtemplate.v4.ST;
import org.stringtemplate.v4.StringRenderer;
import org.stringtemplate.v4.debug.AddAttributeEvent;
import javax.swing.eve... |
<?php
namespace Rgs\AdminModule\DependencyInjection;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\DependencyInjection\Extension\Extension;
use Symfony\Component\DependencyInjection\Loader;
use Symfony\Component\DependencyInjection\Definiti... |
//
// CrossPromotionHelper.h
// AppsFlyerLib
//
// Created by Gil Meroz on 27/01/2017.
//
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
/**
AppsFlyer allows you to track and attribute installs originating
from cross promotion campaigns of your existing apps.
Afterwards, y... |
/*# sourceMappingURL=main.css.map */
/*# sourceMappingURL=main.css.map */
|
package com.jme3.bullet.collision.shapes;
import com.bulletphysics.collision.shapes.BU_Simplex1to4;
import com.jme3.bullet.util.Converter;
import com.jme3.export.InputCapsule;
import com.jme3.export.JmeExporter;
import com.jme3.export.JmeImporter;
import com.jme3.export.OutputCapsule;
import com.jme3.math.Vector3f;
i... |
<?php
namespace Symfony\Component\Form\Extension\Validator\Type;
use Symfony\Component\Form\AbstractTypeExtension;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\Form\Extension\Validator\ViolationMapper\ViolationMapper;
use Symfony\Component\Form\Extension\Validator\EventListener\ValidationL... |
package com.example.testng;
@org.testng.annotations.Test
public class AnnotatedAtClassLevel {
public void aTest() {
}
public void anotherTest() {
}
} |
package client
import (
"bytes"
"crypto/tls"
"encoding/json"
"errors"
"fmt"
"io"
"io/ioutil"
"net"
"net/http"
"net/url"
"strconv"
"strings"
"time"
"github.com/influxdata/influxdb/models"
)
const (
// DefaultHost is the default host used to connect to an InfluxDB instance
DefaultHost = "localhost"
/... |
---
layout: archive
permalink: /categories/
title: "Posts by Category"
author_profile: true
---
{% include base_path %}
{% include group-by-array collection=site.posts field="categories" %}
{% for category in group_names %}
{% assign posts = group_items[forloop.index0] %}
<h2 id="{{ category | slugify }}" class... |
require File.expand_path('../../../spec_helper', __FILE__)
describe "SignalException#signo" do
it "needs to be reviewed for spec completeness"
end
|
The [lodash](https://lodash.com/) method `_.mapValues` exported as a [Node.js](https://nodejs.org/) module.
## Installation
Using npm:
```bash
$ {sudo -H} npm i -g npm
$ npm i --save lodash.mapvalues
```
In Node.js:
```js
var mapValues = require('lodash.mapvalues');
```
See the [documentation](https://lodash.com/do... |
<?php
/**
* Convert mapper interface
*
* @category Varien
* @package Varien_Convert
* @author Magento Core Team <core@magentocommerce.com>
*/
interface Varien_Convert_Mapper_Interface
{
public function map();
}
|
#include "config.h"
#if ENABLE(SVG)
#include "RenderSVGRect.h"
#include "SVGNames.h"
#include "SVGRectElement.h"
namespace WebCore {
RenderSVGRect::RenderSVGRect(SVGRectElement* node)
: RenderSVGShape(node)
, m_usePathFallback(false)
{
}
RenderSVGRect::~RenderSVGRect()
{
}
void RenderSVGRect::updateShap... |
date: 2016-05-06 07:49:38-05:00
embed_url: http://owlturd.com/post/143938656934/ancient-fable-image-twitter-facebook-patreon
layout: post
tags:
- comic
- humor
- science
- fable
timestamp: 1462538978
title: Sun and the Moon
type: embed
---
<div class="tumblr-post" data-href="https://embed.tumblr.com/embed/post/7VRNrWg... |
package com.planet_ink.coffee_mud.core.intermud.i3.packets;
import com.planet_ink.coffee_mud.core.intermud.imc2.*;
import com.planet_ink.coffee_mud.core.intermud.i3.packets.*;
import com.planet_ink.coffee_mud.core.intermud.i3.persist.*;
import com.planet_ink.coffee_mud.core.intermud.i3.server.*;
import com.planet_ink.c... |
/*
* Based off stream_netstream.c
*
* Copyright (C) Alban Bedel - 04/2003
*
* This file is part of MPlayer, a free movie player.
*
* MPlayer is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; eit... |
<?php
namespace GuzzleHttp;
use Psr\Http\Message\RequestInterface;
/**
* Creates a composed Guzzle handler function by stacking middlewares on top of
* an HTTP handler function.
*/
class HandlerStack
{
/** @var callable */
private $handler;
/** @var array */
private $stack = [];
/** @var call... |
var apiKey = "AqTGBsziZHIJYYxgivLBf0hVdrAk9mWO5cQcb8Yux8sW5M8c8opEC2lZqKR1ZZXf";
var hybrid = new OpenLayers.Layer.Bing({
key: apiKey,
type: "AerialWithLabels",
name: "Bing Aerial With Labels"
});
var vector = new OpenLayers.Layer.Vector("GeoJSON", {
projection: "EPSG:4326",
strategies: [new OpenL... |
using System;
using DataStructures.Common;
namespace DataStructures.Graphs
{
/// <summary>
/// The graph edge class.
/// </summary>
public class UnweightedEdge<TVertex> : IEdge<TVertex> where TVertex : IComparable<TVertex>
{
private const int _edgeWeight = 0;
/// <summary>
... |
require "abstract_unit"
module ActionDispatch
module Journey
class TestRoute < ActiveSupport::TestCase
def test_initialize
app = Object.new
path = Path::Pattern.from_string "/:controller(/:action(/:id(.:format)))"
defaults = {}
route = Route.build("name", app, pa... |
require File.join(File.dirname(__FILE__), '..', '..', 'test_helper')
require File.join(File.dirname(__FILE__), '..', '..', 'blueprints', 'blueprints')
require File.join(File.dirname(__FILE__), '..', '..', 'blueprints', 'helper')
require 'shoulda'
require 'base64'
class Api::GroupsControllerTest < ActionController::Tes... |
require "test_helper"
class DownloadBoxActionTest < Test::Unit::TestCase
setup do
@klass = Vagrant::Action::Box::Download
@app, @env = action_env
@env["box"] = Vagrant::Box.new(vagrant_env, "foo")
@env["box"].uri = "http://google.com"
end
context "initializing" do
should "initialize download... |
module Player where
import Data
import Control.Concurrent.STM
import Control.Concurrent.Async
import Control.Monad.Reader
import System.IO (Handle, hPutStrLn, hGetLine)
import Data.List (sort)
import Data.Maybe (catMaybes)
data Player = Player { handle :: TVar (Maybe Handle)
, playChan :: TChan... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title></title>
<link rel="Stylesheet" href="../css/analysis.css" />
<script type="text/javascript">
function init() {
if (window.location.hash) {
var parentDiv, nodes, ... |
#include <aws/eventbridge/model/PutEventsRequestEntry.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
namespace EventBridge
{
namespace Model
{
PutEventsRequestEntry::PutEventsRequestEntry() :
m_timeHasBeenSe... |
<?php
/**
* Core Taxonomy API
*
* @package WordPress
* @subpackage Taxonomy
*/
//
// Taxonomy Registration
//
/**
* Creates the initial taxonomies.
*
* This function fires twice: in wp-settings.php before plugins are loaded (for
* backward compatibility reasons), and again on the {@see 'init'} action. We mus... |
package org.pentaho.di.ui.job.entries.syslog;
import java.net.InetAddress;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.CCombo;
import org.eclipse.swt.custom.CTabFolder;
import org.eclipse.swt.custom.CTabItem;
import org.eclipse.swt.events.ModifyEvent;
import org.eclipse.swt.events.ModifyListener;
impo... |
<?php
namespace Symfony\Bundle\SecurityBundle\Tests\DependencyInjection;
use Symfony\Component\DependencyInjection\Reference;
use Symfony\Component\DependencyInjection\Parameter;
use Symfony\Bundle\SecurityBundle\SecurityBundle;
use Symfony\Bundle\SecurityBundle\DependencyInjection\SecurityExtension;
use Symfony\Co... |
package com.commonsware.android.localcast;
import android.app.IntentService;
import android.content.Intent;
import android.os.SystemClock;
import android.support.v4.content.LocalBroadcastManager;
public class NoticeService extends IntentService {
public static final String BROADCAST=
"com.commonsware.androi... |
package org.apache.camel.component.stream;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.mock.MockEndpoint;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
public class StreamGroupLinesLastStrategyTest extends StreamGroupLinesStrategy... |
#if defined(HAVE_CONFIG_H)
#include "bitcoin-config.h"
#endif
#include "optionsmodel.h"
#include "bitcoinunits.h"
#include "init.h"
#include "wallet.h"
#include "walletdb.h"
#include "guiutil.h"
#include <QDebug>
#include <QSettings>
// shared UI settings in guiutil.h
bool fUseClamTheme;
bool fUseClamSpeech;
bool f... |
let config = {};
export const loadConfig = () => {
config.port = process.env.PORT || 8088;
config.postgresUrl = process.env.DATABASE_URL_NODE || 'changeme';
config.aactUrl = process.env.DATABASE_URL_NODE || 'changeme';
config.hasuraUrl = process.env.HASURA_CLINWIKI_URL || 'changeme';
config.hasuraUrlDIS = pr... |
CKEDITOR.plugins.setLang( 'mindtouchtemplates', 'et',
{
'mindtouchtemplates' :
{
'button' : 'Template'
}
});
|
<!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 Dec 13 10:32:37 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>CustomRoleMapperSupplier (B... |
namespace content {
class WebContents;
}
// Windows specific implementation of the render view context menu.
class RenderViewContextMenuWin : public RenderViewContextMenuViews {
public:
RenderViewContextMenuWin(content::WebContents* web_contents,
const content::ContextMenuParams& params);... |
REG_FIDDLE(Canvas_drawVertices, 256, 256, false, 0) {
void draw(SkCanvas* canvas) {
SkPaint paint;
SkPoint points[] = { { 0, 0 }, { 250, 0 }, { 100, 100 }, { 0, 250 } };
SkColor colors[] = { SK_ColorRED, SK_ColorBLUE, SK_ColorYELLOW, SK_ColorCYAN };
auto vertices = SkVertices::MakeCopy(SkVertices::kTria... |
<?php
namespace Subway;
use Subway\Job;
use Subway\Factory;
/**
* Worker class
*/
class Worker
{
/**
* @var string
*/
protected $id;
/**
* @var Factory
*/
protected $factory;
/**
* Class constructor
*
* @param string $id
* @param Factory $factory
... |
var baseGet = require('./internal/baseGet');
/**
* The opposite of `_.property`; this method creates a function that returns
* the value at a given path of `object`.
*
* @static
* @memberOf _
* @category Util
* @param {Object} object The object to query.
* @returns {Function} Returns the new function.
* @exam... |
import { Object3D } from '../core/Object3D';
/**
* @author mikael emtinger / http://gomo.se/
* @author alteredq / http://alteredqualia.com/
* @author ikerr / http://verold.com
*/
function Bone() {
Object3D.call( this );
this.type = 'Bone';
}
Bone.prototype = Object.assign( Object.create( Object3D.prototype ... |
<?php
// autoload_namespaces.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'SimplePie' => array($vendorDir . '/simplepie/simplepie/library'),
'ParsedownExtra' => array($vendorDir . '/erusev/parsedown-extra'),
'Parsedown' => array($vendor... |
<?php
/*
* This file is part of the PHP CS utility.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Symfony\CS\Fixer\Contrib;
use Symfony\CS\AbstractFixer;
use Symfony\CS\Tokenizer\Token;... |
<?php
class SubController extends BaseController {
public function __construct()
{
$this->beforeFilter('csrf', ['on' => array('create','edit','store')]);
}
/**
* Display a listing of the resource.
* GET /group
*
* @return Response
*/
public function index()
{
//
}
/**
* Show the form for cre... |
/*
* 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... |
export interface IssuingCount {
accountIdentifier: string;
start?: number;
amount: number;
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OpenSim.Region.Framework.AvatarTransit
{
/// <summary>
/// Exception thrown when there is any problem with an avatar transit. Inbound or outbound
/// </summary>
public class A... |
YUI.add('event-custom-base', function(Y) {
/**
* Custom event engine, DOM event listener abstraction layer, synthetic DOM
* events.
* @module event-custom
*/
Y.Env.evt = {
handles: {},
plugins: {}
};
/**
* Custom event engine, DOM event listener abstraction layer, synthetic DOM
* events.
* @module ev... |
/*
Theme Name: Beach
Theme URI: http://wordpress.org/extend/themes/beach/
Author: Gibbo and Automattic
Author URI: http://webzer.net/
Description: Beach brings the warm feel of Thailand’s shores to your blog year round. Originally designed for Drupal Thailand by Gibbo, Beach features special post formatting for A... |