text
stringlengths
3
1.05M
import React from 'react' import styled from 'styled-components' import { mq, spacing, fontSize, color } from 'core/theme' import config from 'Config/config.yml' import T from 'core/i18n/T' const Container = styled.div` border-radius: 3px; border: 1px solid ${({ theme }) => theme.colors.border}; ` const Meta ...
/*! * Name : Just Another Parallax [Jarallax] * Version : 1.12.1 * Author : nK <https://nkdev.info> * GitHub : https://github.com/nk-o/jarallax */!function(n){var o={};function i(e){if(o[e])return o[e].exports;var t=o[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.m=n,i....
from office365.runtime.client_object_collection import ClientObjectCollection class BaseEntityCollection(ClientObjectCollection): """Represents a collection of View resources.""" def __init__(self, context, child_item_type=None, resource_path=None, parent=None): """ SharePoint entity set ...
/** * Extrude From Slices * @category Creating Shapes * @skillLevel 5 * @description Demonstrating the advanced extrusion using slices with varying numbers of points. * @tags extrude, slice, slices, extrudefromslices, callback * @authors Jeff Gay, Moissette Mark, Simon Clark * @licence MIT License */ const { c...
import pandas as pd import csv import os import sys import torch import shutil import pickle def load_state_dict(model, fname): """ Set parameters converted from Caffe models authors of VGGFace2 provide. See https://www.robots.ox.ac.uk/~vgg/data/vgg_face2/. Arguments: model: model fnam...
def get_unique(arr: list) -> list: return list(set(arr))
(function() { 'use strict'; require('angular'); require('angular-route'); require('./groceries/module.js'); })();
import { expect } from 'chai' import { EntityFactory } from '../../../src/core/entity-factory' describe('EntityFactory', function() { describe('constructor()', () => { beforeEach(() => { this.entityFactory = new EntityFactory() }) afterEach(() => { de...
import React, {useState, useEffect} from 'react' const Navbar = () => { const [username, setUsername] = useState('') const [href, setHref] = useState("#") // To dynamically set href leading to log in page // Dynamically sets username on navbar useEffect(() => { fetch('https://scrabbleapi.elvno...
import React from 'react'; import { render } from 'react-dom'; import * as serviceWorker from './serviceWorker'; import App from './App'; render(<App />, document.getElementById('root')); // If you want your app to work offline and load faster, you can change // unregister() to register() below. Note this comes wit...
""" ---------------------------------------------------------------------------- OpenSteer -- Steering Behaviors for Autonomous Characters Copyright (c) 2002-2003, Sony Computer Entertainment America Original author: Craig Reynolds <craig_reynolds@playstation.sony.com> Permission is hereby granted, free of charge, t...
module.exports = { purge: { content: [ './app/**/*.php', './resources/**/*.{php,vue,js}', ], }, darkMode: false, // or 'media' or 'class' theme: { extend: { colors: { transparent: 'transparent', scblue: { DEFAULT: '#495df3', 50: '#f0f1ff', ...
/* global game, Roll, ui */ import EntityImages from './entity-images.js' /** * Parses one or more NPC Stat Blocks (e.g. from published modules) into actor data * @param {string} npcString The NPC stat block to import * @return {Array} Array of NPC data for actor creation (currently a single NPC) **/...
import {Parallax} from '../components'; /** * You can register global components here */ const globalComponents = { install (Vue) { Vue.component(Parallax.name, Parallax) } } export default globalComponents
const path = require('path'); /** * * -d --debug --devtool cheap-module-eval-source-map --output-pathinfo -p --optimize-minimize --define process.env.NODE_ENV="production", see building for production */ module.exports = { entry: "./app/entry", // string | object | array entry: ["./app/entry1", "./app/entry2"...
const fs = require('@parcel/fs'); const Resolver = require('./Resolver'); const Parser = require('./Parser'); const WorkerFarm = require('@parcel/workers'); const Path = require('path'); const Bundle = require('./Bundle'); const Watcher = require('@parcel/watcher'); const FSCache = require('./FSCache'); const HMRServer...
import React from 'react'; import PropTypes from 'prop-types'; import { isNumber, round } from 'lodash'; /** * @category communication * @component loader-spinner * @variations collab-ui-react */ const Spinner = props => { const { className, color, showCheck, percentage, showPercentage, ...
import React, { useContext } from 'react' import { SidebarContext } from '../context/SidebarContext' import { SearchIcon, MoonIcon, SunIcon, MenuIcon, } from '../icons' import { Input, WindmillContext } from '@windmill/react-ui' function Header({ address, setAddress }) { const { mode, toggleMode } = useConte...
'use strict'; module.exports = (srcPath) => { const Broadcast = require(srcPath + 'Broadcast'); return { listeners: { command: state => function (player, commandName, args) { Broadcast.sayAt(player, `Вы сейчас набрали специфичную для этой комнаты команду '${commandName}' с аргументом ${args}`);...
import numpy as np import pytest import tensorflow as tf from autokeras.adapters import output_adapter from tests import utils def test_y_is_pd_series(): (x, y), (val_x, val_y) = utils.dataframe_series() head = output_adapter.ClassificationHeadAdapter(name='a') head.fit_transform(y) assert isinstance...
""" Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this ...
import unittest from causing.utils import round_sig_recursive class TestRoundSigRecursive(unittest.TestCase): def test_recursive(self) -> None: orig = { "a_list": [111.0, 0.111], "a_tuple": (111.0, 0.111), "a_dict": {"a": 111.0, "b": 0.111}, } rounded =...
/** * TableOverflowContainer stories. * * Google Site Kit, Copyright 2020 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 * * https://www.apache.org/licenses/LICENSE-2...
// This code runs as soon as the page is loaded, when // the script tag in the HTML file is executed. // It sends a GET request for the JSON file postcardData.json let xhr = new XMLHttpRequest(); let myurl = "showPostcard" + window.location.search; xhr.open("GET", myurl); // set up callback function that will ru...
(function() { var svg; //save off default references var d3 = window.d3, topojson = window.topojson; var defaultOptions = { scope: 'world', responsive: false, aspectRatio: 0.5625, setProjection: setProjection, projection: 'equirectangular', dataType: 'json', data: {}, ...
import { checkAttribName } from '../../../_check_attribs'; import { _getEntTypeFromStr } from './_shared'; // ================================================================================================ /** * Get a list of unique attribute balues for an attribute. * \n * @param __model__ * @param ent_type_sel E...
'use strict'; var creds = {}; // Declare app level module which depends on views, and components angular.module('myApp', [ 'ngRoute', 'myApp.version', 'sidebarMenu', 'topBar', 'myApp.login', 'myApp.signup', 'myApp.verify', 'myApp.profile', 'myApp....
webpackJsonp([0xe03105f01a98],{446:function(e,t,a){e.exports=a.p+"static/csgo.ae1aa983.jpg"},209:function(e,t,a){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.pageQuery=void 0;var n=a(2),u=r(n),c=a(46),l=a(446),d=r(l),f=function(e){var t=e.data;return u.default.createElement("div",nu...
webpackJsonp([1],{"+d/0":function(t,e,a){"use strict";var n=a("Iuhs"),i=a("Ggz9");e.a={name:"article-info",data:function(){return{FeatureType:i.a,user:this.$store.state.user}},props:{article:{type:n.a,required:!0},showUser:{type:Boolean,required:!1,default:!0},showOperate:{type:Boolean,required:!1,default:!1},delCallba...
import React from 'react'; import { Navigation } from 'react-native-navigation'; import { registerScreens, registerScreenVisibilityListener, DemoScreens, } from './Screens'; registerScreens(); registerScreenVisibilityListener(); Navigation.startSingleScreenApp({ screen: { screen: DemoScreens.MainScreen...
class DB { constructor(sequelize, models) { this.sequelize = sequelize; this.models = models; } getModel(name) { return name in this.models ? this.models[name] : null; } getModels() { return this.models; } } module.exports = DB;
import Sync from './sync' import Sketch from './sketch' export default class Visualizer { constructor ({ volumeSmoothing = 100, hidpi = true }) { /** Initialize Sync class. */ this.sync = new Sync({ volumeSmoothing }); /** Initialize Sketch class. Assign `this.paint` as the main animation loop. */ t...
#!/usr/bin/env python # -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # ----------------------------------------------...
import click from bitcash.keygen import generate_matching_address @click.group(invoke_without_command=True) def bitcash(): pass @bitcash.command() @click.argument("prefix") @click.option("--cores", "-c", default="all") def gen(prefix, cores): click.echo(generate_matching_address(prefix, cores))
/** * @license * Copyright AdRem Software. All Rights Reserved. * * Use of this source code is governed by an Apache License, Version 2.0 that can be * found in the LICENSE file. */ /* global window */ /* eslint-disable quote-props */ const MAP_ICON_ID_UNKNOWN = 100, ICON_SIZE = 25, DEVICE_TYPES = { '...
// TODO(sven): add flow in here import { isSignature, isNumberLiteral } from "@webassemblyjs/ast"; import { assert } from "mamacro"; export function moduleContextFromModuleAST(m) { const moduleContext = new ModuleContext(); assert(m.type === "Module"); m.fields.forEach(field => { switch (field.type) { ...
import React from "react" import { Link } from "gatsby" import Layout from "../components/layout" import SEO from "../components/seo" function NotFoundPage() { return ( <> <SEO title="404" /> <div className="text-center m-auto mx-4 h-screen flex flex-col align-center justify-center...
import Plugin from 'src/plugin-system/plugin.class'; import DeviceDetection from 'src/helper/device-detection.helper'; import AjaxOffcanvas from 'src/plugin/offcanvas/ajax-offcanvas.plugin'; import PseudoModalUtil from 'src/utility/modal-extension/pseudo-modal.util'; import CompareLocalStorageHelper from '../helper/com...
"""Core I/O module.""" import pkg_resources import pandas as pd from functools import lru_cache def parse_edge_list(filepath, **kwargs): """ Parse edge list. Args: filepath (str): path to the file. kwargs (dict): key-value arguments for pd.read_csv. Returns: typing.Tuple[pd.D...
#!/usr/bin/python '''USAGE: reworkTax.py taxonomy_file This script reformats mothur taxonomy files ''' import sys outFile = str(sys.argv[1]).replace('taxonomy','') + 'format.taxonomy' outFile = open(outFile, 'w') outFile.write('otu\tphylum\tclass\torder\tfamily\tgenus\n') with open(sys.argv[1], 'r') as taxonomy: fo...
/* * 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 { functionWrapper } from '../../../__tests__/helpers/function_wrapper'...
concertoPanel.factory('ScheduledTasksCollectionService', function ($http, $timeout, $uibModal, AllCollectionService) { return { collectionPath: Paths.ADMINISTRATION_TASKS_COLLECTION, collection: [], packagesCollection: [], ongoingScheduledTasks: [], ongoingScheduledTasksTimer...
let test = require("tape"); let {EntityManager, ArrayComponentStore, MapComponentStore} = require("../lib/index"); class PositionComponent { constructor() { this.x = 0; this.y = 0; } } class RotationComponent { constructor() { this.angle = 0; } } let componentStores = [ArrayComponentStore, MapComponentSto...
const sleep = require("sleep-promise"); const JSONRPC = require("../index"); const AllTests = require("./Tests/AllTests"); const os = require("os"); const cluster = require("cluster"); let Threads; try { Threads = require("worker_threads"); } catch(error) { // console.error(error); } process.on(...
"""Top-level package for plex-api.""" __author__ = """Paul Armstrong""" __email__ = 'paul.armstrong211@gmail.com' __version__ = '0.2.0' from . import py_plex_api
/*!CK:1406980110!*//*1414377262,*/ if (self.CavalryLogger) { CavalryLogger.start_js(["1XxM1"]); } __d("UnityObject",[],function(a,b,c,d,e,f){var g=function(){var h="Unity Player",i="application/vnd.unity",j=document,k=navigator,l="https://ssl-webplayer.unity3d.com/download_webplayer-3.x/",m="_unity_triedjava",n="_uni...
# # This source file is part of the EdgeDB open source project. # # Copyright 2019-present MagicStack Inc. and the EdgeDB 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...
// Copyright (c) 2020 Uber Technologies, Inc. // // 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 use, copy, modify, merge...
//These routes are ones to authenticate users before accessing the rest of the pages //Should have register and login routes const dotenv = require('dotenv').config() const router = require('express').Router() const bcrypt = require('bcrypt') const jwt = require('jsonwebtoken') const User = require('../models/userSche...
import React from 'react'; import { connect } from 'react-redux'; import { fetchPost, deletePost } from '../actions'; import { Link } from 'react-router-dom'; class PostShow extends React.Component { componentDidMount() { if(!this.props.post) { const id = this.props.match.params.id; this.props.fetc...
/** * Quick and dirty page to generate number conversion exercises */ // List of bases used in the exercise let bases = [ { base: "10", name: "Décimal", place: "_ _ _" }, { base: "2", name: "Binaire", place: "_ _ _ _ _ _ _ _" }, { base: "16", name: "Hexa", place: "_ _" }, { base: "8", name: "Octal",...
module('Selection containers - Managing focus'); var SingleSelection = require('select2/selection/single'); var $ = require('jquery'); var Options = require('select2/options'); var options = new Options({}); test('close sets the focus to the selection', function (assert) { var $container = $('...
import React from 'react'; import Card from '@material-ui/core/Card'; import CardContent from '@material-ui/core/CardContent'; import Chip from '@material-ui/core/Chip'; import Grid from '@material-ui/core/Grid'; import FiberManualRecordRoundedIcon from '@material-ui/icons/FiberManualRecordRounded'; import githubColorD...
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M22 5.18 10.59 16.6l-4.24-4.24 1.41-1.41 2.83 2.83 10-10L22 5.18zm-2.21 5.04c.13.57.21 1.17.21 1.78 0 4.42-3.58 8-8 8s-8-3.5...
// Copyright 2007 The Closure Library 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 // // Unl...
import './Canvas.scss'; import V from 'victor'; import { Ping } from '../../common/Entities.js'; export class Renderer { canvas; /** @type {CanvasRenderingContext2D} ctx */ ctx; constructor(canvas) { this.canvas = canvas; this.canvas.classList.add('game-canvas'); this.resize()...
const usuarios = [ { nome: "Carlos", tecnologias: ["HTML", "CSS"] }, { nome: "Jasmine", tecnologias: ["JavaScript", "CSS"] }, { nome: "Tuane", tecnologias: ["HTML", "Node.js"] } ] for (let i = 0; i < usuarios.length; i++) { console.log(`${usuarios[i].nome} trabalha com ${usuarios[i].tecnologias.j...
// *********************************************** // This example commands.js shows you how to // create various custom commands and overwrite // existing commands. // // For more comprehensive examples of custom // commands please read more here: // https://on.cypress.io/custom-commands // ***************************...
$(function() { $(".nav a").on("click", function(){ $(".nav").find(".active").removeClass("active"); $(this).parent().addClass("active"); }); $(".scrolltoanchor").click(function() { $.scrollTo($($(this).attr("href")), { duration: 2000 }); return ...
"""Creates a root logger.""" import logging LOG_FORMAT = "%(asctime)s %(name)-12s %(levelname)-8s %(message)s" DATETIME_FORMAT = "%m-%d %H:%M" def setup(): """Build logging engine.""" logging.basicConfig(level=logging.DEBUG, format=LOG_FORMAT, datefmt=DATETIME...
# coding=utf-8 __author__ = 'Fenix' import socket from JogCommand.JogAsservissement import Jog from JogCommand.jogio import * from JogCommand.Utils import * ERROR_ALLGOOD = 0 ERROR_STUCK = 1 ERROR_MSG_FAILED = 2 DT = 0.2 x, y, selfid, serverIP, serverPort = parse_mission_file('mission.conf') robot = Jog(x, y, self...
from pyspark import SparkContext from typing import Any, Dict def record_hls_event(tag: str, arg_map: Dict[str, Any] = None, **kwargs: Any): """ Logs the event Args: tag: Name of the tag arg_map: A string -> any map of options to go into blob kwargs: Named arguments. If the arg_map...
#!/bin/env python3 import sys import os opts = [opt for opt in sys.argv[1:] if opt.startswith("-")] camos = [ "DM-Ultra", "Dark-Aether" ] cat = [ "Assault-Rifles", "Pistols", "Launchers", "LMGs", "Melee", "Shotguns", "SMGs", "Sniper-Rifles", "Special", "Tactical-Rifles"...
from django.contrib import admin # Register your models here. from .models import Certificados, Estudiates, Solicitudes admin.site.register(Certificados) admin.site.register(Estudiates) admin.site.register(Solicitudes)
const TestFixture = artifacts.require("TestFixture"); module.exports = function (deployer) { deployer.deploy(TestFixture); };
import * as utils from './utils' import StorerStorage from './storer-storage' import EventEmitter from 'eventemitter2'; if(!StorerStorage.browserSupportsStorage()) throw new Error('It seems that your browser doesn\'t support both LocalStorage & SessionStorage. Try to use a modern browser!') window._storer_expireds_ ...
frappe.ui.form.ControlMultiSelectList = frappe.ui.form.ControlData.extend({ make_input() { let template = ` <div class="multiselect-list dropdown"> <div class="form-control cursor-pointer dropdown-toggle input-sm" data-toggle="dropdown" tabindex=0> <span class="status-text ellipsis"></span> </div> ...
import { Feature } from 'toolkit/extension/features/feature'; import { getAllBudgetMonthsViewModel } from 'toolkit/extension/utils/ynab'; import { getCurrentDate } from 'toolkit/extension/utils/date'; import { getEmberView } from 'toolkit/extension/utils/ember'; import { formatCurrency } from 'toolkit/extension/utils/c...
Template.notes.helpers({ notes: function() { var users = Meteor.userId(); return Notes.find({author: users}, {sort: {updated: -1}}); } }); Template.notes.events({ 'click .note-delete': function(e) { e.preventDefault(); if (confirm('Delete')) { var id = this ...
/** * @license Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/license */ /** * This file was added automatically by CKEditor builder. * You may re-use it at any time to build CKEditor again. * * If you would like to build CKEd...
import React from "react"; import PStyle from "./price.module.css"; import { Link } from "react-router-dom"; function Price() { return ( <> <div id="pricing" style={{ marginTop: 0 }}></div> <div className={PStyle.pageWrapper}> <div className={PStyle.heading}> <h1 className={PStyle....
const _map = {} const AMAZON_ORANGE = '#f38d20' const DEFAULT_GREY = '#666' const TOKEN = 'pk.eyJ1IjoiY2lyIiwiYSI6ImNqdnUyazF3ODE3a2EzeW1hZ2s5NHh3MG8ifQ.CDzm3odssJ7uOLPGrapc5Q' // TODO: replace with new one const STYLE = 'mapbox://styles/cir/ck372mcpu087g1cp8olbifhus' const WAREHOUSE_LAYER = 'warehouses' const UNKNOW...
({"set":"Set","insertAnchor":"Insert Anchor","title":"Anchor Properties","text":"Description:","cancel":"Cancel","anchor":"Name:"})
/** * Copyright 2015 The AMP HTML 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 require...
'use strict'; class ProjectSettingsApdexItem { render() { const i = parseInt(this.$context.attributes.i); const isBlank = this.$context.attributes.blank === 'true'; return this.$context.getStoreData() .then(data => { let groups = data.meta.groups.map(g => { return { title: g, name: g ...
const fs = require('fs'); const path = require('path'); module.exports = class songController { async findSong(songName, message){ const song = this.getSong(songName, message); if (!song.length){ return; } if (song.length == 1 ){ var fullSongName = song[0]; ...
/*! * Platform.js * Copyright 2014-2018 Benjamin Tan * Copyright 2011-2013 John-David Dalton * Available under MIT license */ ;(function() { 'use strict'; /** Used to determine if values are of the language type `Object`. */ var objectTypes = { 'function': true, 'object': true }; /** Used as a ...
"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { t...
import React from 'react' import Icon from 'react-icon-base' const FaFilePowerpointO = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m35.8 8.5q0.6 0.6 1 1.7t0.5 1.9v25.8q0 0.8-0.6 1.5t-1.6 0.6h-30q-0.9 0-1.5-0.6t-0.6-1.5v-35.8q0-0.8 0.6-1.5t1.5-0.6h20q0.9 0 2 0.4t1.7 1.1z m-9.9-5.5v8.4h8.4q...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
import React, { Component } from "react"; const PromoComponent = (props) => { function handleSubmit() { if (props.reduxStore.promo.promoCode == "DISCOUNT" ) { props.applyDiscount(); props.reduxStore.setValidStyle(); props.reduxStore.disablePromoForm(); } else { // when discount...
# -*- coding: utf-8 -*- #------------------------------------------------------------------------- # drawElements Quality Program utilities # -------------------------------------- # # Copyright 2017 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use t...
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.GlslCanvas=t()}(this,function(){"use strict";var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var t="undefined"!=typeof windo...
module.exports = function() { return 'HELLO WORLD!'; }
import React from "react"; const Footer = () => ( <footer className="footer background--grey"> <div className="container"> <div className="copyright">© 2020 Centaurus</div> </div> </footer> ); export default Footer;
/** * Copyright (c) 2014, 2016, Oracle and/or its affiliates. * The Universal Permissive License (UPL), Version 1.0 */ "use strict";var l={"AF":["AF","\u30A2\u30D5\u30EA\u30AB"],"SA":["SA","\u5357\u30A2\u30E1\u30EA\u30AB"],"EU":["EU","\u30E8\u30FC\u30ED\u30C3\u30D1"],"AS":["AS","\u30A2\u30B8\u30A2"],"NA":["NA","\u53...
(self.webpackChunk=self.webpackChunk||[]).push([[414],{455:function(t){t.exports=function(){"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":...
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e...
var PhysicsSystem = function(entities) { this.entities = entities; this.interval = null; }; PhysicsSystem.prototype.run = function() { // Run the update loop this.interval = window.setInterval(this.tick.bind(this), 1000 /12); }; PhysicsSystem.prototype.tick = function() { //this.entities.filter(fun...
from __future__ import print_function import gzip import os import sys from decimal import Decimal def calculate_gc(inpath): inf = gzip.open(inpath) if inpath.endswith('.gz') else open(inpath) ttl_bases = 0 gc_bases = 0 for i, l in enumerate(inf): if i % 4 == 1: s = l.strip().uppe...
import { __assign } from "tslib"; import * as React from 'react'; import { StyledIconBase } from '@styled-icons/styled-icon'; export var HeartBroken = React.forwardRef(function (props, ref) { var attrs = { "fill": "currentColor", "xmlns": "http://www.w3.org/2000/svg", }; return (React.create...
var convert = require('./convert'); module.exports = convert('mapValues', require('../mapValues'));
"use strict"; exports.__esModule = true; exports.default = AnimatedGridRows; var _react = _interopRequireDefault(require("react")); var _GridRows = _interopRequireDefault(require("@visx/grid/lib/grids/GridRows")); var _AnimatedGridLines = _interopRequireDefault(require("./AnimatedGridLines")); function _interopReq...
import React, { useEffect } from "react"; import { useHistory } from "react-router-dom"; import { useForm } from "react-hook-form"; import FieldArray from "./fieldArray"; import { useStateMachine } from "little-state-machine"; import "./../styles/tailwind.css"; import updateAction from "./../common/updateAction"; cons...
// https://eslint.org/docs/user-guide/configuring module.exports = { root: true, parser: 'babel-eslint', parserOptions: { sourceType: 'module' }, env: { browser: true, }, // https://github.com/standard/standard/blob/master/docs/RULES-en.md extends: 'standard', // req...
/* eslint-disable */ /* tslint:disable */ // @ts-ignore import icon from 'vue-svgicon' icon.register({ 'ic_list_duplication': { width: 12, height: 12, viewBox: '0 0 12 12', data: '<path pid="0" fill-rule="evenodd" clip-rule="evenodd" d="M10.374 10.875c.672 0 1.094-.762.758-1.37L6.758 1.581a.857.857 0 ...
import React, { useEffect } from 'react'; import { useDispatch, useSelector } from 'react-redux'; import { Avatar, Drawer, Fab, FormControl, FormControlLabel, Grid, makeStyles, Radio, RadioGroup, Slider, Tooltip, Typography, useTheme } from '@material-ui/core'; import SettingsSuggestIcon from '@material-u...
/* eslint-disable */ if (workbox) { console.log(`Workbox is loaded`); /** * The workboxSW.precacheAndRoute() method efficiently caches and responds to * requests for URLs in the manifest. * See https://goo.gl/S9QRab */ workbox.setConfig({ debug: false, }); const removeQuery = { cacheKey...
from django.contrib import admin from .models import Coupon # Register your models here. admin.site.register(Coupon)
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.callModuleInitHook = void 0; const shared_utils_1 = require("@nestjs/common/utils/shared.utils"); const iterare_1 = require("iterare"); const transient_instances_1 = require("../injector/helpers/transient-instances"); /** * Returns tr...