text stringlengths 3 1.05M |
|---|
/*
* This file is subject to the terms of the GFX License. If a copy of
* the license was not distributed with this file, you can obtain one at:
*
* http://ugfx.org/license.html
*/
#include "gfx.h"
#if GFX_USE_GAUDIO && GAUDIO_NEED_PLAY
/* Include the driver defines */
#include "src/gaudio/gaudio_d... |
package main
import (
"fmt"
"net/http"
"github.com/dgrijalva/jwt-go"
"github.com/gorilla/context"
)
var myHandler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
user := context.Get(r, "user")
fmt.Fprintf(w, "This is an authenticated request")
fmt.Fprintf(w, "Claim content:\n")
for k, v := ... |
#include <irtkGenericRegistrationFilter.h>
#include <irtkGenericRegistrationDebugger.h>
#include <irtkTransformation.h>
#include <irtkImageSimilarity.h>
#ifdef HAS_VTK
#include <vtkSmartPointer.h>
#include <vtkPoints.h>
#include <vtkShortArray.h>
#include <vtkFloatArray.h>
#include <vtkPointData.h>
#include <vtkStr... |
//
// Copyright 2015 Blu Age Corporation - Plano, Texas
//
// 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
//
// Un... |
package org.aesh.util;
import org.aesh.AeshRuntimeRunner;
import org.aesh.command.registry.CommandRegistryException;
import org.aesh.util.graal.GraalReflectionCommand;
/**
* @author <a href="mailto:stalep@gmail.com">Ståle Pedersen</a>
*/
public class GraalReflectionGenerator {
public static void main(String[] ... |
test:
swift build
.build/debug/Specs
|
import java.util.List;
import java.util.ArrayList;
import parcs.*;
public class DFS implements AM {
public void run(AMInfo info) {
Node n = (Node)info.parent.readObject();
System.out.println("[" + n.getId() + "] Build started.");
List<point> points = new ArrayList<>();
Li... |
package org.apache.nifi.event.transport.netty;
import io.netty.bootstrap.AbstractBootstrap;
import io.netty.bootstrap.Bootstrap;
import io.netty.bootstrap.ServerBootstrap;
import io.netty.buffer.UnpooledByteBufAllocator;
import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelHandler;
import io.netty.ch... |
friend class test_case_name##_##test_name##_Test
#endif // FRIEND_TEST
#endif // MOZC_TESTING_BASE_PUBLIC_GUNIT_PROD_H_
|
from setuptools import setup, find_packages
with open('requirements.txt') as f:
required = f.read().splitlines()
setup(
name='tbc',
version='0.1.6',
packages=find_packages('src'),
package_dir={'': 'src'},
test_suite='tbc',
url='https://github.com/alexeykarnachev/telegram-bot-constructor',
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mi-cho-coq: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.... |
/* solicitudes/getol/GET - Obtiene Likes */
'use strict';
var express = require('express');
var url = require('url'), qs = require('querystring'), _ = require('lodash'), http = require('http'), https = require('https');
var perm_at = 'access_token=CAAEdYZBfZAiQQBAMBUfQRMGz7JZA9mYGl2CHTGkYiuiksY5pUopVA5ziakb81qHxpDbZAso... |
// Copyright 2015 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.
package org.chromium.chrome.browser.ntp;
import org.chromium.base.metrics.RecordHistogram;
import org.chromium.base.metrics.RecordUserAction;
import org.... |
import constants from "../../../constants";
import reducer from "./success";
import test from "ava";
var config = {
key: constants.DEFAULT_KEY,
resourceName: "users"
};
var subject = constants.REDUCER_NAMES.UPDATE_SUCCESS;
function getCurrent() {
return [
{
id: 1,
name: "Blue",
unsaved: t... |
package com.elnware.spotifystreamer.util;
import android.app.Activity;
import android.support.v4.app.ActivityCompat;
import android.view.View;
import android.view.ViewTreeObserver;
/**
* Created by elnoxvie on 6/30/15.
*/
public class TransitionUtils {
/**
* Schedule the start postponed Enter Transtion
*... |
(function() {
'use strict';
app.controller('initController', function ($scope, $location, githubService, authService) {
$scope.goRepo = function () {
var parts = $scope.repo.split('/'),
user = parts[0],
repo = parts[1];
githubService
.getContributions(user, repo)
... |
ICON_SRC=../../src/qt/res/icons/bitcoin.png
ICON_DST=../../src/qt/res/icons/pawn.ico
convert ${ICON_SRC} -resize 16x16 bitcoin-16.png
convert ${ICON_SRC} -resize 32x32 bitcoin-32.png
convert ${ICON_SRC} -resize 48x48 bitcoin-48.png
convert bitcoin-16.png bitcoin-32.png bitcoin-48.png ${ICON_DST}
|
package com.checkline.dpro;
import java.io.IOException;
import gnu.io.CommPort;
import gnu.io.CommPortIdentifier;
import gnu.io.SerialPort;
public class SerialConnector {
protected SerialManager serialManager;
protected SerialPort thePort = null;
protected CommPortIdentifier selectedIndentifier = null;
protect... |
require 'active_admin'
require 'active_support/concern'
require "active_admin_sortable/engine"
require "active_admin_sortable/dsl"
module ActiveAdminSortable
end
|
var express = require('express');
var router = express.Router();
var db = require('../lib/javascripts/db.js');
var cookieSession = require('cookie-session');
var fs = require('fs');
/* GET home page. */
router.get('/', function(req, res, next) {
res.render('index', { title: 'Express' });
});
router.get('/api/image... |
using SEV.Domain.Model;
using SEV.Domain.Services.Data;
namespace SEV.DAL.EF
{
public class EFRelationshipsStripper<TEntity> : IRelationshipsStripper<TEntity> where TEntity : Entity
{
private readonly IEFRelationshipManagerFactory m_factory;
private IEFRelationshipManager<TEntity> m_manager;
... |
$script:SPDscUtilModulePath = Join-Path -Path $PSScriptRoot -ChildPath '..\..\Modules\SharePointDsc.Util'
Import-Module -Name $script:SPDscUtilModulePath
function Get-TargetResource
{
[CmdletBinding()]
[OutputType([System.Collections.Hashtable])]
param
(
[Parameter(Mandatory = $true)]
[... |
/*jslint sub: true */
var p = HelperDef.prototype;
exp(p,
"auraType", p.auraType,
"getFunctions", p.getFunctions
);
|
package org.demidenko05.android.chromatography.model;
public class SeriesBody extends AbstractHasSeries {
private double time;
private double value;
private Analyte analyte;
private int injection;
public double getTime() {
return time;
}
public void setTime(double time) {
this.time = time;
}
public doubl... |
namespace feature_engagement {
class Configuration;
struct EventConfig;
struct FeatureConfig;
// A EventStorageValidator that uses the FeatureConfig as the source of truth.
class FeatureConfigEventStorageValidator : public EventStorageValidator {
public:
FeatureConfigEventStorageValidator();
~FeatureConfigEventSt... |
import csv
import itertools
import operator
import numpy as np
import nltk
import sys
import os
import time
from datetime import datetime
from utils import *
from rnn_theano import RNNTheano
_VOCABULARY_SIZE = int(os.environ.get('VOCABULARY_SIZE', '8000'))
_HIDDEN_DIM = int(os.environ.get('HIDDEN_DIM', '80'))
_LEARNIN... |
import { take, put, call, fork, select, all, takeLatest, takeEvery } from 'redux-saga/effects'
import options from 'template-tools/src/utils/options'
import valueActions from '../value/actions'
import consoleUtils from '../../utils/console'
const isResponseJson = (res) => res.headers['content-type'].indexOf('applicat... |
<?php
namespace backend\widgets\AjaxMultiSelectWidget;
use Yii;
use yii\helpers\Html;
use yii\helpers\Json;
use yii\widgets\InputWidget;
/**
* AjaxMultiselect renders a [Plygant ajax Multiselect widget]
*/
class AjaxMultiSelect extends InputWidget
{
/**
* @var array data for generating the list options (value=>... |
define(
[
'ko',
'Omise_Payment/js/view/payment/omise-offsite-method-renderer',
'Magento_Checkout/js/view/payment/default',
'Magento_Checkout/js/model/quote',
],
function (
ko,
Base,
Component,
quote
) {
'use strict';
return... |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=CP850" http-equiv="Content-Type" />
<title>File: port_... |
from sklearn.linear_model import RidgeCV
from sklearn.model_selection import train_test_split
from sklearn.externals import joblib
import numpy as np
import matplotlib.pyplot as plt
import os
data = np.loadtxt(fname = 'data.txt', delimiter = ',')
X, y = data[:,:5], data[:,5]
print(X)
print(y)
m = X.shape[0] #number ... |
<?php
/**
* spyFormBuilderInterface actions.
*
* @package AELF
* @subpackage spyFormBuilderInterface
* @author Your name here
* @version SVN: $Id: actions.class.php 2288 2006-10-02 15:22:13Z fabien $
*/
class spyFormBuilderInterfaceTemplateActions extends autospyFormBuilderInterfaceTemplateA... |
package main
import (
"log"
"os/exec"
"github.com/kopwei/goovs"
)
func main() {
client, err := goovs.GetOVSClient("unix", "")
if err != nil {
log.Println(err.Error())
return
}
brName := "br-dummy"
internalPortName := "port-dummy"
internalPortTag := 10
peerPortNameOnDummyBr := "to-peer"
peerBrName := ... |
package sk.homisolutions.shotbox.snem.simplecamera.gopro;
import org.apache.log4j.Logger;
import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.client.WebTarget;
import javax.ws.rs.core.Response;
/**
* Created by homi on 10/9/16.
*/
public class GoProSetupHelper {
priva... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... |
package suonos.models;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import javax.inject.Inject;
import suonos.app.utils.FilesUtils;
import suonos.models.media.MetaDataFolder;
import suonos.models.media.PlayableStoreObject;
import suonos.models.music.... |
package HxCKDMS.HxCLinkPads.Client.Models;
import HxCKDMS.HxCLinkPads.Reference;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.client.model.AdvancedModelLoader;
import net.minecraftforge.client.model.IModelCustom;
@S... |
package DDG::Goodie::Ascii;
# ABSTRACT: ASCII
use DDG::Goodie;
triggers end => "ascii";
primary_example_queries '0110100001100101011011000110110001101111 to ascii';
description 'convert binary data to readable characters';
name 'Ascii';
code_url 'https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DD... |
"""
Task
You are given a string S.
Your task is to find the indices of the start and end of string k in S.
Input Format
The first line contains the string S.
The second line contains the string k.
Constraints
0<len(S)<100
0<len(k)<len(S)
Output Format
Print the tuple in this format: (start _index, end _index).
If ... |
@ECHO OFF
REM Command file for Sphinx documentation
if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set BUILDDIR=_build
set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% .
set I18NSPHINXOPTS=%SPHINXOPTS% .
if NOT "%PAPER%" == "" (
set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%
set I18N... |
#ifndef CYGWINTRANSSERVICE_HPP
#define CYGWINTRANSSERVICE_HPP
#include <xercesc/util/TransService.hpp>
#include <xercesc/util/RefHashTableOf.hpp>
#include <windows.h>
XERCES_CPP_NAMESPACE_BEGIN
class CPMapEntry;
//---------------------------------------------------------------------------
//
// class CygwinTr... |
game.EnemyCreep = me.Entity.extend({
init: function(x, y, settings){
this._super(me.Entity, 'init', [x, y, {
image: "creep1",
width: 32,
height: 64,
spritewidth: "32",
spriteheight: "64",
getShape: function(){
return (new me.Rect(0, 0, 32, 64)).toPolygon();
}
}]);
this.health = game.dat... |
CSS3-gallery
============
A gallery made with CSS3 for nice effects. Very simple to implement and use with, for example, a backend system throwing out pictures randomly.
## Installation
All you have to do is take a look at index.html and how the pictures there are formatted. The rest (skewing of pictures randomly an... |
<html>
<head>
<title>Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.7; xx; rv:1.9.2.26) Gecko/20120128 NokiaN95</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons"... |
package org.fcrepo.auth.webac;
import static com.hp.hpl.jena.graph.NodeFactory.createURI;
import static com.hp.hpl.jena.rdf.model.ModelFactory.createDefaultModel;
import static org.apache.jena.riot.Lang.TTL;
import static org.fcrepo.auth.webac.URIConstants.WEBAC_ACCESS_CONTROL_VALUE;
import static org.fcrepo.auth.web... |
**Komoju driver for the Omnipay PHP payment processing library**
[](https://travis-ci.org/dannyvink/omnipay-komoju)
[](https://packagist.org/packages/vink/omnipa... |
/* $Id$ $Revision$ */
/* vim:set shiftwidth=4 ts=8: */
/*************************************************************************
* Copyright (c) 2011 AT&T Intellectual Property
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.... |
package monix.catnap
import java.util.concurrent.Executors
import minitest.SimpleTestSuite
import cats.effect.IO
import cats.implicits._
import monix.execution.atomic.Atomic
import scala.concurrent.{ CancellationException, ExecutionContext }
import scala.concurrent.duration._
object CatsEffectIssue380Suite extends ... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using NUnit.Framework;
namespace NServiceKit.OrmLite.Tests
{
/// <summary>A sqlite ORM lite dialect provider tests.</summary>
[TestFixture]
public class SqliteOrmLiteDialectProviderTests
{
... |
using Microsoft.Azure.Documents;
using Microsoft.Azure.Documents.Linq;
using Microsoft.Azure.Documents.Client;
using System;
using System.Linq;
using System.Threading.Tasks;
using System.IO;
using Newtonsoft.Json;
namespace DocumentDB.Features
{
public static class DocumentDBExtensionMethods
{
public ... |
<!-- Footer Start -->
<footer>
<div class="container text-center">
<p>Copyright © {{ site.author }} {{ site.time | date: "%Y" }}</p>
{% if site.keybase-in-footer %}
<p style="font-size: 16px;"><a href="https://keybase.io/{{site.keybase-username}}" target="_blank"><i
cla... |
export {ExampleComponent} from './example.component';
|
layout: post
title: "LKTIN 2016 Onsonar UNP Kediri"
excerpt: "Mahasiswa merupakan produk dari pendidikan tinggi yang menghasilkan lulusan yang mempunyai sikap kecendekiawanan. Sikap tersebut meliputi sikap sebagai penemu, pemadu, penerap, serta sebagai pengembang IPTEKS. Untuk itu, mahasiswa yang merupakan salah satu ... |
package com.rackspacecloud.blueflood.cache;
import com.google.common.collect.ImmutableTable;
import com.rackspacecloud.blueflood.io.CassandraModel;
import com.rackspacecloud.blueflood.io.CassandraModel.MetricColumnFamily;
import com.rackspacecloud.blueflood.io.Constants;
import com.rackspacecloud.blueflood.rollup.Gr... |
FROM mcr.microsoft.com/windows/servercore:1809-amd64 AS installer
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
# Install ASP.NET Core Runtime
ENV ASPNETCORE_VERSION 2.1.23
RUN Invoke-WebRequest -OutFile aspnetcore.zip https://dotnetcli.azureedge.net/d... |
<component name="libraryTable">
<library name="Maven: com.github.spullara.mustache.java:compiler:0.8.13">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/com/github/spullara/mustache/java/compiler/0.8.13/compiler-0.8.13.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/com/githu... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... |
using namespace std;
namespace MosesTraining
{
// handling of domain names: load database with sentence-id / domain name info
void Domain::load( const std::string &domainFileName )
{
Moses::InputFileStream fileS( domainFileName );
istream *fileP = &fileS;
string line;
while(getline(*fileP, line)) {
// rea... |
require 'test/unit'
require 'kayako_client'
class TestPost < Test::Unit::TestCase
def test_post_methods
test = KayakoClient::TicketPost.new
assert_raise NotImplementedError do
test.put
end
end
def test_post_ticket_api
assert KayakoClient::TicketPost.included_mo... |
<?php
namespace CheckTimer\UserBundle\Form;
use Symfony\Component\Form\FormBuilder;
class UserRegistrationType extends AbstractUserType
{
/**
* {@inheritDoc}
*/
public function buildForm(FormBuilder $builder, array $options)
{
parent::buildForm($builder, $options);
$builder
... |
//global window, GS, ml, xtag, evt, ace, doT, CryptoJS, encodeHTML, Worker
//global addSnippet, addElement, addFlexProps, addCheck, addText, addSelect
//global addControlProps, addFlexContainerProps, addProp
//global addAttributeSwitcherProp, addGSControlProps, addCornerRoundProps
//global addIconProps
//jslint browser... |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* @fileoverview Useful abstraction when speaking messages.
*
* Usage:
* $m('role_link')
* .andPause()
* .andMessage('role_forms')
* .speakFlush();
*
*/
goog.prov... |
title: Transform Your Bitcoin Into Cold, Hard Cash
date: 2017-08-30T14:10:00+08:00
author: Josh Habdas
author_profile: false
comments: false
share: false
categories:
- finance
tags:
- cryptocurrency
- bitcoin
- ethereum
- lifehacks
link: https://hackcabin.com/post/transform-bitcoin-cold-hard-cash/
header:
t... |
<?php
namespace Transit;
use Transit\Test\TestCase;
use \Exception;
class MimeTypeTest extends TestCase {
/**
* Test that addSubType() creates sub-types.
*/
public function testAddSubType() {
MimeType::addSubType('img', array('gif', 'png', 'jpg', 'jpeg'));
$this->assertTrue(MimeType::isS... |
package com.google.cloud.dialogflow.v2.samples;
// [START dialogflow_v2_generated_versionsclient_listlocations_paged_async]
import com.google.cloud.dialogflow.v2.VersionsClient;
import com.google.cloud.location.ListLocationsRequest;
import com.google.cloud.location.ListLocationsResponse;
import com.google.cloud.loca... |
using Microsoft.AspNetCore.Mvc;
using OnlineWallet.Web.Modules.GeneralDataModule.Models;
using OnlineWallet.Web.Modules.GeneralDataModule.Queries;
namespace OnlineWallet.Web.Modules.GeneralDataModule
{
[Route("api/v1/[controller]")]
public class CategoryController : Controller
{
#region Fields
... |
/* Czech initialisation for the jQuery UI multiselect plugin. */
/* Written by Michi (michi.m@gmail.com). */
(function ( $ ) {
$.extend($.ech.multiselect.prototype.options, {
checkAllText: 'Vybrat vše',
uncheckAllText: 'Zrušit výběr',
noneSelectedText: 'Nic není vybráno',
selectedText: '# vybráno'
});... |
import { moduleForModel, test } from 'ember-qunit';
moduleForModel('achievement', 'Unit | Model | achievement', {
// Specify the other units that are required for this test.
needs: []
});
test('it exists', function(assert) {
var model = this.subject();
// var store = this.store();
assert.ok(!!model);
});
|
namespace Js
{
bool OpCodeUtil::IsPrefixOpcode(OpCode op)
{
return op <= OpCode::ExtendedLargeLayoutPrefix && op != OpCode::EndOfBlock;
}
bool OpCodeUtil::IsSmallEncodedOpcode(OpCode op)
{
return op <= Js::OpCode::MaxByteSizedOpcodes;
}
uint OpCodeUtil::EncodedSize(OpCode op... |
body {
padding-top: 50px;
padding-bottom: 20px;
}
.flash {
background-color: #98FB98;
width:100%;
text-decoration: none;
}
.flash li {
list-style-type: none;
text-align: center;
}
.category-item-layout .category-list {
border-right-style: solid;
border-right-width: 2px;
bord... |
include("${CMAKE_CURRENT_LIST_DIR}/protobuf-options.cmake")
# Depend packages
# Imported targets
include("${CMAKE_CURRENT_LIST_DIR}/protobuf-targets.cmake")
# CMake FindProtobuf module compatible file
if(protobuf_MODULE_COMPATIBLE)
include("${CMAKE_CURRENT_LIST_DIR}/protobuf-module.cmake")
endif()
|
require 'rack-sparklines/cachers/abstract'
require 'fileutils'
class Rack::Sparklines
module Cachers
# Reads sparkline data from CSV files. Only the first line of numbers are
# read. Requests for "/sparks/stats.csv" will pass a data_path of "stats.csv"
class Memory < Abstract
attr_accessor :spar... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>statsmodels.discrete.discrete_model.CountResults.remove_data — statsmodels v0.10.2 documentation</title>
<link rel="stylesheet" href="../_static/nature.css" type="text/css" />
<link rel="styleshee... |
export class Lightning
{
time = null;
latitude = null;
longitude = null;
constructor(json = null)
{
if(json !== null && typeof json === 'object'){
if('time' in json){
this.time = json.time;
}
if('latitude' in json){
this.latitude = json.latitude;
}
if('longitude' in json){... |
<?xml version="1.0" encoding="UTF-8" ?>
<class name="RigidBody3D" inherits="PhysicsBody3D" version="4.0">
<brief_description>
Physics Body whose position is determined through physics simulation in 3D space.
</brief_description>
<description>
This is the node that implements full 3D physics. This means that you ... |
(function () {
function findInShadows(target, shadowRoots, searchContext) {
if (shadowRoots.length === 0) {
return Array.from(searchContext.querySelectorAll(target));
}
const nextSelector = shadowRoots[0];
const otherSelectors = shadowRoots.slice(1);
const nextInnerShadowRoots = Array.from(... |
//creates the attributes select box for all 3 of these: modify, query fields section & condition section
function createAttributeSelect(forCondition, modifying){
var newSelect = document.createElement("select");
var name;
var newDiv = document.createElement("div");
if(forCondition){
... |
#pragma once
#include <aws/apigateway/APIGateway_EXPORTS.h>
#include <aws/core/AmazonSerializableWebServiceRequest.h>
#include <aws/core/utils/UnreferencedParam.h>
#include <aws/core/http/HttpRequest.h>
#include <aws/core/AmazonStreamingWebServiceRequest.h>
namespace Aws
{
namespace APIGateway
{
class AWS_APIGATE... |
<?xml version="1.0"?>
<!--
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceBlock name="checkout.onepage.review.item.renderers">
<block class="Magento\Bundle\Block\Check... |
from nose.tools import * # noqa (PEP8 asserts)
from tests.base import OsfTestCase
from website.addons.dropbox.tests.factories import (
DropboxUserSettingsFactory,
DropboxNodeSettingsFactory,
DropboxAccountFactory
)
from website.addons.dropbox.model import DropboxNodeSettings
from website.addons.base impor... |
<?php
namespace DCarbone\PHPFHIRGenerated\DSTU2\PHPFHIRTests\FHIRElement;
use PHPUnit\Framework\TestCase;
use DCarbone\PHPFHIRGenerated\DSTU2\FHIRElement\FHIRUri;
/**
* Class FHIRUriTest
* @package \DCarbone\PHPFHIRGenerated\DSTU2\PHPFHIRTests\FHIRElement
*/
class FHIRUriTest extends TestCase
{
public functi... |
#pragma once
#include "targetver.h"
#include <stdio.h>
#include <tchar.h>
// TODO: Hier auf zusätzliche Header, die das Programm erfordert, verweisen.
|
module Settings
FIREFOX = :firefox
DEFAULT_BROWSER = FIREFOX
def self.browser
@browser ||= get_browser
end
def self.get_browser
b = ENV['browser']
if b && b.respond_to?(:to_sym)
b.to_s
else
DEFAULT_BROWSER
end
end
def self.app_name
'DCC12 Cucumber Example'
end
... |
package com.njackson;
import java.util.UUID;
/**
* Created by server on 28/06/2014.
*/
public class Constants {
public static final UUID WATCH_UUID = java.util.UUID.fromString("5dd35873-3bb6-44d6-8255-0e61bc3b97f5");
public static final int LAST_VERSION_PEBBLE = 332;
public static final int MIN_VERSIO... |
// Copyright 2015-2022 Bret Jordan, All rights reserved.
//
// Use of this source code is governed by an Apache 2.0 license that can be
// found in the LICENSE file in the root of the source tree.
package attackpattern
// ----------------------------------------------------------------------
// Public Methods
// ----... |
<?php
namespace mirolabs\phalcon\Framework\Container;
class ServiceDecorator
{
private $serviceInstance;
/**
* @var \ReflectionObject
*/
private $reflection;
public function __construct($serviceInstance)
{
$this->serviceInstance = $serviceInstance;
... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Patellaria subvigilans Müll. Arg.
### Remarks
null |
package org.docksidestage.sqlserver.dbflute.cbean.cq.bs;
import java.util.Map;
import org.dbflute.cbean.*;
import org.dbflute.cbean.chelper.*;
import org.dbflute.cbean.coption.*;
import org.dbflute.cbean.cvalue.ConditionValue;
import org.dbflute.cbean.sqlclause.SqlClause;
import org.dbflute.exception.IllegalCondition... |
<!--
Copyright 2014 Siyuan Wang (easy0519@gmail.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/LICENSE-2.0
Unless required by applicable law or ag... |
namespace UnitTests
{
public enum Feature
{
Image,
Location,
Preferences,
}
}
|
@(level: Double)@viewsupport.level.format(level) |
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="./bulma.css">
<link rel... |
<?php
// http://ipinfodb.com/ip_location_api.php for tracking ip to geolocation?
require_once("config.inc.php");
$channelpage_url = "";
if($enable_mod_rewrite)
$channelpage_url = $sgtube_root."/c/";
else
$channelpage_url = $sgtube_root."/channel.php?c=";
$channel_exists = false;
$channel_error = false;
$ch... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- foreground -->
<color name="fg_significant">#ff000000</color>
<color name="fg_less_significant">#ff666666</color>
<color name="fg_insignificant">#ffbbbbbb</color>
<color name="fg_value_positive">#ff008000</color>
<color name="fg_value_nega... |
<!DOCTYPE html>
<html ng-app="RSSFeedApp">
<head>
<title>NEWS - READER</title>
<link rel="stylesheet" type="text/css" href="assets/css/materialize.css">
<script type="text/javascript" src="js/angular.min.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Pyxine meissneri var. subobscurascens Malme
### Remarks
null |
package org.springframework.jdbc.core.namedparam;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.springframework.dao.InvalidDataAccessApiUsageExce... |
/*
package org.apache.taverna.lang.uibuilder;
import java.awt.BorderLayout;
import java.awt.event.FocusEvent;
import java.awt.event.FocusListener;
import java.lang.reflect.Constructor;
import java.util.Properties;
import javax.swing.event.DocumentEvent;
import javax.swing.event.DocumentListener;
import javax.swing.... |
all: samples
# Include system configuration
top_srcdir = ..
include $(top_srcdir)/config/config.mk
# ******************************************************************************
# Source files
# Add source files of sample programs to this list
BINSRC = addmoddel.cpp \
conntest.cpp \
... |
package org.jbpm.designer.web.server;
import java.io.IOException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.s... |