text
stringlengths
3
1.05M
workbox.skipWaiting(); workbox.clientsClaim(); workbox.routing.registerRoute( new RegExp('https://hacker-news.firebaseio.com'), workbox.strategies.staleWhileRevalidate() ); self.addEventListener('push', (event) => { const title = 'Get Started With Workbox'; const options = { body: event.data....
import React from "react" import { Link, graphql } from "gatsby" import "bootstrap/dist/css/bootstrap.css" import "./index.css" import Layout from "../components/layout" import SEO from "../components/seo" import Sidebar from "../components/sidebar/Sidebar" import TechTag from "../components/tags/TechTag" const Archi...
const path = require('path'); const config = { entry: 'src/index.jsx', publicPath: './', plugins: [ ['ice-plugin-fusion', { themePackage: '@icedesign/theme', }], ['ice-plugin-moment-locales', { locales: ['en-US'], }], ], alias: { '@': path.resolve(__dirname, './src/'), }, ...
import * as primary from "../../../fonts/primary" const PrimaryFonts = ` @font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; src: local('Open Sans Regular'), local('OpenSans-Regular'), url('${primary.WOFF2_4}') format('woff2'), url('${primary.WOFF_4}') format('woff'); } ...
import reflow from './reflow' /** * Wrapper util for popper position updating. * Updates the popper's position and invokes the callback on update. * Hackish workaround until Popper 2.0's update() becomes sync. * @param {Popper} popperInstance * @param {Function} callback: to run once popper's position was updated...
#!/usr/bin/python # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible is distribut...
const axios = require('@/utils/axios'); const utils = require('./utils'); const Parser = require('rss-parser'); const parser = new Parser(); module.exports = async (ctx) => { let title = '9To5', link, description; switch (ctx.params.type) { case 'mac': link = 'https://9to5m...
webpackHotUpdate("app",{ /***/ "./src/App.js": /*!********************!*\ !*** ./src/App.js ***! \********************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __we...
from typing import List from crispy_forms.helper import FormHelper from crispy_forms.layout import Submit from django import forms from django.conf import settings from django.core.exceptions import ValidationError from grandchallenge.cases.models import RawImageFile, RawImageUploadSession from grandchallenge.jqfileu...
/** * Created with JetBrains WebStorm. * User: User * Date: 09.02.14 * Time: 13:23 * To change this template use File | Settings | File Templates. */ define({ groundLayer: 0, groundDrawLayer: 1, roadLayer: 2, vehiclesLayer: 3, buildingsLayer: 4, overlayLayer: 5 })
import cv2 import os import numpy as np from src.utils import get_relative_location, get_random_point, save_window, determine_label_center, pad_image, \ get_list_files, get_window, save_locations DIR = os.path.dirname(__file__) DATA_PATH = os.path.join(DIR, '../data/') IMAGE_PATH = DATA_PATH + 'img/' LABEL_PATH ...
(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "https://connect.facebook.net/en_US/sdk.js"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); FB.init({ appId ...
var express = require("express"); var mongoose = require("mongoose"); var bodyParser = require("body-parser"); var logger = require("morgan"); var path = require("path"); var PORT = process.env.PORT || 8000; var Message = require("./models/Message.js"); var app = express(); // Configure our app for morgan and body ...
# Generated by Django 2.2.7 on 2019-12-01 16:11 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('members', '0014_auto_20191201_1436'), ] operations = [ migrations.RemoveField( model_name='position', name='active', ...
from __future__ import absolute_import try: # use relative import for installed modules from .vtkRenderingImagePython import * except ImportError: # during build and testing, the modules will be elsewhere, # e.g. in lib directory or Release/Debug config directories from vtkRenderingImagePython impo...
const Parent = window.DDG.base.Model const browserUIWrapper = require('./../base/ui-wrapper.es6.js') /** * Background messaging is done via two methods: * * 1. Passive messages from background -> backgroundMessage model -> subscribing model * * The background sends these messages using chrome.runtime.sendMessage...
"use strict"; /** * The MIT License (MIT) * * Copyright (c) 2021 Anton Lobanov * 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 puppeteer from 'puppeteer'; describe('Homepage', () => { it('it should have logo text', async () => { const browser = await puppeteer.launch({ args: ['--no-sandbox'] }); const page = await browser.newPage(); await page.goto('http://localhost:8000', { waitUntil: 'networkidle2' }); await page.wa...
import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray"; import { createFirstPage, createLastItem, createNextItem, createPageFactory, createPrevItem } from './itemFactories'; import { createComplexRange, createSimpleRange } from './rangeFactories'; import { isSimplePagination, typifyOptions } from...
import axios from "axios"; import { notification } from "antd"; import * as Strings from "@/constants/strings"; const UNAUTHORIZED = 401; const MAINTENANCE = 503; // https://stackoverflow.com/questions/39696007/axios-with-promise-prototype-finally-doesnt-work const promiseFinally = require("promise.prototype.finally"...
/** * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @template T * @param {?} items - Specific items to append to the end of an array * @return {?} */ export function append(items) { return ...
const express = require("express"); const mongoose = require("mongoose"); // port number const PORT = process.env.PORT || 3000; const app = express(); app.use(express.urlencoded({ extended: true })); app.use(express.json()); app.use(express.static("public")); // we must place this after so that we can reference the cs...
import { combineReducers } from "redux"; import HelloWorld from "./HelloWorldReducer"; export default combineReducers({ HelloWorld });
"use strict"; module.exports = { 'name': 'asinh', 'category': 'Trigonometry', 'syntax': ['asinh(x)'], 'description': 'Calculate the hyperbolic arcsine of a value, defined as `asinh(x) = ln(x + sqrt(x^2 + 1))`.', 'examples': ['asinh(0.5)'], 'seealso': ['acosh', 'atanh'] };
// Load modules var Lab = require('lab'); var Hapi = require('..'); // Declare internals var internals = {}; // Test shortcuts var expect = Lab.expect; var before = Lab.before; var after = Lab.after; var describe = Lab.experiment; var it = Lab.test; describe('Handler', function () { it('shows the complete...
const AboutUs = () => { return <p className="us">Somos geniales</p>; }; export default AboutUs;
/*eslint-disable*/ import React from "react"; import PropTypes from "prop-types"; // @material-ui/core components import { makeStyles } from "@material-ui/core/styles"; import ListItem from "@material-ui/core/ListItem"; import List from "@material-ui/core/List"; import AndroidIcon from '@material-ui/icons/Android'; imp...
import React from "react" import SEO from "../components/seo" const NotFoundPage = () => ( <> <SEO title="404: Not found" /> <h1>NOT FOUND</h1> <p>You just hit a route that doesn&#39;t exist... the sadness.</p> <p> <a href="/">Back to main page</a> </p> </> ) export default NotFoundPage...
import React, { Component } from 'react'; class LocationData extends Component { render() { let temp; let location; if(this.props.data.length > 0){ temp = this.props.data[0].the_temp.toFixed(2); location = this.props.location; } return ( <div className="location-data"> ...
''' # PlottingUtil - Code By Michael Sherif Naguib - license: MIT open source - Date: 3/16/19 - @University of Tulsa - Description: This is a class that uses other plotting software to make it more convenient for plotting ''' #imports from datashader import transfer_functions as tf from datashader.colors...
// [object Object] // SPDX-License-Identifier: Apache-2.0 import React from 'react'; const GlyphDocCalc = (props) => ( <svg data-name='Warstwa 1' viewBox='0 0 18.42 21' {...props}> <path d='M10.22 2.37H4.64a1.11 1.11 0 0 0-1.11 1.11v14a1.11 1.11 0 0 0 1.11 1.11h9.14a1.11 1.11 0 0 0 1.1-1.11V7z' ...
module.exports = { globals: { graphql: false } }
import os def configuration(parent_package='', top_path=None): import numpy from numpy.distutils.misc_util import Configuration config = Configuration('neighbors', parent_package, top_path) libraries = [] if os.name == 'posix': libraries.append('m') config.add_extension('ball_tree', ...
jQuery(document).ready(function() { function sizeFeature(){ var windowHeight = $(window).height(); var windowWidth = $(window).width(); if($('video').length){ featureHeight = windowWidth * 0.5; $('.main-feature').css("height", featureHeight + "px"); } ...
/** * @file emojiInfo command * @author Sankarsan Kampa (a.k.a k3rn31p4nic) * @license MIT */ exports.exec = (Bastion, message, args) => { if (args.length < 1) { /** * The command was ran with invalid parameters. * @fires commandUsage */ return Bastion.emit('commandUsage', message, this.he...
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })...
import { AppSection } from '../../components/forms'; import { Tag, TagCloud } from '../../components/Tag'; /** * Renders demo section for Tags and TagCloud */ const TagsSection = ({ useTagCloud = false }) => { function renderTags() { return [ <Tag key="1" label="default" color="default" />, <Tag ke...
const path = require("path"), filesize = require(path.join(__dirname, "..", "lib", "filesize.es6.js")); exports.filesize = { setUp: function (done) { this.kilobit = 500; this.edgecase = 1023; this.kilobyte = 1024; this.neg = -1024; this.byte = 1; this.zero = 0; this.invld = "abc"; this.huge = 10e40; ...
from hcsr04sensor import sensor # Created by Al Audet # MIT License def main(): '''Calculate the distance of an object in centimeters using a HCSR04 sensor and a Raspberry Pi''' trig_pin = 11 echo_pin = 8 # Default values # unit = 'metric' # temperature = 20 # round_to = 1 # ...
import { login, logout } from '@/api/auth' import { removeToken, setToken } from '@/utils/localforage' const state = { token: '', } const getters = { token: state => state.token, } const mutations = { SET_TOKEN (state, {token}) { state.token = token } } const actions = { loginHandle ...
import React from 'react' import PropTypes from 'prop-types' import picAbout from '../images/picAbout.jpg' import picDonate from '../images/picDonate.jpg' import picCharity from '../images/picCharity.jpg' class Main extends React.Component { render() { let close = ( <div className="close" ...
import { Fragment, useEffect, useState } from 'react' import { Listbox, Transition } from '@headlessui/react' import { CheckIcon, SelectorIcon } from '@heroicons/react/solid' import { PickupTime } from '../Filters' import { useDispatch, useSelector } from 'react-redux' import { setProductPickupTime, setProductPickupTim...
""" NAME recommend_hybrid DESCRIPTION This module provides access to functions that make recommendations to both new and known item or user. FUNCTIONS recommend_hybrid_item( df, model, interactions, item_id, user_dict, item_dict, topn, show) Return the recommended users to an existin...
import discord Embed = discord.Embed
import EventEmitter from "wolfy87-eventemitter"; class CacheQuoteObjectSubscription extends EventEmitter { constructor(subscriptionManager, structureItem) { super(); const self = this; self._structureItemValues = Object.assign({}, structureItem.attach); for(let structureSubscriptionKey in structureItem.subs...
const fs = require('fs'); const path = require('path'); const cacheFolder = path.resolve(__dirname, 'cache'); const sourceCodeFolder = path.resolve(__dirname, 'cache/sourceCode'); function saveCode(code) { if (!fs.existsSync(cacheFolder)) { fs.mkdirSync(cacheFolder); } if (!fs.existsSync(sourceCodeFolder))...
/** * Created by Thor on 2018-11-26. * 结构型模式 * 在代理模式(Proxy Pattern)中,一个类代表另一个类的功能。 */ const Proxy = require('./Proxy') let proxy = new Proxy() proxy.request()
/* * jQuery 插件 * * 作者 :飞华 QQ :654593600 着手时间 :2015年1月27日 16:52:15 完成时间 :2015年2月9日 15:41:34 修订历史 : 使用方法 : 备注 : plugin URI : Version :*/ +function ($) { 'use strict'; // 命名空间 var pluginNS = 'fhuiPosition'; // 默认选择器 var defaultSelector = '.fhui-positi...
# This file helps to compute a version number in source trees obtained from # git-archive tarball (such as those provided by githubs download-from-tag # feature). Distribution tarballs (built by setup.py sdist) and build # directories (produced by setup.py build) will contain a much shorter file # that just contains th...
import scrapy from webscraper.scrape import get_content class CustomSpider(scrapy.Spider): name = "from_file" def __init__(self, start_urls=None, allowed_domains=None, *args, **kwargs): super(CustomSpider, self).__init__(*args, **kwargs) if start_urls is not None: try: ...
class RedPepper {} export default RedPepper;
/*! highlight.js v9.7.0 | BSD3 License | git.io/hljslicense */ !function(e){var n="object"==typeof window&&window||"object"==typeof self&&self;"undefined"!=typeof exports?e(exports):n&&(n.hljs=e({}),"function"==typeof define&&define.amd&&define([],function(){return n.hljs}))}(function(e){function n(e){return e.replace(...
import pygame import pygame_gui from sophysics_engine import SimEnvironment, TimeSettings, PhysicsManager, \ Camera, GUIManager, PygameEventProcessor, SimObject from defaults import CameraController, PauseOnSpacebar, AttractionManager, ClickableManager, CircleRenderer from .lower_panel import LowerPanel from .sele...
import os from pathlib import Path import numpy as np import pandas as pd from autogluon.tabular import TabularPredictor from pytorch_widedeep import Tab2Vec from pytorch_widedeep.metrics import Accuracy from pytorch_widedeep.models import FTTransformer, Wide, WideDeep from pytorch_widedeep.preprocessing import TabPre...
# This file is MACHINE GENERATED! Do not edit. # Generated by: tensorflow/python/tools/api/generator/create_python_api.py script. """Public API for tf.random namespace. """ from __future__ import print_function as _print_function import sys as _sys from tensorflow._api.v2.compat.v2.random import experimental from te...
import { format, parseISO } from 'date-fns'; import pt from 'date-fns/locale/pt'; import Mail from '../../lib/Mail'; class AnswerHelpOrderMail { get key() { return 'AnswerHelpOrderMail'; } async handle({ data }) { const { helpOrder } = data; await Mail.sendMail({ to: `${helpOrder.student.name...
console.log("Det här är för att testa Pull Request på GitHub")ö
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; function AppIcon({ tag: Tag, color, size, src: image, alt, branded, className, children, ...props }) { const classes = classNames(className, 'app-icon', { [`app-icon-${color}`]: color && !branded, [`app-icon-b...
import React from 'react'; import PropTypes from 'prop-types'; import { css } from '@patternfly/react-styles'; import styles from '@patternfly/patternfly-next/components/Check/check.css'; const propTypes = { children: PropTypes.node, className: PropTypes.string, onSelect: PropTypes.func }; const defaultProps = {...
import React from 'react'; // nodejs library to set properties for components import PropTypes from 'prop-types'; // @material-ui/core components import { makeStyles } from '@material-ui/core/styles'; import Snack from '@material-ui/core/SnackbarContent'; import IconButton from '@material-ui/core/IconButton'; import Ic...
IntlPolyfill.__addLocaleData({locale:"wae",date:{ca:["gregory","generic"],hourNo0:true,hour12:false,formats:{short:"{1} {0}",medium:"{1} {0}",full:"{1} {0}",long:"{1} {0}",availableFormats:{"d":"d","E":"ccc",Ed:"E d.",Ehm:"E h:mm a",EHm:"E HH:mm",Ehms:"E h:mm:ss a",EHms:"E HH:mm:ss",Gy:"G y",GyMMM:"G y MMM",GyMMMd:"G y...
#!/usr/bin/env python import requests from influxdb_utils import format_ts_from_str INFLUXDB_LINE = 'github-status message="{}",status="{}",status_enum={} {}' STATUS_MAPPING = {'good': 0, 'minor': -1, 'major': -2} # ISO 8601 TIMESTAMP_FORMAT = '%Y-%m-%dT%H:%M:%SZ' def main(): r = requests.get("https://status....
module.exports = { root: true, parser: '@typescript-eslint/parser', parserOptions: { ecmaFeatures: { jsx: true, }, }, env: { browser: true, node: true, }, extends: [ 'eslint:recommended', 'plugin:@typescript-eslint/eslint-recommended', 'plugin:@typescript-eslint/recommend...
import DecoratorHelper from 'nilavu/widgets/decorator-helper'; import { createWidget, applyDecorators } from 'nilavu/widgets/widget'; import { iconNode } from 'nilavu/helpers/fa-icon'; import { h } from 'virtual-dom'; import DiscourseURL from 'nilavu/lib/url'; import { dateNode } from 'nilavu/helpers/node'; createWidg...
#!/usr/bin/env python3 import sys import os import json import argparse import itertools import netaddr import pynetbox def main(args): targets = [] netbox = pynetbox.api(args.url, token=args.token) # Filter out devices without primary IP address as it is a requirement # to be polled by Prometheus ...
angular.module('chainid.docker') .controller('porImageRegistryController', ['$q', 'RegistryService', 'DockerHubService', 'ImageService', 'Notifications', function ($q, RegistryService, DockerHubService, ImageService, Notifications) { var ctrl = this; function initComponent() { $q.all({ ...
import nonebot from nonebot.plugin import on_shell_command, require from nonebot.params import ShellCommandArgs from nonebot.adapters.onebot.v11 import ( Bot, MessageEvent, PrivateMessageEvent, GroupMessageEvent, ) from nonebot import get_bots from mcstatus import MinecraftServer from nonebot_plugin_mc...
input.slide=function(state,evt) { if(state.view.sliding) return logic.toggleInput(state) const target=evt.path.find(el=>el.matches('.grid')), {pointerId:pointer}=evt, pt0=util.evt2pt(evt), {height:rows,width:cols}=state.file.data, hMax=1/cols, vMax=1/rows, move=function(evt) { if(evt.pointerId!==pointer...
import React from 'react'; import { NavLink } from 'react-router-dom'; // import { GiMagicHat } from 'react-icons/gi'; const Navbar = () => { const links = [ { id: 1, path: '/', text: 'Home', }, { id: 2, path: '/calculator', text: 'Calculator', }, { id: 3...
// @flow import {parseCSSColor} from 'csscolorparser'; /** * An RGBA color value. Create instances from color strings using the static * method `Color.parse`. The constructor accepts RGB channel values in the range * `[0, 1]`, premultiplied by A. * * @param {number} r The red channel. * @param {number} g The gr...
export { default as Main } from './Main' export { default as Minimal } from './Minimal'
// @flow import * as React from 'react'; import { observable } from 'mobx'; import { observer, inject } from 'mobx-react'; import { withRouter } from 'react-router-dom'; import { createGlobalStyle } from 'styled-components'; import invariant from 'invariant'; import importFile from 'utils/importFile'; import Dropzone f...
describe("$.fn.actionsBuilder", function() { var container, rows; beforeEach(function() { container = $("<div>"); container.actionsBuilder({ actions: [ { name: "put_on_sale", label: "Put On Sale", params: [{name: "sale_percentage", label: "Sale Percentage", fieldType : "nu...
import React from 'react'; import './HeaderComponent.css' import MenuIcon from '@material-ui/icons/Menu'; import ArrowBackIcon from '@material-ui/icons/ArrowBack'; import ArrowForwardIcon from '@material-ui/icons/ArrowForward'; import AccessTimeIcon from '@material-ui/icons/AccessTime'; import SearchIcon from '@materia...
const urlLib = require('url'); const { EventEmitter } = require('events'); const { MongoClient } = require('mongodb'); const Lifecycle = require('./lifecycle'); const debug = require('./debug'); const portUtils = require('./port'); // for easy stubbing const winfinit = require('./winfinit'); // for easy stubbing const...
import pika from domain_event_broker import DomainEvent def get_queue_size(name, **kwargs): connection = pika.BlockingConnection() channel = connection.channel() q = channel.queue_declare(name, passive=True, **kwargs) count = q.method.message_count connection.close() return count def check_q...
import React from 'react'; import NotFound from 'components/common/NotFound'; import { Helmet } from 'react-helmet'; const NotFoundPage = ({history, staticContext}) => { // staticContext 는 서버쪽에서만 존재합니다. if (staticContext) { staticContext.isNotFound = true; } return ( <div> <Helmet> ...
import React,{useState,useEffect}from "react" import { Link } from "gatsby" import Layout from "@components/layout" import Meta from "@components/meta" import BottomCta from "@components/bottom-cta" import '@styles/pages/about.scss' import MissionTxt from "@images/svg/icon-mission_pc.svg" import Akira from "@images/img...
/* Copyright 2021 Léo Mora <l.mora@outlook.fr> 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 writ...
'use strict'; const {expect} = require('chai'); const fs = require('fs-extra'); const { fepper } = require('../init')(); const { conf, ui } = fepper; const cssRootPublic = conf.ui.paths.public.css; const cssBldPublic = conf.ui.paths.public.cssBld; const imagesPublic = conf.ui.paths.public.images; const jsPubli...
!function(e){"use strict";var t,i,n,a=window.ElementsKitLibreryData||{};i={LibraryLayoutView:null,LibraryHeaderView:null,LibraryLoadingView:null,LibraryErrorView:null,LibraryBodyView:null,LibraryCollectionView:null,FiltersCollectionView:null,LibraryTabsCollectionView:null,LibraryTabsItemView:null,FiltersItemView:null,L...
#!/usr/bin/python3 import urllib.request import urllib.parse import urllib.error import subprocess import threading import platform import getpass import hashlib import json import gzip import stat import ssl import os platformMap = { 'Darwin': 'OSX', 'Linux': 'Linux', 'Windows': 'Windows', } platformName...
/* * jquery.draggable * https://github.com/ducksboard/gridster.js * * Copyright (c) 2012 ducksboard * Licensed under the MIT licenses. */ ;(function(root, factory) { if (typeof define === 'function' && define.amd) { define('gridster-draggable', ['jquery'], factory); } else { root.Gridste...
#pylint: disable=W0201,C0301,C0111 from __future__ import annotations from collections import defaultdict from struct import pack, Struct from typing import Set, List, TYPE_CHECKING from cpylog import get_logger2 #import pyNastran from pyNastran.op2.op2_interface.op2_f06_common import OP2_F06_Common from pyNastran.op2...
module.exports = function(mongoose) { var exportItems = {}; var Schema = mongoose.Schema; var ChatMessageSchema = new Schema({ name: String, userName: String, message: String, sentOn: Date, id: Number, toUser: String }, { collection: 'ChatMessage' }); ...
module.exports={A:{A:{"1":"E B A","2":"J C G VB"},B:{"1":"D Y g H L"},C:{"1":"0 1 3 4 5 P Q R S T U V W X v Z a b c d e f K h i j k l m n o p q r s x y u t","2":"TB z","132":"F I J C G E B A D Y g H L M N O RB QB"},D:{"1":"0 1 3 4 5 9 F I J C G E B A D Y g H L M N O P Q R S T U V W X v Z a b c d e f K h i j k l m n o p...
'use strict' var utileth = require('ethereumjs-util') var Tx = require('ethereumjs-tx').Transaction var Block = require('ethereumjs-block') var BN = require('ethereumjs-util').BN var remixLib = require('@remix-project/remix-lib') var EthJSVM = require('ethereumjs-vm').default function sendTx (vm, from, to, value, data...
var searchData= [ ['r',['R',['../namespacearm__compute.xhtml#a1ce9b523fd4f3b5bbcadcd796183455aae1e1d3d40573127e9ee0480caf1283d6',1,'arm_compute']]], ['range',['RANGE',['../namespacearm__compute.xhtml#a3e6b23e675649b83240691abbc42a649a01036ddcc971d02f6c32c3da31a119f2',1,'arm_compute']]], ['reciprocal',['RECIPROCAL...
import fs from "fs"; import path from "path"; import ExtractTextPlugin from "extract-text-webpack-plugin"; export function readFileOrEmpty(path) { try { return fs.readFileSync(path, "utf-8"); } catch (e) { return ""; } } export const defaultConfig = { entry: "./index", module: { r...
#!/usr/bin/env python3 # Copyright 2019-2021 Sophos Limited # # 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...
/* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.lang['is']={"editor":"Rich Text Editor","editorPanel":"Rich Text Editor panel","common":{"editorHelp":"Press ALT 0 for help","browseServer":"Fletta í skjalasafni","url...
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.lang['cy']={"editor":"Golygydd Testun Cyfoethog","editorPanel":"Panel Golygydd Testun Cyfoethog","common":{"editorHelp":"Gwasgwch ALT 0 am gymorth","browseServer":"P...
/* ------------------------------------------------------------------------- * * Copyright 2002-2021, OpenNebula Project, OpenNebula Systems * * * * Licensed under the Apache License, Version 2.0 (the "License"); you may * * n...
angular.module('ReFigureContent', []) .constant('USER_INFO', {}) .config(['$httpProvider', '$compileProvider', 'USER_INFO', function ($httpProvider, $compileProvider, USER_INFO) { $compileProvider.imgSrcSanitizationWhitelist(/^\s*(https?|ftp|mailto|chrome-extension):/); //noinspection JSUnresolv...
import json def readJSON(dbFile: str) -> dict: """Read the json file with the given path, and return the contents as a dictionary. :param str dbFile: Path to the file to read :return: The contents of the requested json file, parsed into a python dictionary :rtype: dict """ with open(dbFile, "...
''' @Description: draw Sphere @Author: yiyuan @Date: 2018-03-28 ''' import glm import math import OpenGL.GL.shaders as shds import glfw import numpy as np from OpenGL.GL import * from OpenGL.GLUT import * class neuron(): def __init__(self): self.vertical_slice = 16 self.horizontal_slice = 16 ...
const gibbyJSON = require('../assets/gibby_quotes.json'); const { italic } = require('@discordjs/builders'); /** * @param {string} gameMode The Apex Legends game mode (Battle Royale or Arenas) * @param {string} thumbnailUrl Thumbnail image URL * @param {string} currentMap Name of the currently active map * @param ...
var gulp = require('gulp') var plumber = require('gulp-plumber') module.exports = function(config) { gulp.task('files', function() { return gulp.src(config.files.src) .pipe(plumber()) .pipe(gulp.dest(config.files.dest)) .pipe(plumber.stop()) }) }
# See http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages try: __import__('pkg_resources').declare_namespace(__name__) except ImportError: from pkgutil import extend_path __path__ = extend_path(__path__, __name__)
import { __assign } from "tslib"; import * as React from 'react'; import { StyledIconBase } from '@styled-icons/styled-icon'; export var BusinessTime = React.forwardRef(function (props, ref) { var attrs = { "fill": "currentColor", "xmlns": "http://www.w3.org/2000/svg", }; return (React.creat...