text stringlengths 3 1.05M |
|---|
using NUnit.Framework;
using Transition.Compiler;
using Transition.Compiler.AstNodes;
using Transition.Actions;
namespace Tests.Compiler
{
[TestFixture]
public class MachineGeneratorTests
{
private MachineAstNode _machineNode;
private MachineGenerator<TestMachineContext> _generator;
[SetUp]... |
@echo off
set compiler="C:\Program Files\IronPython 2.7"
set root="C:\Documents and Settings\happz\Desktop\settlers-notify\"
rem Compile
%compiler%\ipy.exe %compiler%\Tools\Scripts\pyc.py /out:settlers-notify /target:winexe /main:settlers-notify.py /platform:x86
rem Copy resource files
del /s /q %root%\dist
mkdir %r... |
const {debug, log, ERROR} = require('../debug')('server')
const path = require('path')
const fs = require('fs')
class Server {
constructor (root, port, host) {
this.root = root
debug('root is',root)
this.host = host ||
process.env.VUETAL_API_HOST||
process.env.HOST ||
process.env.npm_p... |
all:
gcc -o test test.c bubble_sort.c bubble_sort.h
clean:
rm -f ./test
|
// Copyright 2014 The ChromeOS IME Authors. All Rights Reserved.
// limitations under the License.
// See the License for the specific language governing permissions and
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// distributed under the License is distributed on an "AS-IS" BASIS,
// Un... |
def piggy(word):
# Magic Happens Here
pig = word
# Ignore previous line
return pig
# Open the file *getty.txt* for reading.
# Open a new file *piggy.txt* for writing.
# Read the getty.txt file into a string.
# Strip out bad characters (, - .).
# Split the string into a list of words.
# Create a ... |
using namespace c4html;
|
namespace gcm {
namespace {
// The default heartbeat when on a mobile or unknown network .
const int kCellHeartbeatDefaultMs = 1000 * 60 * 28; // 28 minutes.
// The default heartbeat when on WiFi (also used for ethernet).
const int kWifiHeartbeatDefaultMs = 1000 * 60 * 15; // 15 minutes.
// The default heartbeat ack... |
% start: template for headers and footer info that need to be adde in each pade that includes a section
\chead{\textit{IT-University of Copenhagen} \rangle SSEQ-E2013 \rangle \textbf{Group:} 10 Danish Travel card \rangle \textbf{ID:} 54 \rangle Responsible: All}
\cfoot{\textbf{Hand-in date:} \today \rangle \textbf{S... |
package org.elasticsearch.common.inject;
import org.elasticsearch.common.inject.spi.Element;
import org.elasticsearch.common.inject.spi.Elements;
import org.elasticsearch.common.inject.spi.LinkedKeyBinding;
import org.elasticsearch.common.inject.spi.ProviderInstanceBinding;
import org.elasticsearch.test.ESTestCase;
... |
#include "ABI42_0_0InspectorInterfaces.h"
#include <mutex>
#include <tuple>
#include <unordered_map>
namespace ABI42_0_0facebook {
namespace ABI42_0_0React {
// pure destructors in C++ are odd. You would think they don't want an
// implementation, but in fact the linker requires one. Define them to be
// empty so ... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Web;
namespace GroupDocs.Annotation.AspNetMvc.Products.Common.Util.Comparator
{
public class FileNameComparator : IComparer<string>
{
/// <summary>
/// Compare file name... |
/* @flow */
import React, { Component } from 'react';
import {
View,
Text,
StyleSheet,
} from 'react-native';
export default class SettlementAddressList extends Component {
render() {
return (
<View style={styles.container}>
<Text>I'm the SettlementAddressList component</Text>
</View>
... |
<script type="text/javascript" src="<?php base_url(); ?>assets/js/jquery-3.0.0.min.js"></script>
<script type="text/javascript" src="<?php base_url(); ?>assets/js/angular.min.js"></script>
<script type="text/javascript" src="<?php base_url(); ?>assets/js/bootstrap.min.js"></script> |
/***************************************************//**
* @file OBPSetFastBufferingEnableExchange.cpp
* @date February 2017
* @author Ocean Optics, Inc.
*
* LICENSE:
*
* SeaBreeze Copyright (C) 2017, Ocean Optics Inc
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of... |
def zoneConcentration(shp_gdf, raw, pntLst, bufr=None):
from downloading_funcs import addr_shape, down_extract_zip
import pandas as pd
import geopandas as gpd
pnt = pntLst[0]
pnt_isCalled = pntLst[1]
for url in pnt:
if url[-3:] == 'zip':
pnt = url
asser... |
#import "UIView.h"
@class UILabel;
@interface MPClosedCaptionDisplay : UIView
{
UILabel *_label;
UIView *_backgroundView;
_Bool _hidden;
_Bool _rotating;
}
- (void).cxx_destruct;
- (void)setText:(id)arg1;
- (void)_updatePositioning:(_Bool)arg1;
- (void)setNeedsLayout;
- (void)endLayoutChange;
- (vo... |
package com.opengamma.web.user;
import java.net.URI;
import javax.ws.rs.core.UriInfo;
import org.apache.shiro.session.Session;
import org.apache.shiro.subject.Subject;
import com.opengamma.core.user.UserProfile;
import com.opengamma.util.ArgumentChecker;
import com.opengamma.util.auth.AuthUtils;
/**
* Wrapper of... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<HTML style="overflow:auto;">
<HEAD>
<meta name="generator" content="JDiff v1.1.0">
<!-- Generated by the JDiff Javadoc doclet -->
<!-- (http://www.jdiff.org) -->
<meta name="description" content="JDiff is a Javadoc doclet which ... |
#include "postgres.h"
#include "catalog/catalog.h"
#include "cdb/cdbvars.h"
#include "commands/vacuum.h"
#include "executor/execdesc.h"
#include "executor/executor.h"
#include "foreign/foreign.h"
#include "miscadmin.h"
#include "nodes/makefuncs.h"
#include "nodes/plannodes.h"
#include "parser/parsetree.h"
#include "p... |
#ifndef GUI_H
#define GUI_H
#include <curses.h>
/* Functions */
void initgui();
void destroygui();
void initDimensions(int maxX, int maxY);
void initRegisterPageLayout();
void displayNextRegisterPage();
void displayPreviousRegisterPage();
void refreshRegisterDisplay();
void printMemory(WINDOW** win, int y, int x, int... |
namespace clang {
namespace ast_matchers {
using clang::tooling::buildASTFromCodeWithArgs;
using clang::tooling::newFrontendActionFactory;
using clang::tooling::runToolOnCodeWithArgs;
using clang::tooling::FrontendActionFactory;
using clang::tooling::FileContentMappings;
class BoundNodesCallback {
public:
virtual ~... |
"use strict";
// Based on:
// https://medium.com/opinionated-angularjs/angular-model-objects-with-javascript-classes-2e6a067c73bc
// http://javascriptweblog.wordpress.com/2010/06/07/understanding-javascript-prototypes/
// http://www.webdeveasy.com/angularjs-data-model/
// http://www.htmlgoodies.com/beyond/javascrip... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__wchar_t_listen_socket_w32_spawnv_68a.c
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-68a.tmpl.c
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: listen_socket Read data ... |
from bottle import run, post, get
from bottle import run, get, template,request, route, static_file, response
from time import gmtime, strftime
import time
import string
import random
import json
import urllib2
import urllib
#####################################
########## ASSETS ROUTING ###########
#################... |
namespace arrow {
class Decimal128;
class ARROW_EXPORT Decimal128Builder : public FixedSizeBinaryBuilder {
public:
using TypeClass = Decimal128Type;
explicit Decimal128Builder(const std::shared_ptr<DataType>& type,
MemoryPool* pool ARROW_MEMORY_POOL_DEFAULT);
using FixedSizeBinar... |
package rootio
import "reflect"
type attfill struct {
color int16
style int16
}
func (a *attfill) UnmarshalROOT(r *RBuffer) error {
if r.err != nil {
return r.err
}
start := r.Pos()
vers, pos, bcnt := r.ReadVersion()
myprintf("attfill-vers=%v\n", vers)
a.color = r.ReadI16()
a.style = r.ReadI16()
r.Chec... |
#region License
#endregion
namespace EtwLogger.Helpers
{
/// <summary>
/// StringHelper
/// </summary>
public static class StringHelper
{
/// <summary>
/// Removes the spaces.
/// </summary>
/// <param name="value">The value.</param>
/// <r... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
use crate::core::bits::Bits;
use crate::core::instruction::{Instruction, LoadAndStoreMultipleParams};
use crate::core::operation::get_reglist;
use crate::core::register::Reg;
#[allow(non_snake_case)]
#[inline(always)]
pub fn decode_STM_t1(opcode: u16) -> Instruction {
let regs = get_reglist(opcode & 0b111_1111);
... |
PACKAGE_NAME=vise
#PACKAGE_VERSION is configurable can be passed as an argument.
PACKAGE_VERSION=${1:-v3.1.1}
PACKAGE_URL=https://github.com/hapijs/vise.git
yum install -y yum-utils git jq
NODE_VERSION=v12.22.4
#installing nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
source ~/.b... |
require "nabokov/commands/syncers/localizations_repo_syncer"
require "nabokov/git/git_repo"
require "nabokov/helpers/merger"
require "nabokov/helpers/informator"
describe Nabokov::LocalizationsRepoSyncer do
before(:each) do
allow(STDOUT).to receive(:puts)
end
it "is not an abstract command" do
expect(Na... |
@interface ViewController ()
@end
@implementation ViewController
@synthesize scannerView, statusText;
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
// Set verbose logging to YES so we can see exactly what's going on
[scannerView s... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
package com.readlearncode.async;
import java.util.Objects;
/**
* Source code github.com/readlearncode
*
* @author Alex Theedom www.readlearncode.com
* @version 1.0
*/
public class AuditEvent {
public enum Priority { HIGH, LOW }
public AuditEvent() {
}
public AuditEvent(String message, Priority... |
layout: post
title: "What happened to Operations?"
date: 2016-07-26 15:22:42 +0100
categories: platform
---
Operations is dead! Long live Operations!
To an extent this may be true but it is important to remember that if you are providing a service,
knowing the status of that service and ensuring it is
running opti... |
<?php
include "test_schema.inc";
$schema = <<<EOF
<complexType name="testType">
<complexContent>
<restriction base="enc12:Array" xmlns:enc12="http://www.w3.org/2003/05/soap-encoding">
<all>
<element name="x_item" type="int" maxOccurs="unbounded"/>
</all>
</restriction>
</complexContent>
<... |
from . import protocol
from . import constants
from . import utils
import datetime
from .lists import ListMember, Owner
from .errors import *
class User(Owner):
Registerable = 0
Active = 1
HalfRegistered = 2
Deleted = 3
NotRegisterable = 4
Enrolled_Registerable = 5
Enrolled_NonRegisterable ... |
require "action_dispatch/http/parameter_filter"
module ActionDispatch
module Http
# Allows you to specify sensitive parameters which will be replaced from
# the request log by looking in the query string of the request and all
# sub-hashes of the params hash to filter. Filtering only certain sub-keys
... |
using System;
using StackExchange.Redis;
using Swartz.Caching;
using Swartz.Environment.Configuration;
using Swartz.Environment.Extensions;
using Swartz.Redis.Configuration;
using Swartz.Redis.Extensions;
using Swartz.Services;
namespace Swartz.Redis.Caching
{
[SwartzSuppressDependency("Swartz.Caching.Services.De... |
package io.clickhandler.web.materialUiGwt.client.styles.theme;
import jsinterop.annotations.JsType;
@JsType(isNative = true)
public class TabsMuiTheme {
public String textColor;
} |
using System;
using System.Collections.Generic;
namespace RevStackCore.AuthorizeDotNet
{
internal class ANetBaseCreateTransactionResponse
{
public string RefId { get; set; }
public ANetCreateResponseMessages Messages { get; set; }
}
}
|
package com.alibaba.otter.canal.client.adapter.tablestore;
import com.alibaba.otter.canal.client.adapter.support.FileName2KeyMapping;
import com.alibaba.otter.canal.client.adapter.support.Util;
import java.util.*;
import java.util.concurrent.*;
import java.util.stream.Collectors;
import com.alibaba.otter.canal.clien... |
set -e
set -u
set -o pipefail
set -x
LINTER="cpplint.py"
if ! [ -x "$(command -v ${LINTER})" ]; then
echo "Error: ${LINTER} not found. Add it to the PATH or get it first at https://github.com/google/styleguide" >&2
exit 1
fi
find "$(git rev-parse --show-toplevel)/src" -type f \( -iname \*.h -o -iname \*.cc \) -pr... |
import os
import shutil
import time
import threading
import yaml
from datetime import timedelta
from random import randrange
from celery import shared_task
from celery.utils.log import get_task_logger
from django.utils import timezone
from dashboard.constants import (
TS_JOB_TYPES, BRANCH_MAPPING_KEYS, WEBLATE_... |
package org.jpox.samples.types.linkedhashset;
import java.io.Serializable;
import java.util.Random;
import org.jpox.samples.types.container.CollectionHolder;
/**
* Container object for join HashSet tests.
*
* @version $Revision: 1.1 $
*/
public class LinkedHashSet1 implements CollectionHolder
... |
#ifndef MSOUTLOOKRESPONSETYPE_H
#define MSOUTLOOKRESPONSETYPE_H
#import <Foundation/Foundation.h>
/** Enum MSOutlookResponseTypeEnum
*
*/
typedef NS_ENUM(NSInteger, MSOutlookResponseType) {
/** Enum entry MSOutlookResponseTypeNone
* */
MSOutlookResponseTypeNone,
/** Enum entry M... |
layout: page
title: Spielort
permalink: /spielort/
rank: 80
---

### Adresse:
```
Stadtteilzentrum "Mittendrin",
Friedrich-Eggers-Str. 77 - 79,
22880 Wedel
```
### Hinweis für unsere Besucher
Mit dem ÖPNV erreichen sie uns mit der Buslinie 189. Die Autofahrer sollten ... |
package uk.ac.ebi.spot.goci.service;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.runners.MockitoJUnitRunner;
import uk.ac.ebi.spot.goci.builder.EventBuilder;
import uk.ac.ebi.spot.goci.builder.SecureUserBuilder;
import uk.ac.ebi.spot.goci... |
// This file configures a web server for testing the production build
// on your local machine.
import browserSync from 'browser-sync';
import historyApiFallback from 'connect-history-api-fallback';
import {chalkProcessing} from './chalkConfig';
/* eslint-disable no-console */
console.log(chalkProcessing('Opening pr... |
package io.github.jarvisjin.finexpr.token;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Stack;
import io.github.jarvisjin.finexpr.expr.ExprException;
import io.github.jarvisjin.finexpr.operator.Operator;
/**
* Shunting-yard algorithm https://en.wikipedia.org/wiki/Shunti... |
#include "dataset.h"
#ifdef LATTE_BUILD_MPI
#include "../communication/comm.h"
#endif
Dataset::Dataset(char* data_file_name, int _batch_size, bool _shuffle, bool _use_mpi, bool divide_by_rank) {
#ifdef LATTE_BUILD_MPI
int rank;
if (_use_mpi) {
MPI_Comm_rank(get_inter_net_comm(), &rank);
debug... |
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang=""> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]... |
package main
import (
"bytes"
"fmt"
)
type ExitRule struct {
Address []byte
Port uint16
Action bool
V6 bool
}
type ExitPolicy struct {
// The "zero value" of this struct is a "reject *:*"
Rules []ExitRule
DefaultAction bool
}
func (ep *ExitPolicy) AllowsConnect(addr []byte, port uint16) bo... |
import logging
import re
import sys
import unittest
from unittest.mock import call, patch
import pytest
import airflow
from airflow.providers_manager import ProviderInfo, ProvidersManager
class TestProviderManager(unittest.TestCase):
@pytest.fixture(autouse=True)
def inject_fixtures(self, caplog):
s... |
Rails.application.config.middleware.use OmniAuth::Builder do
provider :twitter, Rails.application.secrets.twitter_api_key, Rails.application.secrets.twitter_api_secret
end
|
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("07... |
package app.ifsmile.com.ifsmile;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
/**
* Created by zyj on 16-11-24.
*/
public class MusicListActivity extends AppCompatActivity {
private Button musi... |
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2010 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... |
package com.outerspacecat.memcache;
import com.outerspacecat.connection.DataSource;
import javax.annotation.concurrent.ThreadSafe;
/**
* Provides lookup of Memcache nodes by key.
*
* @author Caleb Richardson
*/
@ThreadSafe
public interface Continuum
{
/**
* Returns the node for {@code key}.
*
* @par... |
<!doctype html>
<html class="theme-next mist use-motion" lang="zh-Hans">
<head>
<!-- hexo-inject:begin --><!-- hexo-inject:end --><meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<l... |
using AWS
using DynamoDB
using Base.Test
type Foo
a
b
end
# tests on component functions
include("dynamo_json.jl")
include("dynamo_dsl.jl")
include("dynamo.jl")
include("dynamo_row_ops.jl")
# live tests
include("integration_tests.jl") |
package io.grpc.internal;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertSame;
import io.grpc.Status;
import io.grpc.internal.HttpUtil.Http2Error;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
/** Unit tests for {@link HttpUtil}. */
@RunW... |
<?php
declare(strict_types=1);
namespace BlockHorizons\BlockSniper\brush\types;
use BlockHorizons\BlockSniper\brush\BaseType;
use pocketmine\block\Block;
use pocketmine\item\Item;
/*
* Melts away every block with more than 2 open sides within the brush radius.
*/
class MeltType extends BaseType{
const ID = sel... |
export default function handleNickChanged(args) {
const user = RocketChat.models.Users.findOne({
'profile.irc.nick': args.nick,
});
if (!user) {
throw new Error(`Could not find an user with nick ${ args.nick }`);
}
this.log(`${ user.username } changed nick: ${ args.nick } -> ${ args.newNick }`);
// Update ... |
package org.antlr.v4.runtime;
/** A token has properties: text, type, line, character position in the line
* (so we can ignore tabs), token channel, index, and source from which
* we obtained this token.
*/
public interface Token {
public static final int INVALID_TYPE = 0;
/** During lookahead operations,... |
require "clamp"
require "progressbar"
require "highline"
require "thor"
require "paperclip"
require "colored"
require 'active_record'
module Paperclip
module Migrator
autoload :AttachmentInstance, 'paperclip-migrator/attachment_instance'
autoload :Command, 'paperclip-migrator/command'
autoload :Paperclip... |
package com.dbychkov.data.mapper;
import java.util.List;
public interface Mapper <K, V> {
K mapPojoToEntity(V pojo);
List<K> mapPojoListToEntityList(List<V> pojoList);
V mapEntityToPojo(K entity);
List<V> mapEntityListToPojoList(List<K> entityList);
}
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Modelo para la validación de ingreso de usuarios al aplicativo
* @author DMDiazF
* @since 13/10/2015
**/
class Usuario extends CI_Model {
function __construct(){
parent::__construct();
$this->load->library("danecrypt"... |
package com.google.devtools.j2objc.gen;
import com.google.devtools.j2objc.GenerationTest;
import com.google.devtools.j2objc.util.NameTable;
import org.eclipse.jdt.core.dom.AbstractTypeDeclaration;
import org.eclipse.jdt.core.dom.CompilationUnit;
import org.eclipse.jdt.core.dom.ITypeBinding;
import java.io.IOExcept... |
rm -rf build
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release .. # use optimization flags: -DOPT1:BOOL=ON
cmake --build .
ctest -V #-V enables verbose output alternative: --output-on-failure only shows output when task fails
|
use self::GammaRepr::*;
use self::ChiSquaredRepr::*;
use core::num::Float;
use {Rng, Open01};
use super::normal::StandardNormal;
use super::{IndependentSample, Sample, Exp};
/// The Gamma distribution `Gamma(shape, scale)` distribution.
///
/// The density function of this distribution is
///
/// ```text
/// f(x) = ... |
using Spect.Net.VsPackage.Vsx;
namespace Spect.Net.VsPackage.ToolWindows.RegistersTool
{
/// <summary>
/// Interaction logic for RegistersToolWindowControl.
/// </summary>
public partial class RegistersToolWindowControl : ISupportsMvvm<RegistersToolWindowViewModel>
{
/// <summary>
... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
# Files in the order they must be combined
$networkMockFiles = "../NetworkMock/"
$folderExclusions
$fileInclusionFilters = "*.js"
# Files in the order they must be combined
$files =
"jquery.network.mock.core.js",
"jquery.network.mock.ajax.js",
"jquery.network.mock.websocket.js",
"jquery.network.mock.mask.js",
... |
#include "third_party/blink/renderer/platform/graphics/filters/spot_light_source.h"
#include "third_party/blink/renderer/platform/wtf/math_extras.h"
#include "third_party/blink/renderer/platform/wtf/text/text_stream.h"
namespace blink {
bool SpotLightSource::SetPosition(const FloatPoint3D& position) {
if (positi... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframewor... |
from setuptools import setup
setup(
author="Zhang Lei",
author_email="zlsdsb@gmail.com",
name='review_analysis',
version='0.3',
url='https://github.com/zh-angle-i/review-analysis',
description='Analysis of product concerns based on user reviews',
license='MIT',
install_requires=['jieba'... |
<!DOCTYPE html>
<head>
<title>Simple Popup Boxes</title>
<script type="text/javascript">
<!--
function toggle_visibility(id) {
var e = document.getElementById(id);
if(e.style.display == 'block')
e.style.display = 'none';
else
e.style.display = 'bl... |
/**
* @file
* Layer handler for TMS layers
*/
/**
* Openlayer layer handler for TMS layer
*/
Drupal.openlayers.layer.maptiler = function(title, map, options) {
if (options.maxExtent !== undefined) {
options.maxExtent = new OpenLayers.Bounds.fromArray(options.maxExtent);
}
options.getURL = function(boun... |
package org.apache.camel.component.google.mail;
import java.util.Map;
import com.google.api.client.googleapis.services.AbstractGoogleClientRequest;
import org.apache.camel.Processor;
import org.apache.camel.RuntimeCamelException;
import org.apache.camel.component.google.mail.internal.GoogleMailApiName;
import org.a... |
'use strict';
class Menu {
constructor () {
this.root = document.body;
this.burger = this.root.querySelector('[data-burger]');
if (!this.burger) return;
this.init();
}
};
Menu.prototype.init = function () {
this.menu = this.root.querySelector('#menu');
this.eventManager();
};
Menu.prototype... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Runtime.Serialization;
using SeeSharpHttpLiveStreaming.Utils;
using SeeSharpHttpLiveStreaming.Utils.ValueParsers;
using SeeSharpHttpLiveStreaming.Utils.Writers;
using UriParser = SeeSharpHttpLiveStream... |
import kerfi
import mock
import tests
from kerfi import commandline
class PrintPropertiesTestCase(tests.BaseTestCase):
"""
Test cases for kerfi.commandline.print_properties() function.
"""
@mock.patch('sys.stdout.write', autospec=True)
@mock.patch('kerfi.load_raw')
def test_auto(self, moc... |
<!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 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>TagLibraryValidator (JSP 2.3 API Documentation - Apache Tomcat 9.0.0.M1... |
<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
xmlns:g="urn:import:com.google.gwt.user.client.ui">
<g:CaptionPanel captionText="Login" width="450px">
<g:DockPanel>
<g:Dock direction="NORTH">
<g:VerticalPanel>
<g:Label
t... |
/*
* linux/drivers/char/keyboard.c
*
* Keyboard driver for Linux v0.99 using Latin-1.
*
* Written for linux by Johan Myreen as a translation from
* the assembly version by Linus (with diacriticals added)
*
* Some additional features added by Christoph Niemann (ChN), March 1993
*
* Loadable keymaps by Risto Ka... |
package com.amazonaws.services.private5g.model;
import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;
/**
* <p>
* Information about a network resource.
* </p>
*
* @see <a href="http://docs.aws.amazon.com/g... |
var mongoose = require('mongoose');
var announcementSchema = new mongoose.Schema({
title: {type: String, required: true},
desc: {type: String, required: false},
userId: {type: mongoose.Schema.Types.ObjectId, ref: 'User'},
courseId: {type: mongoose.Schema.Types.ObjectId, ref: 'Course'}
});
var Announcement = m... |
<?xml version="1.0" ?>
<container xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://symfony.com/schema/dic/services"
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
<services>
<service id="plenty_... |
package org.apache.asterix.optimizer.rules;
import java.util.List;
import org.apache.asterix.om.functions.BuiltinFunctions;
import org.apache.commons.lang3.mutable.Mutable;
import org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression;
import org.apache.hyracks.algebricks.core.algebra.base.LogicalExpres... |
layout: default
---
<div id="main" role="main">
<article class="wrap" itemscope itemtype="http://schema.org/Article">
{% if page.image.feature %}
<div class="page-feature">
<div class="page-image">
<img src="{{ site.url }}/images/{{ page.image.feature }}" class="page-feature-image" alt="{{ page.title }}" i... |
(function() {
var $, AbstractChozed, Chozed, SelectParser, _ref,
__hasProp = {}.hasOwnProperty,
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.p... |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<TextView
android:id="@+id/question_text_view"
android:lay... |
require "pact_broker/db/data_migrations/set_latest_version_sequence_value"
module PactBroker
module DB
module DataMigrations
describe SetLatestVersionSequenceValue, data_migration: true do
include MigrationHelpers
describe ".call" do
before(:all) do
PactBroker::TestDa... |
(function (f, define) {
define('kendo.view', [
'kendo.core',
'kendo.binder',
'kendo.fx'
], f);
}(function () {
var __meta__ = {
id: 'view',
name: 'View',
category: 'framework',
description: 'The View class instantiates and handles the events of a cert... |
package com.kixeye.chassis.transport;
import com.kixeye.chassis.transport.http.ListenableFutureReturnValueHandler;
import com.kixeye.chassis.transport.http.ObserableReturnValueHandler;
import com.kixeye.chassis.transport.http.SerDeHttpMessageConverter;
import com.kixeye.chassis.transport.serde.MessageSerDe;
import c... |
FROM balenalib/nanopi-neo-air-alpine:edge-run
ENV GO_VERSION 1.14.14
# set up nsswitch.conf for Go's "netgo" implementation
# - https://github.com/golang/go/blob/go1.9.1/src/net/conf.go#L194-L275
# - docker run --rm debian:stretch grep '^hosts:' /etc/nsswitch.conf
RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files... |
/**
* This file is generated by the Angular 2 template compiler.
* Do not edit.
*/
/* tslint:disable */
import * as import0 from '@angular/core/src/linker/ng_module_factory';
import * as import1 from 'angular2-platform-node/node-http';
import * as import2 from '@angular/http/src/base_request_options';
import * as ... |
/**
* Casa.js
*
* @description :: TODO: You might write a short summary of how this model works and what it represents here.
* @docs :: http://sailsjs.org/documentation/concepts/models-and-orm/models
*/
module.exports = {
//connection: 'conexionMysqlDocker',
attributes: {
nombre:{
type:'string'... |