text stringlengths 3 1.05M |
|---|
package nest.sparkle.store.cassandra
/** CQL s for SparseColumnReader */
object SparseColumnReaderStatements extends PerTablePrepared {
case class ReadAll(override val tableName: String) extends TableOperation
case class ReadRange(override val tableName: String) extends TableOperation
case class ReadFromStart(ov... |
#ifndef __EDMA_HAL_H__
#define __EDMA_HAL_H__
#include <stdint.h>
#include <stdbool.h>
#include <assert.h>
#include "fsl_edma_features.h"
#include "fsl_device_registers.h"
/*!
* @addtogroup edma_hal
* @{
*/
/*******************************************************************************
* Definitions
*********... |
"""
Implements LazyTbl to represent tables of SQL data, and registers it on verbs.
This module is responsible for the handling of the "table" side of things, while
translate.py handles translating column operations.
"""
from sqlalchemy import sql
from siuba.dply.verbs import count, add_count, inner_join, _check_na... |
package org.zstack.sdk;
public class CreateBaremetalPxeServerResult {
public BaremetalPxeServerInventory inventory;
public void setInventory(BaremetalPxeServerInventory inventory) {
this.inventory = inventory;
}
public BaremetalPxeServerInventory getInventory() {
return this.inventory;
... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Revis. gen. pl. (Leipzig) 3: 501 (1898)
#### Original name
Coelosphaeria pezizoidea Pat.
### Remarks
null |
Getting Started
---------------
To see some examples of what DistArray can do, check out our IPython notebooks
on nbviewer (also in the ``examples`` directory of the DistArray source).
* `DistArray Features <http://nbviewer.ipython.org/github/enthought/distarray/blob/master/examples/features.ipynb>`_
* `Seismic Volu... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>charge-core: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... |
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2014 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... |
"""Implementation of :class:`CompositeDomain` class. """
from sympy.polys.domains.domain import Domain
from sympy.polys.polyerrors import GeneratorsError
class CompositeDomain(Domain):
"""Base class for composite domains, e.g. ZZ[x], ZZ(X). """
is_Composite = True
def inject(self, *gens):
"""Inj... |
package net.silentchaos512.gems.network;
import net.minecraft.resources.ResourceLocation;
import net.minecraftforge.network.HandshakeHandler;
import net.minecraftforge.network.NetworkRegistry;
import net.minecraftforge.network.simple.SimpleChannel;
import net.silentchaos512.gems.GemsBase;
import net.silentchaos512.gem... |
<html dir="LTR">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
<title>ISelenium.MouseUpRightAt Method</title>
<xml>
</xml>
<link rel="stylesheet" type="text/css" href="... |
require 'spec_helper'
describe User do
let(:user) { build :user }
subject { user }
it "passes validation with all valid informations" do
expect(build :user).to be_valid
end
context "fails validation" do
it "with a blank login" do
user.login = ''
expect(user.save).to be_false
end
... |
<!--
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http:/... |
package abac
import (
"context"
"io/ioutil"
"os"
"reflect"
"testing"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/apiserver/pkg/authorization/authorizer"
"k8s.io/kubernetes/pkg/apis/abac"
"k8s.io/kubernetes/pkg/apis/abac/v0"
"k8s.io/kubernetes/pkg/apis/abac/v1beta1... |
//
// detail/reactive_socket_connect_op.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2014 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.tx... |
.red { background-color : red }
address { margin-bottom : 1em ; margin-left : 1em }
address:not(:last-of-type) { background-color : lime }
|
<?php
class HTMLPurifier_URIParserTest extends HTMLPurifier_Harness
{
protected function assertParsing(
$uri, $scheme, $userinfo, $host, $port, $path, $query, $fragment, $config = null, $context = null
) {
$this->prepareCommon($config, $context);
$parser = new HTMLPurifier_URIParser();... |
#ifndef __TestCpp__TextFieldReader__
#define __TestCpp__TextFieldReader__
#include "cocostudio/WidgetReader/WidgetReader.h"
#include "cocostudio/CocosStudioExport.h"
namespace cocostudio
{
class CC_STUDIO_DLL TextFieldReader : public WidgetReader
{
DECLARE_CLASS_NODE_READER_INFO
public:... |
<?php
namespace Symfony\Bridge\Doctrine\Form\DataTransformer;
use Symfony\Component\Form\Exception\TransformationFailedException;
use Symfony\Component\Form\DataTransformerInterface;
use Doctrine\Common\Collections\Collection;
use Doctrine\Common\Collections\ArrayCollection;
/**
* @author Bernhard Schussek <bschu... |
semaphore
=========
[](https://travis-ci.org/eapache/go-resiliency)
[](https://godoc.org/github.com/eapache/go-resiliency/semaphore)
[ || defined(USE_TI_UITOOLBAR)
#import "TiViewProxy.h"
#import "TiToolbar.h"
@interface TiUIiOSToolbarProxy : TiViewProxy <TiToolbar> {
}
@end
#endif |
This plugin uploads data and fetch URL from the pastebin http://sprunge.us
To enable it, add 'sprunge' to your plugins:
```zsh
plugins=(... sprunge)
```
## Usage
| Command | Description |
|------------------------------|-------------------------------------------|
... |
namespace ash {
namespace internal {
namespace {
// The maximum opacity of the drag phantom window.
const float kMaxOpacity = 0.8f;
// The opacity of the window when dragging it over a user item in the tray.
const float kOpacityWhenDraggedOverUserIcon = 0.4f;
// Returns true if Ash has more than one root window.
bo... |
<subsystem xmlns="urn:jboss:domain:modeshape:2.1">
<repository name="sample"
cache-name="sample"
cache-config="modeshape.xml"
jndi-name="jcr/local/sample"
enable-monitoring="true"
security-domain="modeshape-security"
anonymous-roles=... |
package csi
import (
"fmt"
"io/ioutil"
"os"
"path/filepath"
"testing"
"time"
"github.com/golang/glog"
storage "k8s.io/api/storage/v1beta1"
apierrs "k8s.io/apimachinery/pkg/api/errors"
meta "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/types"
"k8s.io/a... |
#include "talk/examples/call/discoitemsquerytask.h"
#include "talk/base/scoped_ptr.h"
#include "talk/xmpp/constants.h"
namespace buzz {
namespace {
const int kDiscoItemsTimeout = 60;
} // namespace
DiscoItemsQueryTask::DiscoItemsQueryTask(Task* parent,
const std::string no... |
#pragma once
#include <thrust/extrema.h>
#include <cusp/system/cuda/arch.h>
#include <cusp/system/cuda/utils.h>
#include <thrust/device_ptr.h>
#include <algorithm>
namespace cusp
{
namespace system
{
namespace cuda
{
namespace detail
{
////////////////////////////////////////////////////////////////////////
//... |
(function () {
//Going sloppy to avoid 'use strict' string cost, but strict practices should
//be followed.
/*jslint sloppy: true */
/*global setTimeout: false */
var requirejs, require, define;
(function (undef) {
var main, req,
defined = {},
waiting = {},
config = {},
defining = ... |
<?php
namespace lithium\tests\cases\template;
use lithium\core\Libraries;
use lithium\template\View;
use lithium\action\Response;
use lithium\template\view\adapter\Simple;
use lithium\tests\mocks\template\MockView;
use lithium\tests\mocks\template\view\adapters\TestRenderer;
class ViewTest extends \lithium\test\Uni... |
var express = require('../')
, request = require('supertest');
describe('req', function(){
describe('.acceptsLanguage', function(){
it('should be true if language accpeted', function(done){
var app = express();
app.use(function(req, res){
req.acceptsLanguage('en-us').should.be.ok;
... |
license: Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2... |
<?php
namespace Faker\Provider\nb_NO;
class Company extends \Faker\Provider\Company
{
protected static $formats = array(
'{{lastName}} {{companySuffix}}',
'{{lastName}} {{companySuffix}}',
'{{lastName}} {{companySuffix}}',
'{{firstName}} {{lastName}} {{companySuffix}}',
'{{... |
./gradlew clean build test check uploadArchives closeAndReleaseRepository
|
<?php
namespace Genkgo\Camt\Camt053;
use DateTimeImmutable;
use DOMDocument;
use Genkgo\Camt\DecoderInterface;
use Genkgo\Camt\Exception\InvalidMessageException;
use Genkgo\Camt\Iban;
use Money\Currency;
use Money\Money;
use SimpleXMLElement;
class Decoder implements DecoderInterface
{
/**
* @var SimpleXMLEl... |
<?php
namespace Hubzero\Spam\Tests;
use Hubzero\Test\Basic;
use Hubzero\Spam\StringProcessor\NoneStringProcessor;
use Hubzero\Spam\StringProcessor\NativeStringProcessor;
/**
* Spam StringProcessor tests
*/
class StringProcessorTest extends Basic
{
/**
* Tests for setting and getting a StringProcessor
*
* @... |
var path = require('path'),
glob = require('glob'),
util = require('util'),
protractor = require('./protractor.js');
// Coffee is required here to enable config files written in coffee-script.
try {
require('coffee-script').register();
} catch (e) {
// Intentionally blank - ignore if coffee-script is n... |
import { not } from '@ember/object/computed';
import Model from 'ember-data/model';
import DS from 'ember-data';
import { memberAction } from 'ember-api-actions';
export default Model.extend({
status: DS.attr('repertory-status'),
chart_id: DS.attr('string'),
title: DS.attr('string'),
arrangers: DS.attr('strin... |
<!-- This file is machine generated: DO NOT EDIT! -->
# Variables
Note: Functions taking `Tensor` arguments can also take anything accepted by
[`tf.convert_to_tensor`](framework.md#convert_to_tensor).
[TOC]
## Variables
- - -
### `class tf.Variable` {#Variable}
See the [Variables How To](../../how_tos/variables/... |
#ifndef SkDisplayAdd_DEFINED
#define SkDisplayAdd_DEFINED
#include "SkDrawable.h"
#include "SkMemberInfo.h"
class SkAdd : public SkDrawable {
DECLARE_MEMBER_INFO(Add);
SkAdd();
enum Mode {
kMode_indirect,
kMode_immediate
};
virtual SkDisplayable* deepCopy(SkAnimateMaker* );
... |
This repository contains the TF1 code to build [AssembleNet](https://arxiv.org/abs/1905.13209) and [AssembleNet++](https://arxiv.org/abs/2008.08072):
[1] Michael S. Ryoo, AJ Piergiovanni, Mingxing Tan, Anelia Angelova,
AssembleNet: Searching for Multi-Stream Neural Connectivity in Video
Architectures. ICLR... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>National Cybersecurity Laboratory - Password Reset</title>
<object th:include="fragments/header :: header" th:remove="tag" />
... |
package com.amazonaws.services.apigatewayv2.model.transform;
import java.util.Map;
import java.math.*;
import javax.annotation.Generated;
import com.amazonaws.services.apigatewayv2.model.*;
import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*;
import com.amazonaws.transform.*;
import com.fasterxml.jackson.... |
#ifdef USE_TI_DATABASE
#import "TiDatabaseProxy.h"
#import "TiDatabaseResultSetProxy.h"
#import "TiUtils.h"
@implementation TiDatabaseProxy
#pragma mark Internal
-(void)dealloc
{
[self _destroy];
RELEASE_TO_NIL(name);
[super dealloc];
}
-(void)shutdown:(id)sender
{
if (database!=nil)
{
[self performSelect... |
//
// TypeCastUtil.h
// Weibo
//
// Created by Wade Cheng on 8/19/13.
//
// Copyright (c) 2013-present, Weibo, Corp.
// All rights reserved.
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#import <Foundation/Foundation.h>
... |
import logging
import pytest
from tests.common.impala_test_suite import ImpalaTestSuite
from tests.common.test_vector import TestDimension
from tests.verifiers.metric_verifier import MetricVerifier
class TestValidateMetrics(ImpalaTestSuite):
"""Verify metric values from the debug webpage.
This test suite must be ... |
/*
* 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... |
This is a GFM-style fenced code block:
``` bash
#!/bin/bash
# Print something to stdout:
echo "Hello"
echo "World"
```
This is a kramdown-style fenced code block:
~~~ bash
#!/bin/bash
# Print something to stdout:
echo "Hello"
echo "World"
~~~
None of the above should trigger any heading related rules.
```
Code b... |
package org.jetbrains.jps.incremental.messages;
/**
* @author Eugene Zhuravlev
*/
public class DoneSomethingNotification extends BuildMessage {
public static DoneSomethingNotification INSTANCE = new DoneSomethingNotification();
private DoneSomethingNotification() {
super("", Kind.INFO);
}
}
|
"""
.. module: security_monkey.watchers.config
:platform: Unix
.. version:: $$VERSION$$
.. moduleauthor:: Bridgewater OSS <opensource@bwater.com>
"""
from security_monkey.watcher import Watcher
from security_monkey.watcher import ChangeItem
from security_monkey.constants import TROUBLE_REGIONS
from security_monk... |
using RedisOnAzure.Web.App_Common;
using RedisRepo.Src;
namespace RedisOnAzure.Web
{
public class RedisConfiguration
{
private static RedisConfig _redisConfig;
/// <summary>
/// Creates a RedisRepo configuration object (RedisRepo.RedisConfig) based on the current site environment
... |
cask 'focuswriter' do
version :latest
sha256 :no_check
url 'http://gottcode.org/focuswriter/download/?os=mac'
name 'FocusWriter'
homepage 'http://gottcode.org/focuswriter/'
license :gpl
app 'FocusWriter.app'
end
|
package org.trustedanalytics.sparktk.frame.internal.ops
import org.trustedanalytics.sparktk.frame.internal.rdd.FrameRdd
import org.trustedanalytics.sparktk.frame.internal.{ FrameState, FrameSummarization, BaseFrame }
import org.apache.spark.sql.Row
trait CountSummarization extends BaseFrame {
/**
* Count the nu... |
<?php
require_once '../translations.php';
require_once '../mo.php';
function __($text, $domain = 'default') {
$translations = &get_translations($domain);
return $translations->translate($text);
}
function _e($text, $domain = 'default') {
$translations = &get_translations($domain);
echo $translations->translate(... |
import { useState, useEffect } from 'react';
import localforage from 'localforage';
import { currency } from 'components/Common/Ticker';
import {
convertBase64ToArrayBuffer,
convertArrayBufferToBase64,
} from 'utils/convertArrBuffBase64';
// return an Authentication Object
// OR null if user device does not su... |
package org.apache.lucene.analysis.pt;
import java.io.Reader;
import java.io.StringReader;
import org.apache.lucene.analysis.MockTokenizer;
import org.apache.lucene.analysis.TokenStream;
import org.apache.lucene.analysis.util.BaseTokenStreamFactoryTestCase;
/**
* Simple tests to ensure the Portuguese Light stem f... |
'use strict';
var deepMap = require('../../utils/collection/deepMap');
function factory (type, config, load, typed) {
var parse = load(require('../parse'));
/**
* Parse and compile an expression.
* Returns a an object with a function `eval([scope])` to evaluate the
* compiled expression.
*
* Synta... |
package java.nio;
/**
* ShortArrayBuffer implements short[]-based ShortBuffers.
*/
final class ShortArrayBuffer extends ShortBuffer {
private final short[] backingArray;
private final int arrayOffset;
private final boolean isReadOnly;
ShortArrayBuffer(short[] array) {
this(array.length, array, 0, f... |
"""Simple tests to showcase combiners.
The tests are meant to be "copy/paste" code snippets for the topic they address
(combiners in this case). Most examples use neither sources nor sinks.
The input data is generated simply with a Create transform and the output is
checked directly on the last PCollection produced.
"... |
#import "PFCloudCodeController.h"
#import "BFTask+Private.h"
#import "PFAssert.h"
#import "PFCommandResult.h"
#import "PFCommandRunning.h"
#import "PFDecoder.h"
#import "PFEncoder.h"
#import "PFInternalUtils.h"
#import "PFRESTCloudCommand.h"
@implementation PFCloudCodeController
///--------------------------------... |
namespace gin {
// FileRunnerDelegate is a simple RunnerDelegate that's useful for running
// tests. The FileRunnerDelegate provides built-in modules for "console" and
// "gtest" that are useful when writing unit tests.
//
// TODO(abarth): Rename FileRunnerDelegate to TestRunnerDelegate.
class FileRunnerDelegate : pub... |
<?php
namespace Symfony\Component\DependencyInjection\Tests\Loader;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Reference;
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
use Symfo... |
import {assertEqual, assertIndexInRange} from '../../util/assert';
import {assertHasParent} from '../assert';
import {attachPatchData} from '../context_discovery';
import {registerPostOrderHooks} from '../hooks';
import {TAttributes, TElementContainerNode, TNodeType} from '../interfaces/node';
import {isContentQueryHo... |
import tableDriverFactory from './Table.driver';
export const tablePrivateDriverFactory = args => {
const publicDriver = tableDriverFactory(args);
return {
...publicDriver,
exists: () => !!publicDriver.element,
getInnerHtml: () => publicDriver.element.innerHTML,
scrollHorizontallyTo: x =>
pub... |
package com.speedment.runtime.core.db;
import com.speedment.runtime.core.internal.manager.sql.SqlPredicateFragmentImpl;
import java.util.Collection;
import java.util.stream.Stream;
/**
*
* @author Per Minborg
* @since 2.1.0
*/
public interface SqlPredicateFragment {
String getSql();
SqlPredicateF... |
/*! UIkit 2.4.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
(function(addon) {
if (typeof define == "function" && define.amd) { // AMD
define("uikit-markdownarea", ["uikit"], function(){
return jQuery.UIkit.markdownarea ? jQuery.UIkit.markdownarea : addon(window, window.jQue... |
<?php
namespace Gwa\Wordpress\Template\Zero\Controller;
use Gwa\Wordpress\Template\Zero\Library\AbstractController;
/**
* Error404.
*
* @author GWA
*
*/
final class Error404 extends AbstractController
{
/**
* {@inheritdoc}
*/
public function getContext()
{
return ['posts' => $thi... |
cask 'switchresx' do
version '4.6.5'
sha256 :no_check # required as upstream package is updated in-place
url "https://www.madrau.com/data/switchresx/SwitchResX#{version.major}.zip"
name 'SwitchResX'
homepage 'https://www.madrau.com/'
prefpane 'SwitchResX.app/Contents/Resources/SwitchResX.prefPane'
unin... |
package water.api;
/**
*
*/
public class RegisterV3Api extends AbstractRegister {
@Override
public void registerEndPoints(RestApiContext context) {
// Data
context.registerEndpoint("createFrame",
"POST /3/CreateFrame", CreateFrameHandler.class, "run",
"Create a synthetic H2O Fram... |
<?php
/** @see Zend_Captcha_Base */
require_once 'Zend/Captcha/Base.php';
/** @see Zend_Crypt_Math */
require_once 'Zend/Crypt/Math.php';
/**
* Word-based captcha adapter
*
* Generates random word which user should recognise
*
* @category Zend
* @package Zend_Captcha
* @subpackage Adapter
* @copyright ... |
void setUp(void)
{
}
void tearDown(void)
{
}
void test_module_generator_needs_to_be_implemented(void)
{
TEST_IGNORE_MESSAGE("Implement me!");
}
|
fastqc=$PREFIX/opt/$PKG_NAME-$PKG_VERSION
mkdir -p $fastqc
cp -r ./* $fastqc
chmod +x $fastqc/fastqc
mkdir -p $PREFIX/bin
ln -s $fastqc/fastqc $PREFIX/bin/fastqc
|
cask :v1 => 'mercurymover' do
version :latest
sha256 :no_check
url 'http://www.heliumfoot.com/files/release/mercurymover/MercuryMover.dmg'
name 'MercuryMover'
homepage 'http://www.heliumfoot.com/mercurymover'
license :unknown # todo: change license and remove this comment; ':unknown' is a machine-genera... |
package org.knopflerfish.bundle.desktop.swing;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.GridLayout;
import java.awt.Point;
import java.awt.Rectangle;
import java.awt.SystemColor;
import java.awt.Toolkit;
impor... |
#pragma once
#include "abstracteditorfactory.h"
#include "propertymanager/intpropertymanager.h"
class ScrollBarFactoryPrivate;
class ScrollBarFactory : public AbstractEditorFactory<IntPropertyManager>
{
Q_OBJECT
public:
explicit ScrollBarFactory(QObject* parent = nullptr);
~ScrollBarFactory... |
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<!-- encoders are assigned the type
ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} ... |
package org.apache.camel.cdi;
import org.apache.camel.IsSingleton;
import org.apache.camel.spi.Injector;
import org.apache.camel.util.ReflectionInjector;
import org.apache.deltaspike.core.api.provider.BeanProvider;
/**
* Injector implementation which performs injection with CDI bean provider.
*/
public class CdiIn... |
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apa... |
安装不同的操作系统,使用相应的包管理工具进行安装。本文以`Ubuntu 14.10`为例。
```
$ sudo apt-get install apache2
```
启动apache服务,打开浏览器,确认出现Apache2 Ubuntu Default Page.
## 2. 配置Apache
### 1) Enable CGI mod
```
$ ls /etc/apache2/mods-enabled/ | grep cgi
$ sudo ln -s /etc/apache2/mods-available/cgid.load /etc/apache2/mods-enabled/
$ sudo ln ... |
<table role="grid" aria-labelledby="{{::uniqueId}}-title" aria-activedescendant="{{activeDateId}}">
<thead>
<tr>
<th><button type="button" class="btn btn-default btn-sm pull-left" ng-click="move(-1)" tabindex="-1"><i class="glyphicon glyphicon-chevron-left"></i></button></th>
<th colspan="3"><button i... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.... |
#ifndef UserAgentQt_h
#define UserAgentQt_h
#include <wtf/text/WTFString.h>
namespace WebCore {
class UserAgentQt {
public:
static String standardUserAgent(const String &applicationNameForUserAgent, unsigned int webkitMajorVersion, unsigned int webkitMinorVersion);
};
}
#endif // UserAgentQt_h
|
var path = require('path');
var test = require('tape');
var resolve = require('../');
test('#62: deep module references and the pathFilter', function (t) {
t.plan(9);
var resolverDir = path.join(__dirname, '/pathfilter/deep_ref');
var pathFilter = function (pkg, x, remainder) {
t.equal(pkg.version... |
local egg = ''
setup(function()
egg = egg..'S'
end)
teardown(function()
egg = egg..'T'
assert.equal('Sb1ab2aT', egg)
end)
before_each(function()
egg = egg..'b'
end)
after_each(function()
egg = egg..'a'
end)
it('file context before_each after_each egg test 1', function()
assert.equal('Sb', egg)
egg = ... |
#include "MockDb.h"
#include "Sample.h"
#include "is_regular.h"
#include <iostream>
#include <sqlpp11/functions.h>
#include <sqlpp11/insert.h>
int Insert(int, char*[])
{
MockDb db = {};
MockDb::_serializer_context_t printer = {};
const auto t = test::TabBar{};
// test::TabFoo f;
{
using T = decltype(i... |
package ru.job4j.departments;
import org.junit.Test;
import java.util.Arrays;
import java.util.List;
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;
public class DepartmentsTest {
@Test
public void whenMissed() {
List<String> input = Arrays.asList("K1/SK1");
... |
define([
'dojo/_base/declare', 'dijit/layout/BorderContainer', 'dojo/on',
'dojo/dom-class', 'dijit/layout/ContentPane', 'dojo/dom-construct',
'./PageGrid', './formatter', '../store/TranscriptomicsExperimentJsonRest', './GridSelector'
], function (
declare, BorderContainer, on,
domClass, ContentPane, domConstr... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Senparc.Weixin.Work.AdvancedAPIs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Senparc.Weixin.Work.Test.CommonApis;
namespace Senparc.Weixin.Work.AdvancedAPIs.Tests
{
[TestClass()... |
ALTER TABLE person DROP COLUMN id;
|
using Machine.Specifications;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MFlow.Core.Tests.for_Conditions
{
public class when_calling_then_true_conditions : given.an_if_or_condition_evaluating_to_false
{
static bool executed;
Because of = ()... |
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); ... |
module VersionsHelper
# Find the list of tabs for the popup when editing a node. To add a tab for some document class,
# create a file named '_ClassName.rhtml' in the folder 'app/views/templates/edit_tabs'.
def form_tabs
tabs = ['text', 'title']
klass = nil
@node.class.ancestors.map { |a| a.to_s.down... |
import { IconDefinition, IconPrefix, IconName } from "@fortawesome/fontawesome-common-types";
export const definition: IconDefinition;
export const faFilm: IconDefinition;
export const prefix: IconPrefix;
export const iconName: IconName;
export const width: number;
export const height: number;
export const ligatures: ... |
CKEDITOR.plugins.setLang( 'scayt', 'sr', {
btn_about: 'About SCAYT',
btn_dictionaries: 'Dictionaries',
btn_disable: 'Disable SCAYT',
btn_enable: 'Enable SCAYT',
btn_langs:'Languages',
btn_options: 'Options',
text_title: 'Spell Check As You Type' // MISSING
});
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>lazy-pcf: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... |
#include "test.h"
#include <fcntl.h>
#include "testutil.h"
#include "warnless.h"
#include "memdebug.h"
#define TEST_HANG_TIMEOUT 60 * 1000
/* 3x download!
* 1. normal
* 2. dup handle
* 3. with multi interface
*/
int test(char *URL)
{
CURL *handle = NULL;
CURL *duphandle = NULL;
CURLM *mhandle = NULL;
... |
/****** Object: StoredProcedure [GetClosestLocations] Script Date: 07/10/2015 09:02:24 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[GetClosestLocations]') AND type in (N'P', N'PC'))
DROP PROCEDURE [GetClosestLocations]
GO
/****** Object: StoredProcedure [GetClosestLocations] Scr... |
<?php
namespace Symfony\Component\DependencyInjection\Tests\Fixtures;
class BarTagClass
{
public static function getDefaultFooName()
{
return 'bar_tag_class';
}
public static function getFooBar()
{
return 'bar_tab_class_with_defaultmethod';
}
}
|
<html>
<head>
<script>
function run() {
var kPolicy = 1;
var kPort = 2;
var kSslPort = 3;
var kRedirect = 4;
var kLink = 5;
var kTarget = 6;
var re = new RegExp(
/policy=(.*)&port=(.*)&ssl_port=(.*)&redirect=(.*)&link=(.*)&target=(.*)/);
var matches = re.exec(document.location.search);
if (matc... |
/**
* CreativeAssetBase.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
*/
package com.google.api.ads.dfa.axis.v1_19;
public abstract class CreativeAssetBase implements java.io.Serializable {
private long advertiserId;
private bool... |