text
stringlengths
3
1.05M
"use strict"; const roomlevel_1 = require("./enums.roomlevel"); const RoomRepository = require("./repository.Room"); function getAllRoomsBeingDismantled() { let rooms = []; for (let roomKey in Game.rooms) { let room = Game.rooms[roomKey]; if (room.controller !== undefined && room.controller.my =...
var v0 = (function (){ (this.parent) = null; (this.body1) = null; (this.body2) = null; (this.addedToIsland) = false; }); var v1 = (function (v1){ (v1.registerA) |= v1.registerD; (v1.FZero) = (v1.registerA) == (0); (v1.FSubtract) = (v1.FCarry) = (v1.FHalfCarry) = false; }); // GenBlkBrick for(var v2 = 0;(v2) < (3);v2++)...
import { getServerSideProps } from "../pages/performance"; describe("/performance", () => { const anonymousReq = { headers: { cookie: "", }, }; const authenticatedReq = { headers: { cookie: "token=123", }, }; let res; beforeEach(() => { res = { writeHead: jest.fn()....
//SainSmart ST7735 1.8" TFT LCD 128x160 pixel class SainSmartTFT18LCD { constructor() { this.keys = ['vcc', 'gnd', 'scl', 'sda', 'dc', 'res', 'cs']; this.required = ['scl', 'sda', 'dc', 'res', 'cs']; this.displayIoNames = { vcc: 'vcc', gnd: 'gnd', scl: 'scl', sda: 'sda', dc:...
"use strict"; // Require the max-api module to connect to Max via node.script const maxAPI = require("max-api"); var add = require("vectors/add")(2); var sub = require("vectors/sub")(2); var mult = require("vectors/mult")(2); var div = require("vectors/div")(2); var mag = require("vectors/mag")(2); var dot = require("...
# https://atcoder.jp/contests/abc157/tasks/abc157_c N, M = map(int, input().split()) start = 10 ** (N - 1) if N != 1 else 0 end = start * 10 - 1 if N != 1 else 9 if M == 0: print(start) exit() sc_set = set() for _ in range(M): s, c = map(int, input().split()) sc_set.add((s, c)) for i in range(start, e...
import numpy as np from scipy.linalg import cholesky def simulate_b(N_sim, N_steps, B_0, mu, sigma_B, dt): """ Parameters ---------- N_sim : TYPE DESCRIPTION. N_steps : TYPE DESCRIPTION. B_0 : TYPE DESCRIPTION. mu : TYPE DESCRIPTION. sigma_B : TY...
/* * Appcelerator Titanium Mobile * Copyright (c) 2021-Present by Axway, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. */ /* global OS_ANDROID, OS_VERSION_MAJOR */ /* eslint-env mocha */ /* eslint no-unused-ex...
const filterByTerm = require("../filterByTerm") describe('Filter function', function () { test("it should filter by a search term (link)", () => { const input = [ { id: 1, url: "https://www.url1.dev" }, { id: 2, url: "https://www.url2.dev" }, { id: 3, url: "https://www.link3...
jQuery(document).ready(function(){ var scripts = document.getElementsByTagName("script"); var jsFolder = ""; for (var i= 0; i< scripts.length; i++) { if( scripts[i].src && scripts[i].src.match(/initslider-1\.js/i)) jsFolder = scripts[i].src.substr(0, scripts[i].src.lastIndexOf("/") +...
from tkinter import * def colorgen(): while True: yield "red" yield "blue" class Application(Frame): def __init__(self, master=None): colors = colorgen() Frame.__init__(self, master) self.master.rowconfigure(0, weight=1) self.master.columnconfigure(...
var fs = require('fs'), inherits = require('util').inherits, path = require('path'); var THROW_CONFLICTS = true; function getPluginPath(config) { return (config && config.pluginPath) || path.join(__dirname, '../plugins'); } function PluginError(message) { this.name = 'Plugin Error'; this.message = this...
import { createSvgIcon } from '@mui/material/utils'; export const Menu = () => { return ( <svg width="24" height="26" viewBox="0 0 24 26" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M12 15.0265C13.1046 15.0265 14 14.1033 14 12.9643C14 11.8254 13.1046 10.9021 12 10.9021C10.8954 10.9021 10 11.8254...
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("omi")); else if(typeof define === 'function' && define.amd) define(["omi"], factory); else if(typeof exports === 'object') exports["signal-wifi3-bar-lock-r...
document.getElementById("heading").innerText = "Javascript running inside docker";
/** * Helper function to get the remaining corners of two coordinates. * * @param {array} ne north eastern coordinates. Not a strict requirement, but preferred * @param {array} sw south western coordinates. Not a strict requirement, but preferred * * @returns {array} all corners in an array starting from NW, NE...
describe('Visualization', function () { var angular = require('angular'); var $ = require('jquery'); var _ = require('lodash'); var ngMock = require('ngMock'); var expect = require('expect.js'); var sinon = require('auto-release-sinon'); var Private; var Vis; var vis; var filter; var init; be...
export default from './FormControl.js'
# -*- coding: utf-8 -*- import DataObj import predict_utils import copy import math from const_map import VM_TYPE_DIRT, VM_PARAM, VM_CPU_QU, VM_MEM_QU import packing_utils_v2 global res_use global vm_size global vm global local_pm_size global pm global try_result global threshold global vm_map global pm_name global o...
import * as tf from '@tensorflow/tfjs'; const all_labels = ['CNV', 'DME', 'DRUSEN', 'NORMAL'] const MODEL_HELPERS = { model: { load_roctnet: async () => { const roctnet = await tf.loadLayersModel('http://[::]:8080/pre_trained/roctnet18/model.json'); return roctnet; }, ...
import React from 'react'; import PropTypes from 'prop-types'; const IssueIcon = ({ className }) => ( <svg height="1em" width="0.875em" className={className}> <path d="M7 2.3c3.14 0 5.7 2.56 5.7 5.7S10.14 13.7 7 13.7 1.3 11.14 1.3 8s2.56-5.7 5.7-5.7m0-1.3C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7S10.86 1 7 1z m1 3H6v...
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ import React from 'react'; import { SummaryStatus } from '../../summary_statu...
import React from 'react'; import {render, fireEvent} from '@testing-library/react'; import InputNumber from './index'; class TestInput extends React.Component { state = { value: "" }; handleChange = e => { this.setState({[e.target.name]: e.target.value}); } render() { ret...
#!/usr/bin/env python2 # Copyright (c) 2014-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. # # Test rpc http basics # from test_framework.test_framework import GasbitTestFramework from test_frame...
define([ 'toolbars/toolbar', 'icons', 'modelviews/objecttree', ], function( Toolbar, icons, objectTree) { function stringifyVector(vec){ return '' + vec.x + ' ' + vec.y + ' ' + vec.z; } function stringifyVertex(vec){ return ' vertex ' + stringifyVector(vec) + ...
import { StyleSheet } from 'react-native'; import { colors } from '../../styles'; export default StyleSheet.create({ container: { flex: 1, backgroundColor: colors.white, }, placeholder: {}, header: { alignItems: 'center', justifyContent: 'center', backgroundColor: colors.green, flex: 1,...
#!/usr/bin/env python3.8 # Released under the MIT License. See LICENSE for details. # """Functionality related to android builds.""" from __future__ import annotations import os import sys import subprocess from typing import TYPE_CHECKING import efrotools if TYPE_CHECKING: from typing import List, Optional, Set...
$(document).ready(function(){ $("#dd").click(function(){ $("#dd").removeAttr('style').html('You have not submitted an answer for any of the assignments,' + ' or if you have completed at least one assignment, you have not received a score yet. Please be patient!') }); });
var century, year, month, dayOfMonth, dayOfWeek, day; //Get input function getInput(){ century = parseInt(document.getElementById("century").value); year = parseInt(document.getElementById("year").value); month = parseInt(document.getElementById("month").value); dayOfMonth = parseInt(document.getElementById("mo...
/********************************************************************************************************************** * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * ...
var merge = require('./merge'); var RollbarJSON = {}; var __initRollbarJSON = false; function setupJSON() { if (__initRollbarJSON) { return; } __initRollbarJSON = true; if (isDefined(JSON)) { if (isNativeFunction(JSON.stringify)) { RollbarJSON.stringify = JSON.stringify; } if (isNativeFu...
const { SlashCommandBuilder } = require('@discordjs/builders'); module.exports = { data: new SlashCommandBuilder() .setName('server') .setDescription('Replies with Server info'), async execute(interaction, nanako) { interaction.reply(`Server info: ${interaction.guild.name}\nTotal numbers: ${interaction.guild.m...
import numpy as np from pyriemann.estimation import (Covariances, ERPCovariances, XdawnCovariances, CospCovariances, HankelCovariances, Coherences, Shrinkage) import pytest def test_covariances(): """Test Covariances""" x = np.random.randn(2,...
"use strict"; const debug = require("debug"); const debugLog = debug("btcexp:router"); const express = require('express'); const csurf = require('csurf'); const router = express.Router(); const util = require('util'); const moment = require('moment'); const qrcode = require('qrcode'); const bitcoinjs = require('bitco...
/*! * jQuery JavaScript Library v1.3rc1 * http://jquery.com/ * * Copyright (c) 2009 John Resig * Dual licensed under the MIT and GPL licenses. * http://docs.jquery.com/License * * Date: 2009-01-11 21:05:50 -0500 (Sun, 11 Jan 2009) * Revision: 6089 */ (function(){ var // Will speed up references to window, ...
export default { name: 'main-app', template: `<RouterView />` }
/** * EasyUI for jQuery 1.9.7 * * Copyright (c) 2009-2020 www.jeasyui.com. All rights reserved. * * Licensed under the freeware license: http://www.jeasyui.com/license_freeware.php * To use it on other terms please contact us: info@jeasyui.com * */ (function($){ function _1(_2){ var _3=$.data(_2,"treegrid"); v...
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ re...
/* The MIT License (MIT) Copyright (C) 2017 Vsevolod Stakhov <vsevolod@highsecure.ru> 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 ri...
import React, { Component } from 'react'; import PageTitle from '../pageTitle'; // REDUX import { connect } from 'react-redux'; import * as actions from '../../actions'; import PaymentForm from './paymentForm'; class Payment extends Component { componentDidMount() { this.props.setHeaderLinks([]); ...
var callbackArguments = []; var argument1 = function() { callbackArguments.push(arguments) return true; }; var argument2 = true; var argument3 = function() { callbackArguments.push(arguments) return "‹Œ"; }; var argument4 = [1.7976931348623157e+308,969,59,-1,213]; var argument5 = r_0; var argument6 = funct...
/** * HYPERLOOP GENERATED - DO NOT MODIFY * * This source code is Copyright (c) 2018 by Appcelerator, Inc. * All Rights Reserved. This code contains patents and/or patents pending. */ var $dispatch = Hyperloop.dispatch, $init, $imports; /** * CoreText//Applications/Xcode.app/Contents/Developer/Platforms/iPhon...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var React = _interopRequireWildcar...
import React, { useEffect, useCallback, useState } from 'react'; import PropTypes from 'prop-types'; import { TeamItemContainer, TeamName, TeamResponsibility, TeamBio, TeamAvatar, PostItemLink, } from './styled'; import api from '../../services/api'; const PostItem = ({ link, avatar, name, responsibility }...
/** * Copyright IBM Corp. 2019, 2020 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. * * Code generated by @carbon/icon-build-helpers. DO NOT EDIT. */ import { _ as _objectWithoutProperties, I as Icon, a as _extends } from '../I...
/* * Copyright (c) 2015 Jonathan Perkin <jonathan@perkin.org.uk> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS ...
/** * Eco Compiler v1.1.0-rc-3 * http://github.com/sstephenson/eco * * Copyright (c) 2011 Sam Stephenson * Released under the MIT License */ this.eco=function(e){return function t(n){var r,i={id:n,exports:{}};if(r=e[n])return r(i,t,i.exports),i.exports;throw"Cannot find module '"+n+"'"}}({eco:function(e,t,n){(fun...
# Copyright 2020 JD.com, Inc. Galileo 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 a...
/*! * CustomWiggle 3.0.0 * https://greensock.com * * @license Copyright 2008-2019, GreenSock. All rights reserved. * Subject to the terms at https://greensock.com/standard-license or for * Club GreenSock members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com */ /* eslint-d...
$(function(e){ //______summernote $('.summernote').summernote({ placeholder: '', tabsize: 1, height: 200, toolbar: [ ['style', ['style']], ['font', ['bold', 'underline', 'clear']], ['color', ['color']], ['para', ['ul', 'ol']], ['insert', ['link', 'picture', 'video']], ['view', ['fullscreen'...
// This file configures the development web server // which supports hot reloading and synchronized testing. // Require Browsersync along with webpack and middleware for it import browserSync from 'browser-sync'; // Required for react-router browserHistory // see https://github.com/BrowserSync/browser-sync/issues/204#...
const Item = require("../models"); exports.itemsByCategory = (req, res) => { Item.find({ category: req.params.category }).exec((err, items) => { if (err || !items) { return res.status(400).json({ error: "No items found for category", }); } res.json({ items }); }); }; exports.create...
import sourcemaps from 'rollup-plugin-sourcemaps'; import license from 'rollup-plugin-license'; const path = require('path'); export default { output: { format: 'es', sourcemap: true }, plugins: [ sourcemaps(), license({ sourceMap: true, banner: { ...
# coding=utf8 from __future__ import unicode_literals, absolute_import, division, print_function """ This is the SpiceBot events system. We utilize the Sopel code for event numbers and self-trigger the bot into performing actions """ import sopel import functools import threading import time import inspect # TODO f...
from .base import CustomUserPopulateCommand class Command(CustomUserPopulateCommand): def handle_custom_user(self, from_app_label, from_model_name, to_app_label, to_model_name): self.create_populate_migration(from_app_label, from_model_name, ...
import {EventActions} from "@drizzle/store"; import { toast } from 'react-toastify' // Due to an issue with metamask we get several fires for teh same event: // https://github.com/MetaMask/metamask-extension/issues/6668 // To avoid that we just make sure that we do not retrigger let processed_events = new Set(); cons...
# -*- coding: utf-8 -*- from __future__ import print_function import argparse import os import stat import sys # find the import for catkin's python package - either from source space or from an installed underlay if os.path.exists(os.path.join('/opt/ros/melodic/share/catkin/cmake', 'catkinConfig.cmake.in')): sys....
import pytest import pint.formatting as fmt @pytest.mark.filterwarnings("ignore::DeprecationWarning:pint*") @pytest.mark.parametrize( ["format", "default", "flag", "expected"], ( pytest.param(".02fD", ".3fP", True, (".02f", "D"), id="both-both-separate"), pytest.param(".02fD", ".3fP", False, ...
/*! * jquery-resource v0.0.0 - Support for RESTful. * Copyright 2015 Hironobu Igawa * license MIT */ var resource; (function (resource) { 'use strict'; /** * @class Http HTTP通信 */ var Http = (function () { function Http() { } /** * @function execute 通信処理を行う。 ...
import React from 'react' import { render } from 'react-dom' import Root from './routes/Root' import {store, persistor} from './configStore' import './styles/all.css' render( <Root store={store} persistor={persistor} />, document.getElementById('root') )
import { useState } from 'react' import styled from 'styled-components' import Modal from 'react-modal' import PokedexAbilitiesModal from './PokedexAbilitiesModal' const PokedexAbilitiesItemStyle = styled.div` width: 100%; height: 50px; border-bottom: 0.5px solid #bbb; position: relative; &:hover ...
'use strict' module.exports = nix nix.displayName = 'nix' nix.aliases = [] function nix(Prism) { Prism.languages.nix = { comment: /\/\*[\s\S]*?\*\/|#.*/, string: { pattern: /"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/, greedy: true, inside: { interpolation: { ...
/** * @license Highcharts JS v5.0.0 (2016-09-29) * Exporting module * * (c) 2010-2016 Torstein Honsi * * License: www.highcharts.com/license */ (function(factory) { if (typeof module === 'object' && module.exports) { module.exports = factory; } else { factory(Highcharts); } }(function...
export { default as Switch } from './switch';
import argparse import datetime import sys import torch from dataset import LuxorDataset from model import Net parser = argparse.ArgumentParser() parser.add_argument('--test_dataset_path', type=str, default="../l/l2", dest='test_dataset_path') parser.add_argument('--model_state_dict_path', type=str, default="statedi...
from indicators.SingleValueIndicator import SingleValueIndicator class WMA(SingleValueIndicator): def __init__(self, period, timeSeries = None): super(WMA, self).__init__() self.period = int(period) self.denomSum = period * (period + 1) / 2.0 self.initialize(timeSeries) def _calculate(self): if len(sel...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); 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]; } }...
pbjsChunk([257],{ /***/ 126: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(127); /***/ }), /***/ 127: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmo...
const { omit } = require('lodash') const config = { presets: [ [ require.resolve('@babel/preset-env'), { targets: { electron: '6.0', }, loose: true, }, ], require.resolve('@babel/preset-react'), require.resolve('@babel/preset-typescript'), ], pl...
def score(input): if (input[12]) >= (9.72500038): if (input[12]) >= (19.8299999): var0 = 1.1551429 else: var0 = 1.8613131 else: if (input[5]) >= (6.94099998): var0 = 3.75848508 else: var0 = 2.48056006 if (input[12]) >= (7.684999...
# 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 # distributed u...
// In seconds export const ONE_DAY = 86400; export const ONE_WEEK = 604800; export const TWO_WEEKS = 1209600;
# Generated by gen_torchvision_benchmark.py import torch import torch.optim as optim import torchvision.models as models class Model: def __init__(self, device="cpu", jit=False): self.device = device self.jit = jit self.model = models.squeezenet1_1() if self.jit: self.m...
// const installExtensions = async () => { // if (isDev) { // const installer = require('electron-devtools-installer'); // eslint-disable-line global-require // const extensions = [ // 'REACT_DEVELOPER_TOOLS', // 'REDUX_DEVTOOLS' // ]; // const forceDownload = !!process.env.UPGRADE_EXTE...
importScripts("../dist/localforage.js"); self.addEventListener('message', function(e) { var data = e.data; function handleError(e) { data.value = e.message; self.postMessage({ error: JSON.stringify(e), body: data, fail: true }); } localforag...
import React, { Component, Fragment } from 'react'; import DateBox from 'devextreme-react/date-box'; import './date-time.scss'; class DateTime extends Component { constructor(props) { super(props); // this.now = new Date(); this.value = this.props.value; //add check url this.state = { from...
""" This script defines an example automated tron client that will avoid walls if it's about to crash into one. This is meant to be an example of how to implement a basic matchmaking agent. """ import argparse from random import choice, randint from colosseumrl.envs.tron.rllib import SimpleAvoidAgent from colosseu...
/* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ (function() { function u() { return !1; } function x(a, b) { var c, d = []; a.filterChildren(b); for (c = a.children.length - ...
(function() { // Initialize the FirebaseUI Widget using Firebase. var ui = new firebaseui.auth.AuthUI(firebase.auth()); var uiConfig = { callbacks: { signInSuccessWithAuthResult: function(authResult, redirectUrl) { firebase.auth().currentUser.getIdToken(/* forceRefresh */ true).then(function(idTok...
import React, { Component } from "react"; import { Row, Form, Button, Col, Card, Alert } from "react-bootstrap"; import { useHistory } from "react-router-dom"; import '../App.css'; import { baseUrl } from "../config/cons"; class login extends Component { constructor(props) { super(props); this.stat...
var app = getApp() Page({ data: { hasUserInfo: false }, getUserInfo() { my.getAuthCode({ scopes: 'auth_user', fail: (error) => { console.error('getAuthCode', error); }, success: () => { // do login... // then my.getAuthUserInfo({ fail: (err...
# (C) Datadog, Inc. 2020-present # All rights reserved # Licensed under a 3-clause BSD style license (see LICENSE) import pytest from .common import CASSANDRA_E2E_METRICS @pytest.mark.e2e def test(dd_agent_check): instance = {} aggregator = dd_agent_check(instance, rate=True) for metric in CASSANDRA_E2...
// Copyright (C) 2022 Igalia S.L. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- esid: sec-temporal.calendar.prototype.month description: > RangeError thrown if an invalid ISO string (or syntactically valid ISO string that is not supported) is used as a PlainDate ...
from fastapi_mvc.cli.cli import cli def test_root(cli_runner): result = cli_runner.invoke(cli) assert result.exit_code == 0 def test_root_options(cli_runner): result = cli_runner.invoke(cli, ["--verbose", "new", "--help"]) assert result.exit_code == 0 result = cli_runner.invoke(cli, ["new", "--h...
const pump = require('pump'); const revall = require('gulp-rev-all'); const del = require('gulp-rev-delete-original'); const { dest, src } = require('gulp'); const { basename, extname } = require('path'); const completeTask = require('@parameter1/base-cms-cli-utils/task-callback'); module.exports = cwd => (cb) => { ...
var Module=typeof Module!=="undefined"?Module:{};try{this["Module"]=Module;Module.test}catch(e){this["Module"]=Module={}}if(typeof process==="object"){if(typeof FS==="object"){Module["preRun"]=Module["preRun"]||[];Module["preRun"].push(function(){FS.init();FS.mkdir("/test-data");FS.mount(NODEFS,{root:"."},"/test-data")...
import*as Common from'../common/common.js';export class ContrastInfo extends Common.ObjectWrapper.ObjectWrapper{constructor(contrastInfo){super();this._isNull=true;this._contrastRatio=null;this._contrastRatioThresholds=null;this._fgColor=null;this._bgColor=null;if(!contrastInfo){return;} if(!contrastInfo.computedFontSi...
import Input from "@hig/input"; import React from "react"; import { withInfo } from "@storybook/addon-info"; import { storiesOf } from "@storybook/react"; import Spacer from "@hig/spacer"; import getKnobs from "./getKnobs"; import Label from "../index"; import infoOptions from "./infoOptions"; import withThemeProvider...
'use strict'; const { App } = require('jovo-framework'); const { Alexa } = require('jovo-platform-alexa'); const { GoogleAssistant } = require('jovo-platform-googleassistant'); const { Bixby } = require('jovo-platform-bixby'); const { JovoDebugger } = require('jovo-plugin-debugger'); const { FileDb } = require('jovo-d...
/** * Blend textures into a target */ import shader from 'gl-shader'; import { mapList } from '../../../fp/map'; import Screen from '../'; import vert from '../index.vert'; import frag from './index.frag'; export const defaults = () => ({ shader: [vert, frag], views: [], alphas: [], resolution: [1...
import { action } from 'easy-peasy'; export const baseStore = { sidebar: false, setSidebar: action((state,payload) => state.sidebar = payload) }
const aliases = (prefix = `src`) => ({ 'react': `../node_modules/react`, }); module.exports = aliases;
var building = function(object) { this.object = object; this.points = []; this.points.push(new uno.Point(70, 70)); this.points.push(new uno.Point(150, 10)); this.points.push(new uno.Point(230, 70)); this.points.push(new uno.Point(70, 70)); this.alpha = 1; this.speed = 0.1; }; building.i...
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=t(e);function n(e,t){return e(t={exports:{}},t.exports),t.exports /** @license React v16.13.1 * react-is.production.min.js * * Copyright (c) Faceboo...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = Update; var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _update = require('lodash/update'); var _update2 = _interopRequireDefault(_update); function _interopRequireDefault(obj) { retur...
import os import sys import re from time import sleep import time import random from microMolder import LambdaMolder from microFront import CloudFrontMolder from microGateway import ApiGatewayMolder from microDynamo import DynamoMolder from microUtils import loadConfig, roleCleaner from MMAnsibleDeployAll import deplo...
$(function () { getTasksResultSinceLastMinute(); getTasksResultSinceLastHour(); getTasksResultSinceLastWeek(); getJobType(); getJobExecutionType(); getStatictisJobs(); getRunningJobAndTaskSincelastWeek(); getRegisteredJobs(); }); function getTasksResultSinceLastMinute() { var ur...
import React from 'react'; import Icon from '../Icon'; /* eslint-disable react/jsx-props-no-spreading */ export default function IconHeart(props) { return ( <Icon {...props}> <path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 ...
'use strict'; const _ = require('lodash') const votes = require('../../db_seed').VOTES module.exports = { up: function (queryInterface, Sequelize) { let prods = _(votes) .map((value) => _.extend(value, {createdAt: new Date(), updatedAt: new Date()})) .value() retu...
# main.py # Demonstration code to use the ML-experiment framework import sys sys.path.append("./src") from reporter import Reporter import experiment as exp import configparser from util import Util def main(config_file): # load one configuration per experiment config = configparser.ConfigParser() config....