text
stringlengths
3
1.05M
class Terreno { static CANTIDAD_PARCELAS = 9; static ESCALA = null; static ALTURA_TERRENO = -250; constructor(long_lado_total) { this.textura = new Textura("assets/heightmap-isla.png"); this.long_lado_total = long_lado_total; Terreno.ESCALA = long_lado_total / 9; this....
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
import numpy as np from keras.preprocessing.image import random_rotation, apply_transform, transform_matrix_offset_center, random_zoom, load_img from scipy.ndimage.morphology import distance_transform_edt from scipy.ndimage.measurements import label import PIL from matplotlib import pyplot as plt def morphological_we...
import TestController from './test-controller'; import testRunTracker from './test-run-tracker'; import TestCafeErrorList from '../errors/error-list'; import { MissingAwaitError } from '../errors/test-run'; export default function wrapTestFunction (fn) { return async testRun => { let result = null; ...
/* Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.lang['uk']={"editor":"Текстовий редактор","editorPanel":"Панель текстового редактора","common":{"editorHelp":"натисніть ALT 0 для довідки","browseServer":"Огл...
import copy import datetime import logging from typing import Optional import aiohttp from kopf.clients import auth from kopf.structs import bodies from kopf.structs import resources logger = logging.getLogger(__name__) EVENTS_V1BETA1_CRD = resources.Resource('events.k8s.io', 'v1beta1', 'events') EVENTS_CORE_V1_CRD...
/* * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright noti...
from django.conf import settings from django.conf.urls import patterns, include, url from django.conf.urls.static import static from pangolinfog.views import * from django.contrib import admin from django.views.generic import TemplateView from . import views admin.autodiscover() urlpatterns = [ url(r'^grappelli/'...
# Copyright 2019-2021 Huawei Technologies Co., Ltd # # 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 agre...
from .utils import NamespacedClient, query_params, _make_path, SKIP_IN_PATH class IndicesClient(NamespacedClient): @query_params('analyzer', 'attributes', 'char_filter', 'explain', 'field', 'filter', 'format', 'prefer_local', 'text', 'tokenizer') def analyze(self, index=None, body=None, params=None): ...
({"HKD_displayName":"Hongkong dollar","CHF_displayName":"Schweizisk franc","CAD_displayName":"Canadisk dollar","CNY_displayName":"Kinesisk yuan renminbi","USD_symbol":"$","AUD_displayName":"Australsk dollar","JPY_displayName":"Japansk yen","USD_displayName":"Amerikansk dollar","GBP_displayName":"Britisk pund","EUR_disp...
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. """Configs.""" from fvcore.common.config import CfgNode from . import custom_config # ----------------------------------------------------------------------------- # Config definition # ------------------------------------...
'use strict'; const express=require('express'); const Food=require('../models/food'); const validator = require('../middleware/validator'); const food=new Food(); const router=express.Router(); const getfood=(req,res)=>{ const resObj = food.read(); res.json(resObj); } const createfood=(req, res)=>{ con...
//////////////////////////////////////////////////////////////////////////// // Name: wx/stc/stc.h // Purpose: A wxWidgets implementation of Scintilla. This class is the // one meant to be used directly by wx applications. It does not // derive directly from the Scintilla classes,...
jQuery.sap.declare("<%= project.artifactId %>.Configuration"); jQuery.sap.require("sap.ca.scfld.md.ConfigurationBase"); jQuery.sap.require("sap.ca.scfld.md.app.Application"); sap.ca.scfld.md.ConfigurationBase.extend("<%= project.artifactId %>.Configuration", { oServiceParams: { serviceList: [ { ...
# encoding: utf-8 import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'MakahikiLog' db.create_table('log_mgr_makahikilog', ( ('id', self.gf('django.d...
// // World.h // Vortex2D // #ifndef Vortex2D_Engine_h #define Vortex2D_Engine_h #include "../Renderer/CommandBuffer.h" #include "../Renderer/Drawable.h" #include "../Renderer/Shapes.h" #include "Advection.h" #include "Boundaries.h" #include "Cfl.h" #include "Density.h" #include "Extrapolation.h" #include "LevelSe...
/* YUI 3.18.1 (build f7e7bcb) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add("lang/datatype-date-format_nl-BE",function(e){e.Intl.add("datatype-date-format","nl-BE",{a:["zo","ma","di","wo","do","vr","za"],A:["zondag","maandag","dinsdag","woensd...
//File to handle Server as a proxy var request = require('request'); // "Request" library if(process.env.NODE_ENV !== 'production') { var config = require('../src/config/config.json'); var songkick_key = config.songkick_key; } else { songkick_key = process.env.SONGKICK_KEY; } // var apiServerHost = 'htt...
ace.define('ace/mode/suslik', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/suslik_highlight_rules', 'ace/range'], function(require, exports, module) { var oop = require("../lib/oop"); var TextMode = require("./text").Mode; var Tokenizer = require("../tokenizer").Tokeniz...
from django.contrib import admin from .models import Activity, Option, Contain admin.site.register(Activity) admin.site.register(Option) admin.site.register(Contain)
import rdflib as rdf import os, sys import prov.model as pm import json from rdflib import Graph, RDF, URIRef, util, term from rdflib.namespace import split_uri import validators #sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) from ..core import Constants #import NIDMExperimentCor...
import boto3 from config import * import passwords access_key = passwords.access_key secret_access_key = passwords.secret_access_key s3_region = passwords.s3_region def detect_labels(bucket, key, max_labels=10, min_confidence=90, region=s3_region): rekognition = boto3.client("rekognition", region, aws_a...
#!/usr/bin/env python # -*- coding: utf-8 -*- # # feedback.py # # Copyright 2017 Dominique Revuz <dr@univ-mlv.fr> # from jinja2 import Template def subnlbybr(str): """ >>> subnlbybr("\\n") '<br/>' """ return "<br/>".join(str.split("\n")) class Feedback: """ Classe de stockage et de production...
module.exports = function(grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), sass: { dist: { options: { style: 'expanded', banner: '/*!\n' + ' * scss_grid v<%= pkg.version %> (<%= pkg.homepage %>)\n' + ' * Copyright 2014-<%= grunt.te...
""" Copyright (c) 2019 Intel Corporation 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 wri...
// Copyright (c) SAP SE and others. Licensed under the MIT license. // SPDX-License-Identifier: MIT const assert = require('assert') const summarizer = require('../../providers/summary/reuse')() describe('FsfeReuseSummarizer', () => { it('should include populate all available attributes', () => { const files =...
//printf("%d %d\n", vi_origin_reg, vi_width_reg); switch(vi_status_reg & 0x00000003) { case 0: // blank case 1: // reserved - TODO: find info on this, otherwise for now treat as blank memset(surface->pixels, 0x55, surface->pitch*surface->h); break; case 2: // 15bpp #define VI_BITS 16 #include "vi/case.h" break...
'use strict' // Template version: 1.2.6 // see http://vuejs-templates.github.io/webpack for documentation. const path = require('path') const getNetwork = require('./network') module.exports = { dev: { // Paths assetsSubDirectory: 'assets', assetsPublicPath: '/', proxyTable: { ...
#!/usr/bin/env python """ Input Docstring The Input class represents the input word at a given time-step of the machine's execution. """ from lib.controllers.table.Word import Word from lib.controllers.binary_table.BinarySequence import BinarySequence __author__ = "Dylan Pozorski" __project__ = "TuringMachine" __...
import React, { Component } from 'react' import { Link } from 'react-router-dom' const postStyle = { 'width': '100%' } class Post extends Component { render() { return ( <div className="w3-quarter"> <img src={`${this.props.image}`} alt={`${this.props.slug}`} style={postStyle} /> <h3><Lin...
############################################################################## # Copyright (c) 2013-2018, Lawrence Livermore National Security, LLC. # Produced at the Lawrence Livermore National Laboratory. # # This file is part of Spack. # Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved. # LLNL-CODE-64...
# -*- coding: utf-8 -*- """ UniReq: UniReq extracts HTTP data and client information easily from DRF / Django for any cross client request. This package can handle requests from DRF requests, Django HTTP requests, mobile requests, chrome extensions requests, terminal requests, DRF Panel, API testers...
import pytest from _pytest.monkeypatch import MonkeyPatch from osparc_gateway_server.backend.settings import AppSettings @pytest.fixture def minimal_config(monkeypatch: MonkeyPatch): monkeypatch.setenv("GATEWAY_WORKERS_NETWORK", "atestnetwork") monkeypatch.setenv("GATEWAY_SERVER_NAME", "atestserver") monk...
/* * This header is generated by classdump-dyld 1.5 * on Friday, April 30, 2021 at 11:36:59 AM Mountain Standard Time * Operating System: Version 13.5.1 (Build 17F80) * Image Source: /System/Library/Frameworks/MessageUI.framewor...
import React from 'react'; import Link from 'gatsby-link'; import { withStyles } from '@material-ui/styles'; import { FaBars } from 'react-icons/fa'; import overlayStyles from "./overlay.module.css" import styles from './style'; type Props = { classes: Object, options: [], open: Boolean, onClick: () => void, }...
module.exports = { userNotFound: 'The user id %s does not exist.', notFound: '%s Not Found.', userListNotFound: 'Unable to obtain user list.', unableToUpdateOtherUser: 'You are unable to update other user.', emailDuplicate: 'The email address %s is already in use.', userDisabled: 'The user with the email ad...
import pandas as pd import numpy as np from preprocessors import Pipeline import config pipeline = Pipeline(target = config.TARGET, categorical_to_impute = config.CATEGORICAL_TO_IMPUTE, year_variable = config.YEAR_VARIABLE, numerical_to_impute ...
// // Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20). // // Copyright (C) 1997-2019 Steve Nygard. // #import <objc/NSObject.h> #import "Endpointer-Protocol.h" @class NSString; @protocol ADPassthroughEndpointerDelegate, Endpointer; @interface ADP...
import sse from './sse' export default store => { sse(store) }
'use strict'; /* @flow */ /* globals Map: false */ /** * The [mode](http://bit.ly/W5K4Yt) is the number that appears in a list the highest number of times. * There can be multiple modes in a list: in the event of a tie, this * algorithm will return the most recently seen mode. * * modeFast uses a Map object to ke...
import os import time from plugins import gf users_dir = os.path.join(r"users/") def shop(sourceText, id): get_data = gf.loadjson(users_dir + str(id) + ".json") user_balance = int(get_data['balance']) shopHelp = ', помощь по магазину:\n\n⠀🛒 Покупайте различное имущество в один клик! После поку...
""" All devices should inherit from this class. """ from flowchem.components.properties import Component class PassiveComponent(Component): """A non-connected, non-controllable, passive component.""" _id_counter = 0
#!/usr/bin/env python3 # coding:utf-8
# Copyright 2011 The greplin-twisted-utils Authors. # # 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...
import re try: # Python 3 from urllib.parse import urlencode, quote except (ImportError): # Python 2 from urllib import urlencode, quote from ..versions import version_sort, version_filter from .json_api_client import JSONApiClient from ..downloaders.downloader_exception import DownloaderException c...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends2 = require('babel-runtime/helpers/extends'); var _extends3 = _interopRequireDefault(_extends2); var _stringify = require('babel-runtime/core-js/json/stringify'); var _stringify2 = _interopRequireDefault(_stringify); var ...
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. from typing import Any, Dict class HttpRequest: def __init__( self, *, request_uri: str = None, content: Any = None, headers: Dict[str, str] = None ) -> None: self.req...
async ({ sprintId }) => { const data = await application.db.select('sprints', undefined, { id: sprintId }); return data[0]; };
'use strict'; module.exports = function (app) { var controller = require('../controllers/mailSenderController'); app.route('/api/sendMail').post(controller.send_mail); };
"use strict"; function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj ...
import { injectReducer } from '../../store/reducers'; export default (store) => ({ path: 'results', /* Async getComponent is only invoked when route matches */ getComponent(nextState, cb) { /* Webpack - use 'require.ensure' to create a split point and embed an async module loader (jsonp) when bundl...
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import json import warnings import pulumi import pulumi.runtime from typing import Union from .. import utilities, tables class LoadBa...
const jwt = require('jsonwebtoken') const User = require('mongoose').model('User') const config = require('../config') function verifyToken (token) { if (!token.trim()) { return Promise.reject() } return verify(token, config.jwtSecret).then(({ user, decoded }) => { if (user.tokenCreated.toJSON() === deco...
import { takeLatest, put, call } from 'redux-saga/effects'; import request from 'utils/request'; import { getShowcases } from './actions'; export function* getShowcasesRequest() { const BASE_URL = 'https://us-central1-react-next-boilerplate-cda8b.cloudfunctions.net/getShowcasesData'; try { yield put(getShow...
import datetime from enum import Enum from pathlib import Path from typing import Any, Optional from fastapi_camelcase import CamelModel from mealie.core.config import app_dirs, settings from mealie.db.models.recipe.recipe import RecipeModel from mealie.schema.comments import CommentOut from pydantic import BaseModel,...
# Copyright 2020 - 2021 MONAI Consortium # 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 wri...
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞══════════════════════════════════════════════════════════════════════════════╡ │ Copyright 2020 Justine Alexandra Roberts Tunney ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-838eccea"],{"399c":function(e,t,l){"use strict";l.r(t);var n=l("7a23"),i=Object(n["Y"])("data-v-4066c712");Object(n["F"])("data-v-4066c712");var a={class:"content-section introduction"},o=Object(n["m"])("div",{class:"feature-intro"},[Object(n["m"])("h1",...
// @ts-check import { assert, details as X } from '@agoric/assert'; import { AmountMath, AssetKind } from '@agoric/ertp'; import { E, Far } from '@agoric/far'; import { makeNotifierKit, makeSubscriptionKit } from '@agoric/notifier'; import { makeStore, makeWeakStore } from '@agoric/store'; import { makeVirtualPurse } ...
var request = require("postman-request"); async function getCode(username, repo, structure, token) { if (token) { var b_token = "Bearer " + token; const options = { url: "https://api.github.com/repos/" + username + "/" + repo + "/contents" + "...
from .pages.basket_page import BasketPage from .pages.login_page import LoginPage from .pages.main_page import MainPage link = "http://selenium1py.pythonanywhere.com/" def test_guest_can_go_to_login_page(browser): page = MainPage(browser, link) page.open() page.go_to_login_page() login_page = LoginPa...
import re beforeWordList = {} afterWordList = {} ngram = 5 unigram = open('..\\Files\\Input Files\\Unigram.txt', 'r',-1,'utf-8') bigram = open('..\\Files\\Input Files\\Bigram.txt', 'r', -1,'utf-8') output = open('..\\Files\\Output Files\\BeforeAndAfterWord'+str(ngram)+'.txt', 'w', -1,'utf-8') unigram_words =...
const Symbol = require('../models/Symbol'); class SymbolProgram{ constructor(lexam,scope){ this.symbol = new Symbol.Symbol(lexam,scope); } } module.exports = {SymbolProgram}
import * as React from 'react'; import wrapIcon from '../utils/wrapIcon'; const rawSvg = (iconProps) => { const { className, primaryFill } = iconProps; return React.createElement("svg", { width: 32, height: 32, viewBox: "0 0 32 32", xmlns: "http://www.w3.org/2000/svg", className: className }, React.crea...
#!/usr/bin/env python3 # -*- coding: utf-8 -*- if __name__ == '__main__' : day = int(input("Введите день: ")) if day > 0 and 31 >= day: m = 1 elif day > 31 and 59 >= day: m = 2 elif day > 59 and 90 >= day: m = 3 elif day > 90 and 120 >= day: m = 4 elif day ...
/* eslint-disable no-undef */ module.exports = { preset: 'rollup-jest', transform: { '^.+\\.ts?$': 'ts-jest' }, collectCoverage: true, coveragePathIgnorePatterns: [ '/dist', '/build', ], testEnvironment: 'jsdom' }
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; import _extends from "@babel/runtime/helpers/esm/extends"; import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray"; import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; function ownKeys(object, ...
(window.webpackJsonp=window.webpackJsonp||[]).push([[49],{1406:function(n,a){n.exports=function(n){var a=n.COMMENT(/\(\*/,/\*\)/);return{illegal:/\S/,contains:[a,{className:"attribute",begin:/^[ ]*[a-zA-Z][a-zA-Z-_]*([\s-_]+[a-zA-Z][a-zA-Z]*)*/},{begin:/=/,end:/[.;]/,contains:[a,{className:"meta",begin:/\?.*\?/},{class...
# Copyright 2017 FUJITSU LIMITED # Copyright 2018 OP5 AB # # 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 ...
/** * Upcloud api * The UpCloud API consists of operations used to control resources on UpCloud. The API is a web service interface. HTTPS is used to connect to the API. The API follows the principles of a RESTful web service wherever possible. The base URL for all API operations is https://api.upcloud.com/. All API...
const Discord = require("discord.js"); const getEvePraisal = require ("../services/evepraisal"); const imgUrlBase = "https://imageserver.eveonline.com/Type/"; const numeral = require("numeral"); const moment = require("moment"); exports.run = async (client, message, args) => { // Location type is always the...
Clazz.declarePackage ("JSV.source"); Clazz.load (["JSV.source.JDXHeader"], "JSV.source.JDXDataObject", ["java.lang.Character", "$.Double", "JU.DF", "$.PT", "JSV.common.Annotation", "$.Coordinate", "$.Integral", "JSV.exception.JSVException", "JU.Logger"], function () { c$ = Clazz.decorateAsClass (function () { this.f...
import numeral from 'numeral'; export function generateRandomCode(length) { let text = ''; const possible = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; for (let i = 0; i < length; i += 1) text += possible.charAt(Math.floor(Math.random() * possible.length)); return text; } export fu...
import pandas as pd from selenium import webdriver from datetime import datetime, timedelta from selenium.webdriver.support.ui import Select import math from time import sleep from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver...
/** * Copyright (c) Hathor Labs and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import helpers from '../utils/helpers'; import axios from 'axios'; import store from '../store/index'; import { lastFailedRequest } f...
/** ***************************************** * Created by lifx * Created on 2017-11-19 11:39:31 ***************************************** */ 'use strict'; /** ***************************************** * 加载依赖 ***************************************** */ import './index.scss'; import React, { Component } from...
const Discord = require('discord.js'); exports.run = async (client, message, args) => { const embed = new Discord.RichEmbed() .setColor("#8A51B6") .setTitle('Ping') .addField("Botun pingi:", Math.round(client.ping) + " ms'dir", true) .setThumbnail(client.user.avatarURL) message.channel.send(embed...
import { expect } from 'chai'; import MoodJS from '../../src/Mood'; import Face from '../../src/Face'; describe('MoodJS', () => { it('creates a global var called MoodJS', () => { expect(MoodJS).to.not.be.undefined; }); describe('#add(type, selector[, options])', () => { let div; const selector = '#f...
#!/usr/bin/env python # # Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. # # # analytics_systest.py # # System tests for analytics # import sys vizdtestdir = sys.path[0] from gevent import monkey monkey.patch_all() import os import unittest import testtools import fixtures import socket from utils.a...
const tmrm = require('azure-pipelines-task-lib/mock-run'); const ma = require('vsts-task-lib/mock-answer'); const path = require('path'); var taskPath = path.join(__dirname, '..', 'dist/kv_read/kv_read.js'); var conf = require(path.join(__dirname, 'conf.json')); var tr = new tmrm.TaskMockRunner(taskPath); tr.setInput...
// Copyright (C) 2015 Yixuan Qiu // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #ifndef DENSE_GEN_MAT_PROD_H #define DENSE_GEN_MAT_PROD_H #include <armadillo> ...
#include<stdio.h> #include<stdlib.h> #include<string.h> #define MAX 4 char arr[MAX]; int front=-1, rear=-1; int isempty() { if(front == -1) return 1; else return 0; } int isfull() { if(front == 0 && rear == MAX-1|| front == rear+1) return 1; else return 0; } void insertf(char item...
const OutletDevice = require('../OutletDevice.js'); const OutletProperties = require('../OutletProperties.js'); const Actions = require('../../../constants/Actions.js'); const Constants = require('../../../constants/Constants.js'); const PropFormat = require('../../../constants/PropFormat.js'); const PropUnit = require...
const express = require("express"); const app = express(); const port = 8080; app.get("/", (req, res) => res.send("Service is Online")); app.listen(port); console.log(`App running on http://localhost:${port}`);
/** * Defines the Alerts * * @author aborowski * @date Jan 20, 2016 * */ 'use strict'; import FeatureBase from 'lib/FeatureBase'; import { element } from 'angular'; var TYPES = { warning: 'warning', error: 'error', info: 'info', success: 'success' }; var TIMEOUTS = { warning: 3000, ...
// // BRPeer.c // // Created by Aaron Voisine on 9/2/15. // Copyright (c) 2015 breadwallet LLC. // // 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 with...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.mutationTypes = void 0; const documentTypes = { ADD: '[firex-store] Add', MODIFY: '[firex-store] Modify', REMOVE: '[firex-store] Remove', }; const collectionTypes = { ADD: '[firex-store] Add Array', MODIFY: '[firex-...
import builtins import datetime from files_sdk.api import Api from files_sdk.list_obj import ListObj from files_sdk.exceptions import InvalidParameterError, MissingParameterError, NotImplementedError class BundleRecipient: default_attributes = { 'company': None, # string - The recipient's company. ...
// // v++(TM) // rundef.js: a v++-generated Runs Script for WSH 5.1/5.6 // Copyright 1986-2020 Xilinx, Inc. All Rights Reserved. // echo "This script was generated under a different operating system." echo "Please update the PATH variable below, before executing this script" exit var WshShell = new ActiveXObject( "WS...
import * as tslib_1 from "tslib"; /* tslint:disable:variable-name */ import styled from 'styled-components'; import { borderRadius } from '@findable/media-ui'; export var ProgressWrapper = styled.div(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n ", " z-index: 30;\n overflow: hidden;\n bac...
#!/usr/bin/env python3 # Copyright (c) 2014-2018 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """ ZMQ example using python3's asyncio Torchcoin should be started with the command line argume...
/* * Copyright (c) 2004-2005, Dennis Kuschel. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice...
import { css } from '@patternfly/react-styles'; import styles from '@patternfly/react-styles/css/components/Table/table'; const pickProperties = (object, properties) => properties.reduce((picked, property) => ({ ...picked, [property]: object[property] }), {}); export const Visibility = pickProperties(styles.modifie...
import React from 'react'; import VideoListItem from './video_list_item'; const VideoList = props => { // const videos = props.videos; const videoItems = props.videos.map(video => { return ( <VideoListItem key={video.etag} video={video} onVideoSelect={props.onVideoSelect} /> ); }); return <...
const fs = require('fs-extra') const path = require('path') const spawn = require('spawn-command') const stripAnsi = require('strip-ansi') // Deletes folder if: // - flag is true // - folder exists const deleteDir = (dir, flag) => { if (flag && fs.existsSync(dir)) { fs.removeSync(dir) } } const resolvePath = ...
describe('browsertest_05_login_promise', function() { this.timeout(10000); var client; it('does a login without catching promise', function(done) { client = new Happner.MeshClient({ port: 55000 }); client.login({ username: 'username', password: 'password' }); setTimeout(done, 5000); ...
// Copyright (c) 2011-2015 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_QT_PAYMENTSERVER_H #define BITCOIN_QT_PAYMENTSERVER_H // This class handles payment requests from clicking o...
var searchData= [ ['token_0',['TOKEN',['../Ioss__Glob_8h.html#a0aeb99bfd32b3015ade823a2e1a8812e',1,'TOKEN():&#160;Ioss_Glob.h'],['../Ioss__Glob_8h.html#a0aeb99bfd32b3015ade823a2e1a8812e',1,'TOKEN():&#160;Ioss_Glob.h']]], ['transient_5ffield_5fstep_5fvalue_5fmismatch_1',['TRANSIENT_FIELD_STEP_VALUE_MISMATCH',['../Io...
#!/usr/bin/env python3 # Copyright (c) 2014-2017 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the REST API.""" from test_framework.test_framework import ibacoinTestFramework from test_framewo...