answer stringlengths 15 1.25M |
|---|
OC.L10N.register(
"comments",
{
"Cancel" : "Zrušiť",
"Save" : "Uložiť",
"Comment" : "Komentár"
},
"nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);"); |
using Xunit;
using Xunit.Extensions;
namespace Humanizer.Tests.Localisation.bnBD
{
public class NumberToWordsTests : AmbientCulture
{
public NumberToWordsTests() : base("bn-BD") { }
[InlineData(0, "শূন্য")]
[InlineData(1, "এক")]
[InlineData(10, "দশ")]
[InlineData(11, "এগা... |
#include "Osc.h"
#include "cinder/Log.h"
using namespace std;
using namespace asio;
using namespace asio::ip;
using namespace std::placeholders;
// Following code snippets were taken from
#ifndef htons
#define htons(n) (((((uint16_t)(n) & 0xFF)) << 8) | (((uint16_t)(n) & 0xFF00) >> 8))
#endif
#ifndef ntohs
#define ntoh... |
import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fillOpacity=".3" d="M15.67 4H14V3c0-.55-.45-1-1-1h-2c-.55 0-1 .45-1 1v1H8.33C7.6 4 7 4.6 7 5.33V9h4.93l.13-.24c.24-.45.94-.28.94.24h4V5.33C17 4.6 16.4 4 15.67 4z" /><path d="M13 12.5h1.17c... |
#ifndef SITSTAMP_H
#define SITSTAMP_H
#include "dcmtk/config/osconfig.h"
#include "dcmtk/dcmsign/sitypes.h"
#ifdef WITH_OPENSSL
class DcmItem;
/** pure virtual base class for a timestamp client.
* Instances of derived classes are able to request timestamps from a timestamp service.
* Timestamps are not supported (y... |
<?php
namespace Grav\Plugin;
use Grav\Common\Page\Collection;
use Grav\Common\Plugin;
use Grav\Common\Uri;
use Grav\Common\Page\Page;
use Grav\Common\Page\Types;
use Grav\Common\Taxonomy;
use Grav\Common\Utils;
use Grav\Common\Data\Data;
use RocketTheme\Toolbox\Event\Event;
class SimplesearchPlugin extends Plugin
{
... |
# <API key>: true
require 'spec_helper'
RSpec.describe 'shared/projects/_project.html.haml' do
let_it_be(:project) { create(:project) }
before do
allow(view).to receive(:<API key>).and_return(Gitlab::CurrentSettings.<API key>)
allow(view).to receive(:can?) { true }
end
it 'renders creator avatar if proj... |
use crate::relay_directive::RelayDirective;
use graphql_ir::{
FragmentDefinition, FragmentSpread, InlineFragment, OperationDefinition, Program, ScalarField,
Selection, Transformed, Transformer, VariableDefinition,
};
use indexmap::map::Entry;
use intern::string_key::StringKeyIndexMap;
use schema::Schema;
use st... |
#ifndef <API key>
#define <API key>
#include <vector>
#include "base/containers/scoped_ptr_hash_map.h"
#include "base/files/file_path.h"
#include "base/memory/scoped_ptr.h"
namespace base {
class DictionaryValue;
}
namespace asar {
class ScopedTemporaryFile;
// This class represents an asar package, and provides method... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
namespace LinqToDB.DataProvider
{
using Common;
using Data;
using Linq;
using Mapping;
using SqlQuery;
using SqlProvider;
public class BasicMerge
{
protected class... |
package hudson.plugins.warnings.parser;
import java.io.IOException;
import java.io.Reader;
import java.io.Serializable;
import java.util.Collection;
import java.util.Locale;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang3.StringEscapeUtils;
import org.jvnet.localizer.Localizable;
import huds... |
.rtop,.artop{display:block}
.rtop *,.artop *{display:block;height:1px;overflow:hidden;font-size:1px}
.artop *{border-style: solid;border-width:0 1px}
.r1,.rl1,.re1,.rel1{margin-left:5px}
.r1,.rr1,.re1,.rer1{margin-right:5px}
.r2,.rl2,.re2,.rel2,.ra1,.ral1{margin-left:3px}
.r2,.rr2,.re2,.rer2,.ra1,.rar1{margin-right:3px... |
require File.dirname(__FILE__) + '/../../spec_helper'
require File.dirname(__FILE__) + '/fixtures/classes'
describe "Kernel.respond_to?" do
it "indicates if a singleton object responds to a particular message" do
class KernelSpecs::Foo; def self.bar; 'done'; end; end
KernelSpecs::Foo.respond_to?(:bar).should ... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OfficeDevPnP.PartnerPack.Infrastructure.Jobs
{
<summary>
Provides extension methods for Provisioning Jobs
</summary>
public static class J... |
export default (theme) => ({
root: {
theme.flexRowCenter,
alignItems: 'center',
cursor: 'pointer',
height: '200px',
width: '300px',
margin: theme.spacing(0.5),
padding: theme.spacing(1.3),
overflow: 'hidden'
},
newIcon: {
width: '6rem',
height: '6rem',
transition: 'all ... |
using System.Collections.Generic;
namespace Fitbit.Models
{
public class WaterData
{
public List<WaterLog> Water { get; set; }
public WaterSummary Summary { get; set; } //amount of LIQUIDS units in the selected unit system
}
} |
package com.viesis.viescraft.common.utils.events;
import com.viesis.viescraft.common.entity.airshipcolors.EntityAirshipBaseVC;
import com.viesis.viescraft.init.InitAchievementsVC;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.common.gameevent.TickEvent;
public class <AP... |
class Solution:
"""
@param A : a list of integers
@param target : an integer to be searched
@return : a list of length 2, [index1, index2]
"""
def searchRange(self, A, target):
# write your code here
res = []
l, r = 0, len(A) - 1
while l <= r:
m = (l +... |
<?php
namespace Fuel\Migrations;
class Create_posts
{
public function up()
{
\DBUtil::create_table('posts', array(
'id' => array('constraint' => 11, 'type' => 'int', 'auto_increment' => true),
'title' => array('constraint' => 255, 'type' => 'varchar'),
'slug' => array... |
'use strict';
var xml2js = require('xml2js');
var ejs = require('ejs');
var Session = require('./session');
var List = require('./list');
var WXBizMsgCrypt = require('wechat-crypto');
var tpl = ['<xml>',
'<ToUserName><![CDATA[<%-toUsername%>]]></ToUserName>',
'<FromUserName><![CDATA[<%-fromUsername%>]]></FromUs... |
'use strict';
var rimraf = require('rimraf');
var expect = require('expect');
function cleanup(glob) {
return function(cb) {
this.timeout(20000);
expect.restoreSpies();
if (!glob) {
return cb();
}
rimraf(glob, cb);
};
}
module.exports = cleanup; |
package org.knowm.xchange.gemini.v1;
import java.io.IOException;
import java.util.List;
import org.knowm.xchange.BaseExchange;
import org.knowm.xchange.<API key>;
import org.knowm.xchange.currency.CurrencyPair;
import org.knowm.xchange.exceptions.ExchangeException;
import org.knowm.xchange.gemini.v1.service.<API key>;
... |
<?php
namespace Symfony\Component\PropertyInfo\Extractor;
use Symfony\Component\PropertyInfo\<API key>;
use Symfony\Component\PropertyInfo\<API key>;
use Symfony\Component\PropertyInfo\<API key>;
use Symfony\Component\PropertyInfo\PropertyReadInfo;
use Symfony\Component\PropertyInfo\<API key>;
use Symfony\Component\Pro... |
#ifndef <API key>
#define <API key>
#include "CEGUI/falagard/Dimensions.h"
#include "CEGUI/Window.h"
#include "CEGUI/ColourRect.h"
namespace CEGUI
{
//! Common base class used for renderable components within an ImagerySection.
class CEGUIEXPORT <API key>
{
public:
<API key>();
virtual ~<API key>();
/*!
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<base href="../../" />
<script src="list.js"></script>
<script src="page.js"></script>
<link type="text/css" rel="stylesheet" href="page.css" />
</head>
<body>
<h1>[name]</h1>
<div class=... |
import {
Uniform
} from '../../../src/Three';
export const FXAAShader: {
uniforms: {
tDiffuse: Uniform;
resolution: Uniform;
};
vertexShader: string;
fragmentShader: string;
}; |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http:
<html>
<head>
<title>Minim : : Damp : : printInputs</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="stylesheet.css" rel="stylesheet" type="text/css">
</head>
<body>
<center>
<table class="mainTable">
<tr... |
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
display: block;
}
audio,
canvas,
video {
display: inline-block;
}
audio:not([controls]) {
display: none;
height: 0;
}
[hidden],
template {
display: none;
}
html {
font-family: sans-serif;
-ms-text-size-a... |
{% if doc.members.length or doc.newMember or doc.callMember %}
<section class="member-members">
<h2>Members</h2>
{% if doc.newMember %}
<div class="new-member">
<a id="{$ doc.newMember.name $}"></a>
<code-example hideCopy="true">{$ doc.newMember.name $}{$ params.paramList(doc.newMember.parameters) |... |
#!/bin/bash
FN="LRBase.Ath.eg.db_1.2.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.10/data/annotation/src/contrib/LRBase.Ath.eg.db_1.2.0.tar.gz"
"https://bioarchive.galaxyproject.org/LRBase.Ath.eg.db_1.2.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-lrbase.ath.eg.db/bioconductor-lrbase.... |
require 'rubygems'
require 'nats/client'
def usage
puts "Usage: pub.rb <user> <pass> <subject> <msg>"; exit
end
user, pass, subject, msg = ARGV
usage unless user and pass and subject
# Default
msg ||= 'Hello World'
uri = "nats://#{user}:#{pass}@localhost:#{NATS::DEFAULT_PORT}"
NATS.on_error { |err| puts "Server Error... |
#ifndef <API key>
#define <API key>
#include "cgeGLFunctions.h"
#include <list>
namespace CGE
{
class TextureDrawer;
class CGEMotionFlowFilter : public <API key>
{
public:
CGEMotionFlowFilter();
~CGEMotionFlowFilter();
bool init();
void setTotalFrames(int frames);
... |
package com.github.cleverage.elasticsearch;
import org.elasticsearch.search.facet.Facets;
import java.util.List;
/**
* The Class IndexResult.
*
* @param <T> extends Index
*/
public class IndexResults<T extends Index> {
/** The total count. */
public long totalCount;
/**
* Nb result by page
*/
... |
(function (tree) {
tree.Quoted = function (str, content, escaped, i) {
this.escaped = escaped;
this.value = content || '';
this.quote = str.charAt(0);
this.index = i;
};
tree.Quoted.prototype = {
toCSS: function () {
if (this.escaped) {
return this.value;
} else {
... |
// Sprites.h
// Guy Simmons, 13th February 1997.
#ifndef _SPRITES_H_
#define _SPRITES_H_
#ifndef _MF_TYPES_H_
#include <MFTypes.h>
#endif
#define END_LINE 0x00
#define COPY_PIXELS 0x01
#define SKIP_PIXELS 0x02
#define DUPLICATE_PIXELS 0x03
... |
// QRCode for JavaScript
// The word "QR Code" is registered trademark of
// DENSO WAVE INCORPORATED
var QR8bitByte = require('./QR8bitByte');
var QRUtil = require('./QRUtil');
var QRPolynomial = require('./QRPolynomial');
var QRRSBlock = require('./QRRSBlock');
var QRBitBuffer = require('./QRBitBuffer');
function QRCo... |
CKEDITOR.plugins.setLang( 'toolbar', 'af', {
toolbarCollapse: 'Verklein werkbalk',
toolbarExpand: 'Vergroot werkbalk',
toolbarGroups: {
document: 'Document',
clipboard: 'Clipboard/Undo',
editing: 'Editing',
forms: 'Forms',
basicstyles: 'Basic Styles',
paragrap... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>three.js WebGL - MDDLoader</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<link type="text/css" rel="stylesheet" href="main.css">
</head>
... |
import React from 'react'
import styled from 'styled-components'
import {Flex, Image, Box} from 'rebass'
import cliLogo from '../images/cli-logo.svg'
import {Link} from 'gatsby'
import {NavLink, BasicNavLink} from './links'
import MobileSidebar from '../components/MobileSidebar'
import hamburger from '../images/hamburg... |
\[\stkc{
%% UId
\Rule{\Gamma \vdash \Valid}
{\Gamma \vdash \Type{\UId}}
\qquad
%% Tag
\Rule{\Gamma \vdash \Valid}
{\Gamma \vdash \Bhab{\Tag{\V{s}}}{\UId}}\;\V{s} \mbox{ unique identifier}
\\
%% EnumU
\Rule{\Gamma \vdash \Valid}
{\Gamma \vdash \Type{\EnumU}}
\qquad
%% EnumT
\Rule{\Gamma \vdash \Bhab{\V{e}... |
import Ember from 'ember';
export default Ember.Route.extend({
model: function() {
return Ember.A([
{ userName: 'jane', role: 'admin', disabledGender: false, admin: true },
{ userName: 'john', role: 'guest', disabledGender: true, admin: false }
]);
}
}); |
<?php
/**
* @namespace
*/
namespace Zend\Json\Server;
use Zend\Json\Server\Exception\<API key>,
Zend\Json\Server\Exception\RuntimeException;
class SMD
{
const ENV_JSONRPC_1 = 'JSON-RPC-1.0';
const ENV_JSONRPC_2 = 'JSON-RPC-2.0';
const SMD_VERSION = '2.0';
/**
* Content type
* @var stri... |
<?php
namespace Sonata\ProductBundle\Entity;
use Sonata\Component\Product\ProductInterface;
class ProductSetManager extends ProductManager
{
/**
* Deletes a product
*
* @param ProductInterface $productSet
* @param bool $andFlush
*
* @throws \RuntimeException
*/
pub... |
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
namespace Site.Areas.Conference.Pages {
public partial class Conference {
<summary>
Register control.
... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Member #6 Bookmarks</title>
<script>
pixiv.context.userId = '6';
</script>
</head>
<body>
<div class="_unit action-unit">
<div class="column-label">
<span class="count-badge">1234</span>
</div>
<nav class="column-order-menu">
... |
package org.owasp.appsensor;
import org.owasp.appsensor.core.AppSensorClient;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.<API key>;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springfram... |
var util = require('util'),
<API key> = require('../util/<API key>'),
errors = require('../errors'),
Text = require('./Text');
function Json(config) { // Avoid clobbering the global JSON object
Text.call(this, config);
}
util.inherits(Json, Text);
<API key>(Json.prototype, {
contentType: 'applicatio... |
#include <unistd.h>
#include <errno.h>
#include <sys/select.h>
extern "C" {
#include "./LinkedList.h"
#include "./LinkedList_priv.h"
}
#include "./test_suite.h"
#include "./test_linkedlist.h"
namespace hw1 {
// static
LLPayload_t Test_LinkedList::kOne = (LLPayload_t)1;
LLPayload_t Test_LinkedList::kTwo = (LLPayload... |
declare module 'time-limit-promise' {
export default function (promise: Promise<any>, timeout: number, options?: { resolveWith: any } | { rejectWith: any }): Promise<any>;
} |
<?php
?>
<!DOCTYPE html>
<html lang="en"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<title><?php echo(getName()); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="... |
Copyright (c) 2016 Mycolorway Design
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, s... |
// package method implements http method override
// using the <API key> http header.
package method
import (
"errors"
"net/http"
)
// <API key> is a commonly used
// Http header to override the method.
const <API key> = "<API key>"
// <API key> is a commonly used
// HTML form parameter to override the method.
... |
# -*- coding: utf-8 -*-
from concurrent.futures import ThreadPoolExecutor
from requests import Session
from requests.adapters import DEFAULT_POOLSIZE, HTTPAdapter
class FuturesSession(Session):
def __init__(self, executor=None, max_workers=2, session=None, *args,
**kwargs):
"""Creates a Fut... |
$(document).ready(function () {
var canvas = document.getElementById('canvas'),
ctx = canvas.getContext('2d'),
w = canvas.width,
h = canvas.height,
level = 1;
var Food = function () {
this.x = Math.floor(Math.random() * (w - snake.size) / snake.size);
this.y = Mat... |
<!DOCTYPE html>
<html xmlns="http:
<head>
<meta charset="utf-8"></meta>
<meta name="generator" content="JsDoc Toolkit"></meta>
<title>enchant.gl.Framebuffer | JsDoc Reference</title>
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;"></meta>
... |
<?php
namespace spec\Sylius\Bundle\RbacBundle\Provider;
use PhpSpec\ObjectBehavior;
use Sylius\Component\Rbac\Model\IdentityInterface;
use Sylius\Component\Rbac\Provider\<API key>;
use Symfony\Component\Security\Core\Authentication\Token\AnonymousToken;
use Symfony\Component\Security\Core\Authentication\Token\Storage\<... |
mod directives;
use super::<API key>;
use crate::util::{remove_directive, replace_directive};
use common::{Diagnostic, DiagnosticsResult, NamedItem, WithLocation};
pub use directives::{DeferDirective, StreamDirective};
use graphql_ir::{
Argument, ConstantValue, Directive, Field, FragmentDefinition, FragmentSpread, ... |
/*!
* \file vx_examples.h
* \brief A header of example functions.
* \author Erik Rainey <erik.rainey@gmail.com>
*
* \defgroup group_example OpenVX Examples
* \brief A series of examples of how to use the OpenVX API.
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <VX/vx.h>
#include <VX/... |
# coding=utf-8
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import numpy as np
import numba
from src_legacy.fourier_series.buffer.ringbuffer import Ringbuffer
@numba.vectorize(nopython=True)
def legendre_recursion(n,... |
<?php
namespace Webmozart\KeyValueStore\Tests;
/**
* @since 1.0
*
* @author Bernhard Schussek <bschussek@gmail.com>
* @author Titouan Galopin <galopintitouan@gmail.com>
*/
abstract class <API key> extends <API key>
{
/**
* @expectedException \Webmozart\KeyValueStore\Api\ReadException
*/
abstract... |
'use strict';
/**
* Sets up a ProjectManager
*
* @module aws/projectInit
*/
const awsProjectManager = require('./projectManager');
const makePromiseApi = require('../util').makePromiseApi;
const https = require('https');
/**
* @returns {Q.Promise}
*/
function initAwsProject(config) {
const a = require('aws-sdk'... |
#!/bin/bash
FN="RTCGA.clinical_20151101.16.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.10/data/experiment/src/contrib/RTCGA.clinical_20151101.16.0.tar.gz"
"https://bioarchive.galaxyproject.org/RTCGA.clinical_20151101.16.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-rtcga.clinical/bioc... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http:
<html>
<head>
<title>Minim : : FFT : : LANCZOS</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="stylesheet.css" rel="stylesheet" type="text/css">
</head>
<body>
<center>
<table class="mainTable">
<tr>
... |
<!-- #docregion -->
<h1>Angular Router</h1>
<nav>
<a routerLink="/crisis-center" routerLinkActive="active">Crisis Center</a>
<a routerLink="/heroes" routerLinkActive="active">Heroes</a>
</nav>
<div [@routeAnimation]="getAnimationData()">
<router-outlet></router-outlet>
</div> |
YUI.add('<API key>', function(Y) {
var suite = new Y.Test.Suite("Graphics: Set Shape Fill And Stroke"),
ShapeTestTemplate,
parentDiv = Y.DOM.create('<div id="testdiv" style="width: 400px; height: 400px;">'),
DOC = Y.config.doc;
DOC.body.appendChild(parentDiv);
ShapeTestTemplate = function(cfg, globalCfg) {
... |
// QQ 2069798977
// <summary>
// The services.
// </summary>
namespace AvenLab
{
<summary>
The services.
</summary>
public enum Service
{
<summary>
</summary>
OcrKingForPassages,
<summary>
PDF
</summary>
OcrKingForPDF,
<summary>
... |
require 'test_helper'
class PageTagTest < ActiveSupport::TestCase
# test "the truth" do
# assert true
# end
end |
// ViewController.h
// CustomNavCPopGestureRecognizer
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end |
<?php
namespace Payum\Core\Registry;
use Payum\Core\Extension\StorageExtension;
use Payum\Core\Gateway;
use Payum\Core\GatewayInterface;
class SimpleRegistry extends AbstractRegistry
{
/**
* @var boolean[]
*/
protected $<API key>;
/**
* @deprecated since 1.3.3 and ill be removed in 2.x. It is... |
#include <common.h>
#include <malloc.h>
#include <dm.h>
#include <dm/platform_data/serial_sh.h>
#include <asm/processor.h>
#include <asm/mach-types.h>
#include <asm/io.h>
#include <linux/errno.h>
#include <asm/arch/sys_proto.h>
#include <asm/gpio.h>
#include <asm/arch/rmobile.h>
#include <asm/arch/rcar-mstp.h>
#include... |
#ifndef DCMQRCBS_H
#define DCMQRCBS_H
#include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */
#include "dcmtk/dcmnet/dimse.h"
#include "dcmtk/dcmqrdb/qrdefine.h"
class <API key>;
class <API key>;
class DcmFileFormat;
/** this class maintains the context information that is pass... |
// copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation
// and/or sell copies of the Software, and to permit persons to whom the
// Software is furnished to do so, subject to the following conditions:
// all copies o... |
// by DotNetNuke Corporation
// documentation files (the "Software"), to deal in the Software without restriction, including without limitation
// to permit persons to whom the Software is furnished to do so, subject to the following conditions:
// of the Software.
// TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A... |
require 'rouge/plugins/redcarpet'
module Banzai
module Filter
# HTML Filter to highlight fenced code blocks
class <API key> < HTML::Pipeline::Filter
include Rouge::Plugins::Redcarpet
def call
doc.search('pre > code').each do |node|
highlight_node(node)
end
doc
... |
<?php
namespace queryfacade;
use pocketmine\plugin\PluginBase;
use queryfacade\command\QueryFacadeCommand;
use queryfacade\event\QueryFacadeListener;
class QueryFacade extends PluginBase{
/** @var int */
private $playerCount = 0;
/** @var int */
private $maxPlayerCount = 0;
/** @var \pocketmine\Play... |
package integrationtest
import (
"bytes"
"errors"
"fmt"
"io"
"math"
"os"
"testing"
"time"
random "github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-random"
context "github.com/ipfs/go-ipfs/Godeps/_workspace/src/golang.org/x/net/context"
"github.com/ipfs/go-ip... |
.clearfix::after {
clear: both;
display: block;
content: "";
height: 0;
}
.hide-by-clipping {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
}
.fr-quick-insert {
position: absolute;
z-index: 2147483639;
white-spac... |
//Target
/*
<label>
<input type="checkbox"><span class="ripple"></span><span class="check"></span> Checkbox
</label>
*/
var builder = require('focus').component.builder;
var React = require('react');
var type = require('focus').component.types;
var <API key> = require('../../mixin/<API key>');
var toggleMixin = {
... |
#!/bin/bash
FN="hu35ksubbprobe_2.18.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.12/data/annotation/src/contrib/hu35ksubbprobe_2.18.0.tar.gz"
"https://bioarchive.galaxyproject.org/hu35ksubbprobe_2.18.0.tar.gz"
"https://depot.galaxyproject.org/software/<API key>/<API key>.18.0_src_all.tar.gz"
"https://d... |
title: Docs - Debugging
layout: docs
tags: ['docs','debugging','how to']
# Debugging
<blockquote>
<strong>Key Points</strong>
<ul>
<li>
View the browser's console window to see Durandal's activity.
</li>
<li>
Use <code>system.log(...)</code> or <code>system.error(...)</code> for application ... |
* {
border-radius: 0 !important;
}
a,
a:focus,
a:hover,
a:active,
button,
button:hover {
outline: 0 !important;
}
a:focus {
text-decoration: none;
}
hr {
margin: 30px 0;
}
hr.hr-xs {
margin: 10px 0;
}
hr.hr-md {
margin: 20px 0;
}
hr.hr-lg {
margin: 40px 0;
}
/*Headings*/
h1 {
font-size: 28px;
line-h... |
# Installation
> `npm install --save @types/marked`
# Summary
This package contains type definitions for Marked (https://github.com/chjj/marked).
# Details
Files were exported from https:
Additional Details
* Last updated: Mon, 19 Sep 2016 17:28:59 GMT
* File structure: Mixed
* Library Dependencies: none
* Module D... |
package play.test;
import org.junit.After;
import org.junit.Before;
/**
* Provides a server and browser to JUnit tests
*/
public class WithBrowser extends WithServer {
protected TestBrowser browser;
/**
* Override this if you want to use a different browser
*
* @return a new test browser
*... |
.yui3-cssfonts body,.yui3-cssfonts{font:13px/1.231 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small}.yui3-cssfonts select,.yui3-cssfonts input,.yui3-cssfonts button,.yui3-cssfonts textarea{font:99% arial,helvetica,clean,sans-serif}.yui3-cssfonts table{font-size:inherit;font:100%}.yui3-cssfonts pre,.yui3-... |
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Umbraco.Cms.Web.BackOffice.Security;
namespace Umbraco.Cms.Web.BackOffice.Authorization
{
<summary>
Ensures the resource cannot be accessed if <see cref="<API key>.HasDenyLocalLogin"/> returns true.
</summary>
public class <AP... |
#ifndef <API key>
#define <API key>
#include <stdint.h>
#include "webrtc/base/stringencode.h"
// Define platform specific window types.
#if defined(WEBRTC_LINUX) && !defined(WEBRTC_ANDROID)
typedef unsigned long Window; // Avoid include <X11/Xlib.h>.
#elif defined(WEBRTC_WIN)
// We commonly include win32.h in webrtc/b... |
<!DOCTYPE html>
<html>
<head>
<title>404 | Flatty - Flat Administration Template</title>
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
<meta content='text/html;charset=utf-8' http-equiv='content-type'>
<meta content='Flat administration templat... |
<?php get_header(); ?>
<div class="col-md-9 single">
<div class="col-md-9 single-in">
<?php if (have_posts()) :?><?php while(have_posts()) : the_post(); ?>
<?php $video = get_post_meta($post->ID, 'fullby_video', true );
if($video != '') {?>
<di... |
#include <common.h>
#include <asm/arch/pinmux.h>
#include <asm/arch/power.h>
#include <asm/arch/clock.h>
#include <asm/arch/gpio.h>
#include <asm/gpio.h>
#include <asm/arch/cpu.h>
#include <dm.h>
#include <power/pmic.h>
#include <power/regulator.h>
#include <power/max77686_pmic.h>
#include <errno.h>
#include <mmc.h>
#i... |
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace Microsoft.Azure.Management.ApiManagement
{
using Microsoft.Rest;
using Microsoft.Rest.Azure;
using Microsoft.... |
class CreateScripts < ActiveRecord::Migration
def change
create_table :scripts do |t|
t.string :file
t.integer :jem_id
t.timestamps
end
end
end |
# <API key>: true
require "listen"
module Jekyll
module Watcher
extend self
# Public: Continuously watch for file changes and rebuild the site
# whenever a change is detected.
# If the optional site argument is populated, that site instance will be
# reused and the options Hash ignored. Otherwise,... |
import { FrontSide, BackSide, DoubleSide, RGBAFormat, NearestFilter, PCFShadowMap, RGBADepthPacking, NoBlending } from '../../constants.js';
import { WebGLRenderTarget } from '../WebGLRenderTarget.js';
import { MeshDepthMaterial } from '../../materials/MeshDepthMaterial.js';
import { <API key> } from '../../materials/<... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading;
using NUnit.Framework;
using Umbraco.Cms.Core;
using Umbraco.Cms.Core.Events;
using Umbraco.Cms.Core.Models;
using Umbraco.Cms.Core.Scoping;
using Umbraco.Cms.Core.Services;
using Umbraco.Cms.Core.Service... |
import app from '../../../js/app';
import { expect } from 'chai';
import { describe, it, before } from 'mocha';
import Service from '../../../js/models/listing/Service';
describe('the Service model', () => {
before(function () {
// creating a dummy polyglot t function, so our
// model doesn't bomb. It's not c... |
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* HTTP Authentication plugin for phpMyAdmin.
* NOTE: Requires PHP loaded as a Apache module.
*
* @package <API key>
* @subpackage HTTP
*/
namespace PMA\libraries\plugins\auth;
use PMA\libraries\plugins\<API key>;
use PMA\libraries\Message;
use PMA\libraries\R... |
define(['backbone'], function (Backbone) {
var channel = _.extend({}, Backbone.Events);
return channel;
}); |
import React, { PropTypes, Component } from 'react';
import { graphql } from 'react-apollo';
import gql from 'graphql-tag';
import { getFragment, getFragmentName } from 'meteor/vulcan:core';
export default function withDocument (options) {
const { collection, pollInterval = 20000 } = options,
queryName = opti... |
using System;
using Microsoft.Extensions.Logging;
using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Umbraco.Cms.Core.Models.PublishedContent;
using Umbraco.Extensions;
namespace Umbraco.Cms.Core.PropertyEditors.ValueConverters
{
<summary>
The default converter for all property editors ... |
/*!
* ignore
*/
'use strict';
const assert = require('assert');
const mquery = require('mquery');
/**
* Helper for multiplexing promise implementations
*
* @api private
*/
const store = {
_promise: null
};
/**
* Get the current promise constructor
*
* @api private
*/
store.get = function() {
return store.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.