text
stringlengths
3
1.05M
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl...
triangle="""75 95 64 17 47 82 18 35 87 10 20 04 82 47 65 19 01 23 75 03 34 88 02 77 73 07 63 67 99 65 04 28 06 16 70 92 41 41 26 56 83 40 80 70 33 41 48 72 33 47 32 37 16 94 29 53 71 44 65 25 43 91 52 97 51 14 70 11 33 28 77 73 17 78 39 68 17 57 91 71 52 38 17 14 91 43 58 50 27 29 48 63 66 04 68 89 53 67 30 73 16 69 87...
const GIFEncoder = require('..') const { createCanvas } = require('canvas') const { writeFile } = require('fs') const path = require('path') const size = 200 const half = size / 2 const canvas = createCanvas(size, size) const ctx = canvas.getContext('2d') function drawBackground() { ctx.fillStyle = '#eeeeee' ctx...
# Generated by Django 2.2.6 on 2019-10-22 09:57 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('task', '0001_initial'), ] operations = [ migrations.AddField( model_name='task', name='arg', field=model...
const screen = document.querySelector(".main__screen"); // Set screen result, mostly used after equals button or some variations as square root, that when pressed only shows the final result. function setScreen(value) { screen.value = value; } // Update screen constantly, when the expression still being formed, t...
firebase.initializeApp({ apiKey: "AIzaSyCapbjMgK9468ICMWWnyrVvTbteXFOx_8E", authDomain: "propweb39.firebaseapp.com", projectId: "propweb39", storageBucket: "propweb39.appspot.com", messagingSenderId: "86992270502", appId: "1:86992270502:web:7c027b65446d5b5102b067", measurementId: "G-RFGPZ8Y8...
// *********************************************************** // This example support/index.js is processed and // loaded automatically before your test files. // // This is a great place to put global configuration and // behavior that modifies Cypress. // // You can change the location of this file or turn off // au...
/*! * Modernizr v2.5.3 * www.modernizr.com * * Copyright (c) Faruk Ates, Paul Irish, Alex Sexton * Available under the BSD and MIT licenses: www.modernizr.com/license/ */ /* * Modernizr tests which native CSS3 and HTML5 features are available in * the current UA and makes the results available to you in two wa...
import App from './components/App.vue'; import Vue from 'vue'; new Vue({ el: '#app', render: h => h(App) });
/*! minnpost-swlrt-demographics - LATEST VERSION - 2018-03-28 * https://github.com/minnpost/minnpost-swlrt-demographics * Copyright (c) 2018 MinnPost; Licensed MIT */ define("helpers",["jquery","underscore"],function(a,b){var c={};return c.overrideBackboneAJAX=function(){Backbone.ajax=function(){var a=arguments;return...
const { defineConfig } = require('@vue/cli-service') module.exports = defineConfig({ transpileDependencies: true, lintOnSave: false, devServer: { proxy: 'http://localhost:4000/games' } })
(window.webpackJsonp=window.webpackJsonp||[]).push([[73],{565:function(s,t,a){"use strict";a.r(t);var n=a(3),r=Object(n.a)({},(function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("ContentSlotsDistributor",{attrs:{"slot-key":s.$parent.slotKey}},[a("div",{staticClass:"language-js line-numbers-mode"},[a("pre...
import styled from 'styled-components'; export const Container = styled.div` height: 100vh; display: grid; grid-template-columns: 1fr 1fr; `;
import React, { Component } from "react"; import { Col, Container, Row } from "reactstrap"; export default class Section extends Component { render() { return ( <React.Fragment> <section className="bg-half bg-light d-table w-100"> <Container> <Row className="justify-content-ce...
(function () { module.exports = class StatsScreen extends Vue { constructor(projects, languages, commitsSum) { let watchersCnt = 0; projects.forEach(project => { watchersCnt += project.watchers_count; }); super({ el: '#statsSe...
import React from 'react'; import { chai, expect } from 'meteor/practicalmeteor:chai'; import chaiAsPromised from 'chai-as-promised'; import { createDummyUser, createDummyPost, addTestToCallbackOnce, createDummyComment, createDummyConversation, createDummyMessage } from '../../../testing/utils.js' import { performSubsc...
// Any copyright is dedicated to the Public Domain. // http://creativecommons.org/licenses/publicdomain/ "use strict"; //----------------------------------------------------------------------------- var BUGNUMBER = 514568; var summary = "eval in all its myriad flavors"; print(BUGNUMBER + ": " + summary); /**********...
'use strict'; const assert = require('./../../assert'); const common = require('./../../common'); let battle; describe('Thunder Wave', function () { afterEach(function () { battle.destroy(); }); it('should inflict paralysis on its target', function () { battle = common.createBattle(); battle.join('p1', 'Gu...
var passwordStrength = angular.module('PasswordStrengthView', []); if ( !window.setImmediate ) { window.setImmediate = function(fn) { window.setTimeout(fn, 0); }; } // "async" wrapper for zxcvbn passwordStrength.factory('zxcvbn', [ '$q', function($q) { return function(password, user_inputs) { var defer ...
/** * @license * Copyright 2018 Google LLC. 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 requ...
# import pandas, numpy, matplotlib, statsmodels, and load the covid totals data import pandas as pd import numpy as np import statsmodels.api as sm pd.set_option('display.width', 70) pd.options.display.float_format = '{:,.3f}'.format covidtotals = pd.read_csv("data/covidtotals.csv") covidtotals.set_index("iso_code", in...
"use strict"; var alertWidth = 500; function alertErr(message) { new $.Zebra_Dialog(message, { type: "error", title: "Error", width: alertWidth }); } /** * Remove all created elements that got created before the error * @param {string} message */ function alertErrBr(message) { new $.Zebra_Dia...
var typescript = require('rollup-plugin-typescript2'); var pkg = require('../package.json'); var version = pkg.version; var banner = `/*! * ${pkg.name} ${version} (https://github.com/ShaofeiZi/nameStorage) * API https://github.com/ShaofeiZi/nameStorage/blob/master/doc/api.md * Copyright 2017-${(new Date).getFull...
const path = require('path'); const webpack = require('webpack'); const autoprefixer = require('autoprefixer'); const plugins = [ new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify('production'), }), ]; module.exports = { plugins, target: 'web', devtool: 'eval', entry: {...
/* */ (function(process) { var baseSlice = require('../internal/baseSlice'), isIterateeCall = require('../internal/isIterateeCall'); var nativeCeil = Math.ceil, nativeFloor = Math.floor, nativeMax = Math.max; function chunk(array, size, guard) { if (guard ? isIterateeCall(array, size, guard...
function quicksort(array) { if (array.length < 2) { // base case, arrays with 0 or 1 element are already "sorted" return array; } // recursive case let pivot = array[0]; // sub-array of all the elements less than the pivot let less = array.slice(1).filter(function(el) { return el <= pivot; });...
const { createFilePath } = require(`gatsby-source-filesystem`); const kebabCase = require('lodash/kebabCase'); const has = require('lodash/has'); const { BLOGS_QUERY, PLUGINS_QUERY, TAGS_QUERY, LEGAL_NOTICES_QUERY, DOCS_QUERY, CASE_STUDIES_QUERY, CHANGELOG_QUERY, } = require('./src/queries/gatsbyNodeQueri...
import numpy as np from yt.frontends.athena_pp.api import AthenaPPDataset from yt.loaders import load from yt.testing import ( assert_allclose, assert_equal, requires_file, units_override_check, ) from yt.utilities.answer_testing.framework import ( GenericArrayTest, data_dir_load, requires_...
// @link https://schemas.toofab.com/json-schema/toofab/canvas/block/google-map-block/1-0-0.json# import Fb from '@gdbots/pbj/FieldBuilder'; import Message from '@gdbots/pbj/Message'; import Schema from '@gdbots/pbj/Schema'; import T from '@gdbots/pbj/types'; import TrinitiCanvasBlockV1Mixin from '@triniti/schemas/trini...
from discord import DiscordException class IPCError(DiscordException): """Base IPC exception class""" pass class NoEndpointFoundError(IPCError): """Raised upon requesting an invalid endpoint""" pass class ServerConnectionRefusedError(IPCError): """Raised upon a server refusing to connect / n...
// Karma configuration file, see link for more information // https://karma-runner.github.io/1.0/config/configuration-file.html process.env.CHROME_BIN = require('puppeteer').executablePath(); module.exports = function(config) { config.set({ basePath: '', frameworks: ['jasmine', '@angular-devkit/bu...
n = int(input())%2 a = input() b = input() out = 'succeeded' if n: for i in range(len(a)): if a[i]==b[i]: out='failed' break else: if a!=b: out='failed' print('Deletion', out)
var app = require('express')(), wizard = require('hmpo-form-wizard'), steps = require('./steps'), fields = require('./fields'); app.use(require('hmpo-template-mixins')(fields, { sharedTranslationKey: 'prototype' })); app.use(wizard(steps, fields, { templatePath: 'prototype_oix_170518/startpage' })); modu...
var callbackArguments = []; var argument1 = function (a, b) { callbackArguments.push(arguments) if (a) visited[a] = true; if (b) visited[b] = true; return 0; }; var argument2 = function (a, b) { callbackArguments.push(arguments) return a + b; }; var argument3 = null; var argu...
var UINestable = function () { var updateOutput = function (e) { var list = e.length ? e : $(e.target), output = list.data('output'); if (window.JSON) { output.val(window.JSON.stringify(list.nestable('serialize'))); //, null, 2)); } else { ...
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # d...
import{S as t,i as e,s as a,e as n,t as s,c as o,a as r,g as l,d as i,f as c,F as u,h as d,k as f,n as m,b as h,G as p,H as g,a4 as v,a5 as w,j as E,m as S,o as b,a6 as k,v as y,r as $,w as I,Q as D,z as T,a7 as V,l as x,u as O,M as N,N as M,L,R as H,B as _}from"../../chunks/vendor-5d015fce.js";import{T as j}from"../.....
import React from 'react'; import theme from 'theme'; import { mountWithTheme } from 'testUtils'; import CalendarNav from './'; describe('<CalendarNav />', () => { let wrapper; const props = { prevProps: { onClick: jest.fn() }, nextProps: { onClick: jest.fn() }, }; beforeEach(() => { wrapper = m...
import os import tempfile import mmcv import numpy as np from mmcv.utils import print_log from mmdet.datasets import DATASETS from pycocotools.coco import COCO from .coco_video_dataset import CocoVideoDataset from .parsers import CocoVID @DATASETS.register_module() class TaoDataset(CocoVideoDataset): def load_...
class Solution: def isAnagram(self, s: str, t: str) -> bool: dict1, dict2 = {}, {} for c in s: dict1[c] = dict1.get(c, 0) + 1 for c in t: dict2[c] = dict2.get(c, 0) + 1 return dict1 == dict2
/** * handle battle screen * */ define(["creature", "ShortQuiz"], function(creature, ShortQuiz){ //boot場景,用來做一些遊戲啟動前的準備 var battle = function(game, questionTextArea){ var func = function() { //可調參數 start ************************************** //殭屍x軸出現位置範圍(寬度的百分比) ...
'use strict'; const crypto = require('crypto'); /** * Validate coordinates * @param {object} coordinates - A location object see: "core/units.json#/definitions/location" * @returns {bool} True if the coordinates are valid, else false */ const validateCoordinates = coordinates => { return (coordinates && coo...
import EStyleSheet from 'react-native-extended-stylesheet'; import {mainText, secondaryText} from '../common-styles/typography'; import {separator} from '../common-styles/list'; import {UNIT} from '../variables/variables'; const secondaryTextColor = { color: '$icon' }; export default EStyleSheet.create({ activit...
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import * as cdAst from '../expression_parser/ast'; import { Identifiers } from '../identifiers'; import * as o from '....
import Component from '@ember/component'; import { computed } from '@ember/object'; export default Component.extend({ tagName: '', version: computed('crate.max_version', function() { return this.get('crate.max_version').replace('-', '--'); }), color: computed('crate.max_version', function() { if (thi...
# Copyright 2019 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 agreed to...
/* <![CDATA[ */ // Jquery validate form contact jQuery(document).ready(function(){ $('#check_avail').submit(function(){ var action = $(this).attr('action'); $("#message-booking").slideUp(750,function() { $('#message-booking').hide(); $('#submit-check') .after(' <i class="icon-spin3 animate-spin loade...
var DOM = require('jsx-dom-factory'); var _ = require('underscore'); var ReturnTeamsActiveAtLHQ = require('../../../lib/getteams.js'); var postCodes = require('../../../lib/postcodes.js'); var sesAsbestosSearch = require('../../../lib/sesasbestos.js'); var vincenty = require('../../../lib/vincenty.js'); console.log("...
import Vue from 'vue'; import Vuetify from 'vuetify/lib/framework'; import colors from 'vuetify/lib/util/colors' Vue.use(Vuetify); export default new Vuetify({ theme: { dark: true, themes: { dark: { headerBackground: colors.deepPurple, mainBackground: co...
# Copyright 2008-2015 Nokia Networks # Copyright 2016- Robot Framework Foundation # # 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 ...
""" Plot histogram of the actions, observations, computed rewards, and whatever else I might find useful in a replay buffer. """ import numpy as np from itertools import chain import joblib import argparse from railrl.data_management.her_replay_buffer import HerReplayBuffer import matplotlib.pyplot as plt def main(...
//#include haha.js
import MemoryFs from 'memory-fs' import ScreepsModules from 'screeps-modules' import test from 'ava' import webpack from 'webpack' import Compilation from 'webpack/lib/Compilation' import ScreepsWebpackPlugin from './index' const debug = require('debug')('screeps-webpack-plugin') function compile (options) { const...
import argparse import mxnet as mx import sys,os sys.path.append(os.getcwd()) from core.imdb import IMDB from train import train_net from core.symbol import P_Net20 def train_P_net20(image_set, root_path, dataset_path, prefix, ctx, pretrained, epoch, begin_epoch, end_epoch, batch_size, thread_num, ...
/** * */ $(function(){ /** * 修改VIP等级 * * CT: 2014-12-04 14:34 by QXL * */ $('body').on('click','.js-submit',function(){ var obj=$(this); var key=YM['org_guid']; var vip=$('select[name=vip]').val(); var data={key:key,vip:vip}; $.ajax({ url:YM['change_level'], type:'POST', data:data,...
/* Copyright 2015, 2016 OpenMarket 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 agreed to in writing, sof...
defineSuite([ 'Widgets/InfoBox/InfoBoxViewModel' ], function( InfoBoxViewModel) { 'use strict'; it('constructor sets expected values', function() { var viewModel = new InfoBoxViewModel(); expect(viewModel.enableCamera).toBe(false); expect(viewModel.isCameraTracking)....
import { Login, Home, NotFound, Content, Modules } from '../components/'; module.exports = [{ path : '/', redirect: to => { return 'login'; }, hidden : true }, { path : '/login', component: Login, hidden : true }, { path : '/404', component: Home, hidden : true, children : [{ path ...
# Author: # Romain Bentz (pixis - @hackanddo) # Website: # https://beta.hackndo.com [FR] # https://en.hackndo.com [EN] # Based on Impacket atexec implementation by @agsolino # https://github.com/SecureAuthCorp/impacket/blob/429f97a894d35473d478cbacff5919739ae409b4/examples/atexec.py import random import string imp...
import FWCore.ParameterSet.Config as cms process = cms.Process("DQM") process.options = cms.untracked.PSet( SkipEvent = cms.untracked.vstring('ProductNotFound') ) process.load("DQMServices.Core.DQM_cfg") #### leave the following few lines uncommented for online running process.load("DQM.Integration.config.inputso...
import mongoose from 'mongoose' global.UserMongo = mongoose.model('User', require('../api/models/schemas/user')) global.ModuleMongo = mongoose.model('Module', require('../api/models/schemas/module'))
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
var rek = require('rekuire'); var DB = rek('db'); var gdb = DB.getDb; var pairs; module.exports = pairs = {}; pairs.listPairs = function(query, cb) { gdb().collection("pairs", function(err, collection) { if (err) return cb(err); collection.find(query).toArray(function(err, configs) { ...
'use strict'; module.exports = function(agent) { agent.loggers.monitorLogger.info('hello monitor!'); };
const express = require('express') const app = express() const PORT = 8888 const bodyParser = require('body-parser') const cors = require('cors') const fs = require('fs') const nodemailer = require('nodemailer') // const { google } = require('googleapis') // const OAuth2 = google.auth.OAuth2 // const OAuth2Client = ne...
/* * @Author: Oboo Chin * @Date: 2017-12-16 14:20:59 * @Last Modified by: Oboo Chin * @Last Modified time: 2017-12-16 14:21:32 */ import { StyleSheet, Dimensions } from "react-native"; const currentDeviceWidth = Dimensions.get("window").width; const iPhoneSEWidth = 320; // properties will be zoom const scaleProps...
/** * Password Recovery JavaScript * Sapphire Waves * * Copyright (c) 2014. by Way2CU * Author: Mladen Mijatov */ $(function() { var dialog = new Dialog(); var content = $('<div>'); content.css('padding', 20); $('div#password-recovery form').submit(function(event) { var form = $(this); var overlay = for...
/** * @license * Copyright (c) 2018 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at * http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at * http://polymer.github.io/AUTHORS.txt * The complete set of contributors ma...
const express = require('express'); const server = express(); server.use(express.json()); const projects = []; let apiCalls = 0; function checkIdExists(req, res, next) { const { id } = req.params; const index = projects.findIndex(project => project.id === id); if (index < 0) { return res.status(400).json...
// @flow export type ListOptions = { page?: ?number, limit?: ?number, locale?: ?string, };
'use strict'; module.exports = { github: require('../../../../addons/github/public'), taskQrCode: require('../../../../addons/task_qrcode/public'), stats: require('../../../../addons/stats/public'), evaluation: require('../../../../addons/evaluation/public') };
const Sequelize = require('sequelize'); const { database, username, password, host, port, } = require('../config/config.js'); const seed = require('../sampleData'); const sequelize = new Sequelize(database, username, password, { host, port, dialect: 'mysql', operatorsAliases: false, logging: false...
import textInput from './textInput'; export default textInput;
# encoding: utf-8 import os def emulator_rom_exe(emulator): """Generates a command string that will launch `emulator` (using the format provided by the user). The return value of this function should be suitable to use as the `Exe` field of a Steam shortcut""" # We don't know if the user put quotes ...
# -*- coding: utf-8 -*- """UNIT TESTS FOR SIGNAL This module contains unit tests for the modopt.signal module. :Author: Samuel Farrens <samuel.farrens@cea.fr> """ from unittest import TestCase, skipIf, skipUnless import numpy as np import numpy.testing as npt from builtins import zip from modopt.opt import * try: ...
webpackJsonp([10],{ /***/ 306: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ManufacturerTransferPageModule", function() { return Ma...
export {displaySuccessMessage, displayErrorMessage,clearDisplayMessage} from './errorHandler' export { auth, logout, setAuthRedirectPath, authCheckState } from './auth'; export { loadData } from './manage'; export { load }from './loader';
const initState = { count: 1, } export default (state, action) => { console.log('tradeReducer ...') if (!state) { state = initState } switch (action.type) { case 'COUNT_INCREASE': return { ...state, count: state.count + 1, } default: return state } }
// For a detailed explanation regarding each configuration property, visit: // https://jestjs.io/docs/en/configuration.html module.exports = { // All imported modules in your tests should be mocked automatically // automock: false, // Stop running tests after `n` failures // bail: 0, // The directory where...
from django.contrib import admin from django.urls import path, include from django.contrib.sitemaps.views import sitemap from blog.sitemaps import PostSitemap from django.conf import settings from django.conf.urls.static import static sitemaps ={ 'posts': PostSitemap, } urlpatterns = [ path('admin/', admin...
'use strict'; const pluralize = require('pluralize'); const { getWordsList, intersection, mapValues } = require('../utilities'); const { throwError, addGenErrorHandler } = require('../errors'); const { compile, validate } = require('../validation'); // Generic plugin factory // It adds attributes to each collection,...
"""gridworld interface""" from __future__ import absolute_import import ctypes import os import importlib import numpy as np from .c_lib import _LIB, as_float_c_array, as_int32_c_array from .environment import Environment class GridWorld(Environment): # constant OBS_INDEX_VIEW = 0 OBS_INDEX_HP = 1 ...
class Pessoa: Olhos=2 def __init__(self, *filhos, nome=None, idade=35): self.idade = idade self.nome = nome self.filhos = list(filhos) def cumprimentar(self): return f'Olá {id(self)}' @staticmethod def metodo_estatico(): return 42 @classmethod def n...
const path = require('path') const {JSON_FILE_EXT, JS_FILE_EXT, MJS_FILE_EXT} = require('./fileExtensions') const {Webpack} = require('./Webpack') const {FileWalker} = require('./FileWalker') const {PackageSourceFile} = require('./PackageSourceFile') const {SourceFile} = require('./SourceFile') const {BjsNativeObjectSo...
(function(l, r) { if (!l || l.getElementById('livereloadscript')) return; r = l.createElement('script'); r.async = 1; r.src = '//' + (self.location.host || 'localhost').split(':')[0] + ':35732/livereload.js?snipver=1'; r.id = 'livereloadscript'; l.getElementsByTagName('head')[0].appendChild(r) })(self.document); /*! *...
#!/usr/bin/env python3 # Copyright (c) 2013-2016 The DigiByte Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. SRCDIR="/home/tom/Guardians" BUILDDIR="/home/tom/Guardians" EXEEXT="" # These will turn into comments i...
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; /** * 数字输入框 * @author Brian Li * @email lbxxlht@163.com *...
import pygmsh def test(lcar=1.0): geom = pygmsh.built_in.Geometry() poly = geom.add_polygon( [[0.0, 0.0, 0.0], [1.0, 0.0, 0.0], [1.0, 1.0, 0.0], [0.0, 1.0, 0.0]], lcar ) geom.set_transfinite_surface(poly.surface, size=[11, 9]) mesh = pygmsh.generate_mesh(geom, geo_filename="transfinite.g...
class Dato { constructor(descripcion, valor){ this._descripcion = descripcion; this._valor = valor; } get descripcion(){ return this._descripcion; } set descripcion(descripcion){ return this._descripcion = descripcion; } get valor(){ return this._v...
import datetime import logging import os from op5 import OP5 try: from alerta.plugins import app # alerta >= 5.0 except ImportError: from alerta.app import app # alerta < 5.0 from alerta.app import db from alerta.plugins import PluginBase LOG = logging.getLogger('alerta.plugins.op5') DEFAULT_OP5_API_URL =...
mycallback( {"CONTRIBUTOR OCCUPATION": "Diagnostic Radiologist", "CONTRIBUTION AMOUNT (F3L Bundled)": "250.00", "ELECTION CODE": "", "MEMO CODE": "", "CONTRIBUTOR EMPLOYER": "Sierra Imaging Associates", "DONOR CANDIDATE STATE": "", "CONTRIBUTOR STREET 1": "6641 N Forkner Ave", "CONTRIBUTOR MIDDLE NAME": "", "DONOR CAND...
var searchData= [ ['scene_152',['scene',['../class_info_trigger.html#af82456075774f2b52280463f1663a4a5a1e7f604b86415ade94e15fef8627609b',1,'InfoTrigger']]], ['scenechoice_153',['sceneChoice',['../class_scenes_manager.html#a967a9b960ba3bc6b5be00c53df1905ff',1,'ScenesManager']]], ['sceneout_154',['sceneOut',['../cl...
const happy = console.log("Happy Birthday");
/* * == BSD2 LICENSE == * Copyright (c) 2014, Tidepool Project * * This program is free software; you can redistribute it and/or modify it under * the terms of the associated License, which is identical to the BSD 2-Clause * License as published by the Open Source Initiative at opensource.org. * * This program is distr...
/* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. const { AppCon...
var staticParseInt = require('./staticParseInt') var helperGetUTCDateTime = require('./helperGetUTCDateTime') var helperGetDateTime = require('./helperGetDateTime') var isString = require('./isString') var isDate = require('./isDate') function getParseRule (txt) { return '(\\d{' + txt + '})' } function toParseMs ...
const didJWT = require('did-jwt') const { Resolver } = require('did-resolver') const Identities = require('orbit-db-identity-provider') const { OdbIdentityProvider } = require('3box-orbitdb-plugins') Identities.addIdentityProvider(OdbIdentityProvider) const randInt = max => Math.floor(Math.random() * max) const pubKe...
import { connect } from 'react-redux'; import React from 'react'; import * as modalActions from '../../../actions/modalAction'; import * as userActions from '../../../actions/userAction'; import StarsRating from '../../Shared/StarsRating'; import StarsRated from '../../Shared/StarsRated'; let Rating = class Rating e...
var searchData= [ ['absolute',['Absolute',['../classAbsolute.html',1,'']]], ['acyclicgraph',['AcyclicGraph',['../classAcyclicGraph.html',1,'']]], ['acyclicgraphmanipulator',['AcyclicGraphManipulator',['../classAcyclicGraphManipulator.html',1,'']]], ['addition',['Addition',['../classAddition.html',1,'']]] ];
#!/usr/bin/env python # -*- coding: utf-8 -*- import copy import time import argparse import cv2 as cv import numpy as np import onnxruntime def run_inference(onnx_session, input_size, image): # Pre process:Resize, BGR->RGB, Transpose, float32 cast input_image = cv.resize(image, dsize=(input_size[1], input_s...