text
stringlengths
3
1.05M
// // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2013 Project Chrono // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file at the top level of the distribution // and at http://projectchrono.org/license-chrono.txt. // #ifnde...
/** @file Blob verifier library that uses SEV hashes table. The hashes table holds the allowed hashes of the kernel, initrd, and cmdline blobs. Copyright (C) 2021, IBM Corporation SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/BaseCryptLib.h> #include <Library/BaseLib.h> #in...
var data = { "body": "<path d=\"M11.42 3.43a5.77 5.77 0 0 0-7.64.41a5.72 5.72 0 0 0-.38 7.64a16.08 16.08 0 0 1 8.02-8.05z\" class=\"clr-i-solid--badged clr-i-solid-path-1--badged\" fill=\"currentColor\"/><path d=\"M28 27.78a13.89 13.89 0 0 0 3.21-14.39A7.46 7.46 0 0 1 22.5 6a7.52 7.52 0 0 1 .11-1.21a14 14 0 0 0-14.5 2...
# terrascript/grafana/__init__.py import warnings warnings.warn( "using the 'legacy layout' is deprecated", DeprecationWarning, stacklevel=2 ) import terrascript class grafana(terrascript.Provider): pass
""" Intersection of Linkedlist l1 = 1->2->3->2 l2 = 2->3->4 returns l = 2->3 """ def reverse(head): prev=None temp=head while(temp): next=temp.next temp.next=prev prev=temp temp=next return prev def findIntersection(head1,head2): dict={} # store all data of l...
/* firebase.auth().onAuthStateChanged(function(user) { if (user) { $(".login-cover").hide(); var dialog = document.querySelector('#loginDialog'); if (!dialog.showModal) { dialogPolyfill.registerDialog(dialog); } dialog.close(); } else { var dialog = document.querySelector('#loginDialo...
import React from 'react'; import Container from 'components/ui/Container'; import * as Styled from './styles'; const Footer = () => ( <Styled.Footer> <Container> <Styled.Links> <Styled.Link href="https://github.com/aticodein" rel="noreferrer noopener" target="_blank"> GitHub </...
import { ADD_BOOK, REMOVE_BOOK, EDIT_BOOK, UPDATE_PROGRESS, } from './index'; export const addBook = book => ({ type: ADD_BOOK, payload: book, }); export const removeBook = bookID => ({ type: REMOVE_BOOK, payload: bookID, }); export const editBook = (bookID, newBook) => ({ type: EDIT_BOOK, payload: { b...
$(document).ready(function() { var way = window.location.pathname; if(way !="/AdicionaAutores"){ buscaDados(); }else{ NextId(); }; function buscaDados() { $.getJSON("http://localhost:8000/api/autor/", function(data, status) { var sHtml = ""; $.each(data, function(k...
var _ = require("underscore"); function getStreamLinks(twitter, stream, whitelistRecord) { var player = { href: stream.value || stream, accept: ['video/*', 'audio/*', CONFIG.T.stream_apple_mpegurl, CONFIG.T.stream_x_mpegurl], rel: [CONFIG.R.player, CONFIG.R.twitter, "allow"], width...
/* * Copyright 2011 Matthias Fuchs * * 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...
'use strict'; const Package = require('../../package.json'); const internals = {}; exports.Version = function (request, h) { return 'version ' + Package.version; };
const markdownConfig = { gfm: true }; const statusConfig = { blacklist: [] }; module.exports = { app: { src: "./public/styles", engines: [ "@frctl/fractal-engine-nunjucks" ], plugins: [ require("@itrulia/fractal-component-status")(statusConfig), ...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var tablistRole = { abstract: false, accessibleNameRequired: false, baseConcepts: [], childrenPresentational: false, nameFrom: ['author'], props: { 'aria-level': null, 'aria-multiselectable': null, 'aria-orientation'...
/****************************************************************************** * * CAEN SpA - Front End Division * Via Vetraia, 11 - 55049 - Viareggio ITALY * +390594388398 - www.caen.it * ***************************************************************************//** * \note TERMS OF USE: * This program is f...
/** *********************************************************************************************************************** * Copyright (c) 2020, China Mobile Communications Group Co.,Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the ...
/* * angular-ui-bootstrap * http://angular-ui.github.io/bootstrap/ * Version: 0.14.3 - 2015-10-23 * License: MIT */ angular.module("ui.bootstrap", ["ui.bootstrap.tpls", "ui.bootstrap.collapse","ui.bootstrap.accordion","ui.bootstrap.alert","ui.bootstrap.buttons","ui.bootstrap.carousel","ui.bootstrap.dateparser","u...
/* eslint-env jest */ import cheerio from 'cheerio' import { BUILD_MANIFEST, REACT_LOADABLE_MANIFEST } from 'next/constants' import { join } from 'path' export default function(render, fetch) { async function get$(path, query) { const html = await render(path, query) return cheerio.load(html) } describ...
import React, { useState, useContext, useEffect, useCallback } from "react"; import { SwipeableDrawer, Avatar, Divider, Button, List, ListItem, ListItemIcon, ListItemText, Link as MaterialLink } from "@material-ui/core"; import { AccountCircle, Feedback, Info, FreeBreakfast, People, Sett...
# -*- coding: utf-8 -*- """ The MIT License (MIT) Copyright (c) 2015-2019 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to u...
/* * Copyright (c) Bull S.A. 2007 All Rights Reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published by the Free Software Foundation. * * This program is distributed in the hope that it would be useful, but * ...
from MonsterDiagnosisAgent import MonsterDiagnosisAgent def test(): #This will run your code against two initial test cases. test_agent = MonsterDiagnosisAgent() diseases = {"Alphaitis": {"A": "+", "B": "0", "C": "-", "D": "0", "E": "0", "F": "+", "G": "0", "H": "0", "I": "+", "...
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
// State import { state } from './../../store/index.js'; import addNewMeasurement from './addNewMeasurement.js'; import BaseAnnotationTool from './../../tools/base/BaseAnnotationTool.js'; import getActiveTool from '../../util/getActiveTool'; export default function(evt) { if (state.isToolLocked || state.isMultiPartT...
class Event: def __init__(self, time, event_type): self.time = time self.type = event_type class Type: START = 0 END = 1 class Solution: def insert(self, intervals: List[List[int]], newInterval: List[int]) -> List[List[int]]: """ 1, 3 2,2 ...
""" Provides helping function round about the news. """ import logging import arrow import transaction from dbas.database import DBDiscussionSession from dbas.database.discussion_model import User, News, sql_timestamp_pretty_print LOG = logging.getLogger(__name__) def set_news(title: str, text: str, db_user: User...
import errno import logging import os import pickle import sys from uuid import uuid4 from detectron2.utils.file_io import PathManager logger = logging.getLogger(__name__) def save_object(obj, file_name, pickle_format=2): """Save a Python object by pickling it. Unless specifically overridden, we want to sa...
# -*- coding: utf-8 -*- # Generated by Django 1.11.8 on 2018-01-13 01:11 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('subscriptions', '0001_initial'), ] operations = [ ...
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. 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 * ...
import ast #from gpiozero import LEDBoard, ButtonBoard import os class ModelAirportGPIO: def __init__(self): try: gpioPath = os.path.join(os.pardir, os.pardir, "res", "ModelAirportGPIO.txt") f = open(gpioPath, "r") s = f.read() f.close() self.layo...
#Program to teel a users in how many years they will become 100 print("Hello") print("Please enter your name") # ask for the name name = input() print("Okay {} enter your age".format(name)) #ask for the age age = int(input()) hundredIn = 100-age print("{} you will become 100 in {} years".format(name,hundredIn))
# -*- coding: utf-8 -*- # # Copyright (c) 2016 - 2019 -- Lars Heuer - Semagia <http://www.semagia.com/>. # All rights reserved. # # License: BSD License # """\ Constants. Internal module. May change without further warning. """ from collections import namedtuple ALPHANUMERIC_CHARS = br'0123456789ABCDEFGHIJKLMNOPQRSTU...
"""HTTP Validation""" import time import urlparse import os import requests import copy from alarmageddon.validations.validation import Validation, Priority from alarmageddon.validations.json_expectations import \ ExpectedJsonValueLessThan, \ ExpectedJsonValueGreaterThan, \ ExpectedJsonEquality from alar...
import { useContext } from 'react' import SelectedPointContext from '../contexts/SelectedPointContext' export default function LinkToPoint({ point }) { const { setSelectedPoint } = useContext(SelectedPointContext) return <a onClick={_ => setSelectedPoint(point.landscapeId)}>{point.name}</a> }
import * as d3 from 'd3'; import "d3-selection-multi"; import { Defaults } from './defaults'; import { AxisLeft } from './helpers/axisConverter'; import * as styleSheet from './styles/main.css'; import { Helper } from "./Helper"; /** * @name LineGraph * @description * @extends HTMLElement * Generic line graph co...
# Copyright (c) 2017, Frappe Technologies Pvt. Ltd. and Contributors # License: MIT. See LICENSE import frappe from frappe import _ import pyotp, os from frappe.utils.background_jobs import enqueue from pyqrcode import create as qrcreate from io import BytesIO from base64 import b64encode, b32encode from frappe.utils i...
# # # Copyright (C) 2010, 2011, 2012 Google Inc. # 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, # this list of con...
#pragma once namespace Papyrus { bool F4SEAPI Bind(RE::BSScript::IVirtualMachine* a_vm); }
(window.webpackJsonp=window.webpackJsonp||[]).push([[60],{15:function(t,e,n){"use strict";var r=n(0),s=Object(r.a)({},(function(){var t=this.$createElement;return(this._self._c||t)("button",{staticClass:"btn btn-primary itrn_add_btn back_btn text-uppercase font-weight-bold"},[this._t("default",[this._v("submit")])],2)}...
/* * Copyright (c) 2014, Intel Corporation * All rights reserved. * * Author: Andrew Boie <andrew.p.boie@intel.com> * Jeremy Compostella <jeremy.compostella@intel.com> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditi...
# # Copyright (c) 2019, Neptune Labs Sp. z o.o. # # 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 agr...
09.5;
const now = new Date(); const todayYear = now.getFullYear(); const todayMonth = now.getMonth() + 1; const todayMonthDay = now.getDate(); var todayReminders = []; function closeReminder(event) { event.target.parentElement?.remove(); } function showReminder(reminderEvent) { document.getElementById("beep")?.play...
SocialStream.Timeline = (function(SS, $, undefined){ // FIXME: DRY!! var initCallbacks = []; var createCallbacks = []; var addInitCallback = function(callback){ initCallbacks.push(callback); } var addCreateCallback = function(callback){ createCallbacks.push(callback); } var init = function(){ $.each(in...
from office365.directory.extensions.extended_property import SingleValueLegacyExtendedProperty from office365.entity_collection import EntityCollection from office365.outlook.calendar.attendee import Attendee from office365.directory.extensions.extension import Extension from office365.outlook.calendar.dateTimeTimeZone...
from flask import Blueprint bp = Blueprint("api", __name__) from app.api import routes # noqa: F401
/*! * This file is part of Cytoscape.js 2.4.7. * * Cytoscape.js is free software: you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by the Free * Software Foundation, either version 3 of the License, or (at your option) any * later version. * * Cyto...
// Generated by CoffeeScript 1.7.0 var Transformer, nextTick, stream, timers; stream = require('stream'); timers = require('timers'); nextTick = timers.setImmediate ? timers.setImmediate : process.nextTick; /* Transforming data ================= Transformations may occur synchronously or asynchronously depending ...
export default (req, res) => { req.status(200).json({ message: 'success' }); };
exports.level = { "disabledMap": { "git cherry-pick": true, "git revert": true }, "compareOnlyMasterHashAgnosticWithAsserts": true, "goalAsserts": { "master": [ function(data) { return data.C2 > data.C3; }, function(data) { return data.C2 > data.C1; } ] ...
from pyhpp.node import Node from pyhpp.model import Model from pyhpp.tools import Tools scenario = { "dimension": {"x": 10, "y": 10, "z": 10}, "empty_data": {}, "no_data": {"size": 0, "x": [], "y": [], "z": []}, "data": { "size": 16, "x": [4, 5, 6, 7, 4, 5, 6, 7, 4, 5, 6, 7, 4, 5, 6, 7]...
# Generated by Django 3.2.4 on 2021-07-06 17:14 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main', '0019_auto_20210706_1809'), ] operations = [ migrations.AlterField( model_name='social', name='my_facebook', ...
var http = require('http') var serveStatic = require('serve-static') var finalhandler = require('finalhandler') var serve = function(port) { // Serve the built files var serve = serveStatic(__dirname + '/out', {'index': ['index.html', 'index.htm']}) // Create server var server = http.createServer(func...
const {test} = require('@alexbosworth/tap'); const {createCluster} = require('./../macros'); const {getBackup} = require('./../../'); const {setupChannel} = require('./../macros'); const {verifyBackup} = require('./../../'); // Getting a channel backup should return a channel backup test(`Get channel backup`, async (...
import os import setuptools setuptools.setup( name='tfbldr', version='0.0.1', packages=setuptools.find_packages(), author='Kyle Kastner', author_email='kastnerkyle@gmail.com', description='Deep Learning tools for Tensorflow', long_description=open(os.path.join(os.path.dirname( os.pa...
from apispec import APISpec, BasePlugin from apispec.ext.marshmallow import MarshmallowPlugin from apispec_webframeworks.flask import FlaskPlugin import json from app import app from pprint import pprint from importlib import import_module from nfd.schemata import submodules as schemata from app import gen_url from fl...
import lob import requests import json # Load api keys from local config file keys = json.load(open('keys.json')) lob.api_key = keys.get('lob_api_key') civic_api_key = keys.get('civic_api_key') # Ask user for input args def parse_input_args(): from_address = {} message_payload = '' print 'Enter from add...
from __future__ import annotations __copyright__ = """ Copyright (C) 2020 Matt Wala Copyright (C) 2020-21 Kaushik Kulkarni Copyright (C) 2020-21 University of Illinois Board of Trustees """ __license__ = """ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated d...
# -*- coding: utf-8 -*- # https://github.com/RDFLib/rdflib-jsonld/blob/feature/json-ld-1.1/rdflib_jsonld/util.py import typing as t if t.TYPE_CHECKING: import json else: try: import json assert json # workaround for pyflakes issue #13 except ImportError: import simplejson as json ...
(function($){ $(function(){ $('.button-collapse').sidenav; $('.scrollspy').scrollSpy; /*** Animate word ***/ //set animation timing var animationDelay = 2500, //loading bar effect barAnimationDelay = 3800, barWaiting = barAnimationDelay - 3000, //3000 is the duration of the transition on the lo...
// // BaseController.h // CSLUILibraryDemo // // Created by SZDT00135 on 2019/11/19. // Copyright © 2019 csl. All rights reserved. // #import "SLViewController.h" NS_ASSUME_NONNULL_BEGIN @interface BaseController : SLViewController @end NS_ASSUME_NONNULL_END
#! env python import argparse import json import re import shutil import tarfile from pathlib import Path import requests parser = argparse.ArgumentParser() parser.add_argument('--ui', action='store_true', help='Enabled to update swagger ui.') parser.add_argument('--editor', action='store_true', ...
/* Copyright (c) 1997-1999 Miller Puckette. * For information on usage and redistribution, and for a DISCLAIMER OF ALL * WARRANTIES, see the file, "LICENSE.txt," in this distribution. */ #include <stdlib.h> #include "m_pd.h" #include "s_stuff.h" #include "g_canvas.h" #include <stdio.h> #include <errno.h> #ifdef HAVE...
import FWCore.ParameterSet.Config as cms CSCTightHaloFilter = cms.EDFilter( "CSCTightHaloFilter", taggingMode = cms.bool(False), )
// // Created by Maksym Maisak on 2019-01-09. // #ifndef ENGINE_GLSETUNIFORM_H #define ENGINE_GLSETUNIFORM_H #include "glm.h" #include <GL/glew.h> #include "Texture.h" /// A wrapper around some of the glUniform* functions. namespace gl { template<typename T> void setUniform(GLint location, const T& value); ...
import axios from "axios"; export const FETCH_PLANT_START = "FETCH_PLANT_START"; export const FETCH_PLANT_SUCCESS = "FETCH_PLANT_SUCCESS"; export const FETCH_PLANT_FAILED = "FETCH_PLANT_FAILED"; export const ADD_PLANT_SUCCESS = "ADD_PLANT_SUCCESS"; export const ADD_PLANT_FAILED = "ADD_PLANT_FAILED"; export const getP...
require('dotenv').config({ path: __dirname + '/../.env' }) const VONAGE_API_KEY = process.env.VONAGE_API_KEY const VONAGE_API_SECRET = process.env.VONAGE_API_SECRET const VONAGE_APPLICATION_ID = process.env.VONAGE_APPLICATION_ID const Vonage = require('@vonage/server-sdk') const vonage = new Vonage({ apiKey: ...
import _plotly_utils.basevalidators class TextValidator(_plotly_utils.basevalidators.StringValidator): def __init__(self, plotly_name='text', parent_name='splom', **kwargs): super(TextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, array_ok...
/* Copyright 2020 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "battery_smart.h" #include "charge_manager.h" #include "charger.h" #include "chipset.h" #include "common.h" #include "console.h" #include ...
# Copyright 2020-2021 Leibniz Information Centre for Economics # # 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 applic...
"use strict"; var dom_adapter_1 = require('angular2/src/platform/dom/dom_adapter'); /** * A service that can be used to get and set the title of a current HTML document. * * Since an Angular 2 application can't be bootstrapped on the entire HTML document (`<html>` tag) * it is not possible to bind to the `text` pro...
// Copyright (c) 2021, Shariq and contributors // For license information, please see license.txt frappe.ui.form.on('Delivery Note', { refresh: function(frm) { cur_frm.add_custom_button(__("Sales Invoice"), function() { get_doc(cur_frm.docname).then( function(result) { frappe.model.with_doctype('Sales ...
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) import glob import os import zipfile from spack import * class PyFlitCore(PythonPackage): """Distribution-building ...
/* * lbcd load module to check NNTP server. * * Written by Larry Schwimmer * Copyright 1997, 1998, 2008, 2012 * The Board of Trustees of the Leland Stanford Junior University * * See LICENSE for licensing terms. */ #include <config.h> #include <portable/system.h> #include <server/internal.h> #include <mod...
import React, { useState } from 'react'; import { useHistory } from 'react-router-dom'; import './Emergency.css' import axios from 'axios'; import Ambulance from '../assets/ambulance.svg' import { Card, CardBody } from 'reactstrap' import { backend_url } from '../config'; const Emergency = () => { const history = ...
import numpy as np import scipy as sp import scipy.linalg import scipy.sparse.linalg from scipy.linalg.lapack import zgetrs from .chebyshev import get_chebyshev_nodes from .fast_dot import fast_dot from .single_liners import concat, reshape_to_vec from .gmres import GmresSolver default_gmres_type = 'right_scipy' def ...
import React, { useContext, useEffect, useRef, useState, useMemo } from 'react'; import { useLocalStorage, writeStorage } from '@rehooks/local-storage'; import { useDispatch, useSelector } from 'react-redux'; import minimizeMapShadow from '../assets/images/map/minimizeMapShadowFull.png'; import minimizeMapShadowDis...
#include <ucnoid/Config> #if UCNOID_NOT_SUPPORTED #define UCNOID_GETTEXT_DOMAIN_NAME "CnoidUtil-" UCNOID_VERSION_STRING #endif // UCNOID_NOT_SUPPORTED #include <ucnoid/GettextUtil>
from collections import namedtuple from spinn.util.data import * ModelSpec_ = namedtuple("ModelSpec", ["model_dim", "word_embedding_dim", "batch_size", "vocab_size", "seq_length", "model_visible_dim"]) def ModelSpec(*args, **kwargs): ar...
/** * @param {String} eventName * @param {String} eventId * @return {string} */ export default function (eventName, eventId,) { return 'zrcms-' + eventName + ':' + eventId; }
# Copyright 2019 Google LLC # # 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, ...
/* stb_image - v2.27 - public domain image loader - http://nothings.org/stb no warranty implied; use at your own risk Do this: #define STB_IMAGE_IMPLEMENTATION before you include this file in *one* C or C++ file to create the implementation. // i.e. it should look like this: #include ... #...
// @flow import type {FileSystem, ReaddirOptions} from './types'; import type {FilePath} from '@parcel/types'; import type { Event, Options as WatcherOptions, AsyncSubscription, } from '@parcel/watcher'; import {registerSerializableClass} from '@parcel/utils'; import packageJSON from '../package.json'; function...
'use strict' const _removeFromArray = require('./frame/_remove_array_from_array') class AcceptedColors { constructor () { this.cmyk = {} this.grayscale = {} this.hex3 = {} this.hex4 = {} this.hex6 = {} this.hex8 = {} this.html = {} this.hsl = {} ...
(function($) { /* "use strict" */ var dlabSparkLine = function(){ var screenWidth = $(window).width(); function getSparkLineGraphBlockSize(selector) { var screenWidth = $(window).width(); var graphBlockSize = '100%'; if(screenWidth <= 768) { screenWidth = (screenWidth < 300 )?screenWidt...
import React from "react" import RichText from "./richText" import styled from "styled-components" import { Link } from "gatsby" const CallToActionBlockWrapper = styled.section` padding: 20px; background: #eee; border-radius: 20px; margin: 20px 0; .call-to-action-content { display: flex; .featured-i...
/* SortTable version 2 7th April 2007 Stuart Langridge, http://www.kryogenix.org/code/browser/sorttable/ Instructions: Download this file Add <script src="sorttable.js"></script> to your HTML Add class="sortable" to any table you'd like to make sortable Click on the headers to sort Thanks to many,...
from numpy import dot, sum, tile, exp, log, pi, shape, reshape from numpy.linalg import inv, pinv, LinAlgError, det import logging logger = logging.getLogger("KalmanFilter") # X: state vector at k-1 # P: covariance matrix at k-1 # A: state transition matrix # Q: process noise covariance matrix # B: input ...
import React from 'react'; import PropTypes from 'prop-types'; import { KuiPopover, KuiContextMenuPanel, KuiKeyboardAccessible, } from 'ui_framework/components'; import { EditMenuItem } from './edit_menu_item'; import { DeleteMenuItem } from './delete_menu_item'; import { ExpandOrCollapseMenuItem } from './expan...
var callbackArguments = []; var argument1 = function callback(a,b,c) { callbackArguments.push(JSON.stringify(arguments)) base_0[0][2] = ["Z","%",")_sD"] argument3[1.0546776681946723e+308] = 9.230947610879521e+307 return a/b/c }; var argument2 = function callback(a,b,c) { callbackArguments.push(JSON.stringify(ar...
from .Detection import Detection import pandas as pd #def Detection2(data_pre_all,outbreak_before,outbreak_after,pvalue_cusum_k): # Detection={};recent_data={} # for i,j in zip(range(len(range(outbreak_before,outbreak_after-3))),range(outbreak_before,outbreak_after-3)): # data_pre=np.append(aba[:j],ARIMA_GR...
import React from 'react'; import StatusAlertSmall from 'wix-ui-icons-common/StatusAlertSmall'; import LabelledElement from '../LabelledElement'; import Input from '../Input'; import Text from '../Text'; import PropTypes from 'prop-types'; import { classes } from './InputWithLabel.st.css'; import dataHooks from './dat...
'use strict'; const Emoji = require('./Emoji'); const ActivityFlags = require('../util/ActivityFlags'); const { ActivityTypes } = require('../util/Constants'); const Util = require('../util/Util'); /** * Activity sent in a message. * @typedef {Object} MessageActivity * @property {string} [partyID] Id of the party ...
/* * HTTP Client wrapper v1.1.1 * * This library provides ESP8266 to perform REST API by GET PUT, POST, PATCH, DELETE data from/to with Google's Firebase database using get, set, update * and delete calls. * * The library was test and work well with ESP32s based module and add support for multiple stream event...
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-03-29 18:35 from __future__ import unicode_literals from django.db import migrations def add_fingerprints(apps, schema_editor): """Add fingerprints to Jobs and Freelancers.""" from utils.text import generate_fingerprint Jobs = apps.get_model('...
/** This file gets loaded along with the rest of Ext library at the initial load. It is common for both Ext JS and Touch; Ext JS-specific stuff is in ext.js. At this time the following constants have been set by Rails: Netzke.RelativeUrlRoot - set to ActionController::Base.config.relative_url_root Netzke.Relative...
module.exports = { 'lazy loading': function (browser) { browser .url('http://localhost:8080/lazy-loading/') .waitForElementVisible('#app', 1000) .assert.count('li a', 4) .assert.containsText('.view', 'home') .click('li:nth-child(2) a') .assert.containsText('.view', 'Thi...
export function showAlertDialog() { // >> dialog-alert const alertOptions = { title: "Race selection", message: "Race chosen: Unicorn", okButtonText: "OK", cancelable: false // [Android only] Gets or sets if the dialog can be canceled by taping outside of the dialog. }; ...
function ParticleWhammerEffect() { this.calloutFunction = null; this.centerX = halfWidth; this.centerY = halfHeight; this.radius = 200; this.rotationTime = 1000; this.secondRotationTime = 12000; this.tickRate = 1000 / 61; let lastUpdate = 0; this.render = timestamp => { if(ti...
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, April 14, 2021 at 2:29:34 PM Mountain Standard Time * Operating System: Version 14.4 (Build 18K802) * Image Source: /System/Library/Frameworks/GameController.fr...