text
stringlengths
3
1.05M
from pathlib import Path DATA_DIR = Path(__file__).resolve().parent.parent / "data"
# Copyright 2020, Kay Hayen, mailto:kay.hayen@gmail.com # # Part of "Nuitka", an optimizing Python compiler that is compatible and # integrates with CPython, but also works on its own. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in complianc...
module.exports = { bracketSpacing: true, jsxBracketSameLine: false, singleQuote: true, trailingComma: 'all', arrowBodyStyle: false, selfClosingComp: false, };
import jinja2 from jingo import register from django.contrib.sites.models import RequestSite from django.utils.http import urlquote from funfactory.helpers import static @register.function @jinja2.contextfunction def abs_static(context, path): """Make sure we always return a FULL absolute URL that starts wi...
var dir_9d16125b5521f63edf675630c8f67983 = [ [ "acl", "dir_963fc05e9365a8e9d159125bf9635cac.html", "dir_963fc05e9365a8e9d159125bf9635cac" ] ];
const glob = require('glob'); module.exports = function listReadmes() { const baseDir = 'src/'; const basename = 'README.md'; return glob.sync(baseDir + '**/' + basename) .map(filename => filename.substring(baseDir.length)) };
const statusCode = require("../module/utils/statusCode"); const userType = require("../module/utils/userStatus"); const responseMessage = require("../module/utils/responseMessage"); const authUtil = require("../module/utils/authUtil"); const pool = require("../module/db/pool"); const moment = require("moment"); require...
import struct import math def loadData(fName, sizeLimit=-1): f = open(fName, 'rb') iSize = struct.calcsize('i') dSize = struct.calcsize('d') dataLen = struct.unpack('>i', f.read(iSize))[0] dataSize = struct.unpack('>i', f.read(iSize))[0] if (sizeLimit >= 0): dataSize = si...
import csv import os import time import tensorflow as tf from tensorflow import app from tensorflow import flags from tensorflow import gfile from tensorflow import logging import numpy as np from scipy.io import wavfile import six import vggish_input import vggish_params import vggish_postprocess import vggish_slim...
var searchData= [ ['arduino_20library_20for_20distance_20sensors',['Arduino library for distance sensors',['../index.html',1,'']]] ];
/* Copyright 2016 OpenMarket Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software ...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _createIcon = require('../createIcon'); var _createIcon2 = _interopRequireDefault(_createIcon); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var GrinSquintTearsIcon = (0, _createIco...
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
import styled, { css } from "styled-components"; const btn = (light, dark) => css` white-space: nowrap; display: inline-block; border-radius: 5px; padding: 5px 15px; font-size: 16px; color: white; &:visited { color: white; } background-image: linear-gradient(${light}, ${dark}); border: 1px soli...
function executeExercise1(value) { if (value > 10) { writeInDocument("Resposta: valor maior que 10", "exercise_1_result"); } else if (value < 10) { writeInDocument("Resposta: valor menor que 10", "exercise_1_result"); } else if (value == 10) { writeInDocument("Resposta: valor igual a...
import React from 'react'; import Grid from '../Grid'; import GridItem from '../GridItem'; class SimpleGrid extends React.Component { render() { return ( <Grid> <GridItem span={8}>span = 8</GridItem> <GridItem span={4} rowSpan={2}> span = 4, rowSpan = 2 </GridItem> ...
--- to: <%= h.src() %>/<%= h.changeCase.lower(name) %>/src/js/init.js --- import { initBreakpointsCssReload } from '@skilld/kaizen-breakpoints'; import config from '../../<%= h.changeCase.lower(name) %>.breakpoints.yml'; <% if(type==='primary'){ -%> import './ui/messages'; import './ui/select'; <% } -%> window.themeBr...
systemController = { backup_step:0, restore_step:0, linkSetup:function(obj,setting){ try{ w_url = $(obj).attr('data-url'); if(setting.overlay){ var addOverlay = Overlay.panel({id:'id_overlay_link'}); addOverlay.open({title:setting.title,url:w_url}); return false; if( setting.confirm ){ ...
import logging from argparse import ArgumentParser from transformers.commands import BaseTransformersCLICommand from transformers.pipelines import SUPPORTED_TASKS, Pipeline, PipelineDataFormat, pipeline logger = logging.getLogger(__name__) # pylint: disable=invalid-name def try_infer_format_from_ext(pat...
# Owner(s): ["module: onnx"] import unittest import onnxruntime # noqa: F401 import torch from torch.cuda.amp import autocast from test_pytorch_common import disableScriptTest, skipIfUnsupportedMinOpsetVersion from test_pytorch_common import skipIfNoCuda, skipIfNoBFloat16Cuda from test_pytorch_onnx_onnxruntime imp...
/** * DevExtreme (core/class.js) * Version: 18.2.3 * Build date: Wed Nov 07 2018 * * Copyright (c) 2012 - 2018 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ "use strict"; var errors = require("./errors"), typeUtils = require("./util...
import keys from 'lodash/keys'; export default /* @ngInject */ ($scope, $q, $translate, Alerter) => { let timeoutObject = null; $scope.data = $scope.currentActionData.ipsList; $scope.loading = { exportCsv: false, }; function printCsv(datas) { let csvContent = ''; let dataString; let link; ...
/* This file is part of web3.js. web3.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. web3.js is distribu...
#!/usr/bin/env python3 from xml.etree import ElementTree from xml.etree.ElementTree import Element, tostring as xml_tostring, indent as xml_indent, fromstring as xml_fromstring, ParseError import api_classes import argparse from io import StringIO, BytesIO import re,json,sys,os, subprocess,io,copy,threading,platform,ti...
import { xRollingAverage } from 'ml-spectra-processing'; /** * * @export * @param {Array<number>} ys * @param {Object} [options={}] * @param {number} [options.window] rolling window size, defaults to 10% of the length of the spectrum * @param {string} [options.padding.size=window-1] none, value, circular, dupli...
/* * Globalize Culture ms-MY * * http://github.com/jquery/globalize * * Copyright Software Freedom Conservancy, Inc. * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * This file was generated by the Globalize Culture Generator * Translation: bugs found in this f...
/*$(document).on("click", '.change_status', function(e) { e.preventDefault(); var thisBtn = this; console.log(this); var status = $(this).attr('data-status'); var id = $(this).attr('data-id'); var token = $('#token').val(); var data = {'id':id, 'status':status, 'token':token }; $.ajax({ ...
import React from "react"; import { withStyles } from "material-ui"; // nodejs library to set properties for components import PropTypes from "prop-types"; import typographyStyle from "../../../assets/jss/material-kit-react/components/typographyStyle"; function Quote({ ...props }) { const { classes, text, author } ...
import React from 'react'; import DefaultImage from './DefaultImage'; import FullWidthImage from './FullWidthImage'; import { imageCaptionStyles } from 'styles'; /** * Image caption slice component */ const ImageCaption = ({ slice }) => ( <> {slice.slice_label === 'image-full-width' ? ( <Full...
// NOTE: Needs specific dates to pass tests describe("Public List by Date Test", function() { it("GIVEN: User navigates to events page", function() { cy.visit("/public/events"); }); it("WHEN: User specifies a specific date range", function() { cy.get("[data-cy=end-date-picker]").click(); cy.get( ...
# In this script Kth Nearest Neighbor (Knn) machine learning algorithm used on dataset.csv # This dataset consist of 1000 samples with 26 features each # https://scikit-learn.org/stable/modules/neighbors.html import numpy as np from utils import load_analytic_data, save_sklearn_model from sklearn.model_selection impor...
/** * 寻医问药mip改造 新版广告组件 * @file 脚本支持 * @author jqthink@gmail.com * @time 2018.05.07 * @version 1.0.7 */ define(function (require) { var $ = require('zepto'); var customElem = require('customElement').create(); var loadAd = function (elem, className, content, token) { var el = document.crea...
/** * ProxyStore is a superclass of {@link Ext.data.Store} and {@link Ext.data.BufferedStore}. It's never used directly, * but offers a set of methods used by both of those subclasses. * * We've left it here in the docs for reference purposes, but unless you need to make a whole new type of Store, what * you're pr...
import React, { useState } from 'react'; // JS // const input = document.getElementById('myText'); // const inputValue = input.value // React // value, onChange // dynamic object keys const ControlledInputs = () => { const [person, setPerson] = useState({ firstName: '', email: '', age: '' }); const [people, setPeo...
function validateEmail(email) { // eslint-disable-next-line no-useless-escape const re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; return re.test(email); } export default validateEmail;
from torch import nn import torch.nn.functional as F from torch import nn, optim from pytorch_lightning import LightningModule class MyAwesomeModel(LightningModule): def __init__(self): ''' Builds a feedforward network with arbitrary hidden layers. Arguments --------- ...
log_level = 'INFO' load_from = None resume_from = None dist_params = dict(backend='nccl') workflow = [('train', 1)] checkpoint_config = dict(interval=10) evaluation = dict(interval=100, metric='mAP') optimizer = dict( type='Adam', lr=0.0015, ) optimizer_config = dict(grad_clip=None) # learning policy lr_config...
import OverviewInfo from './OverviewInfo'; export default OverviewInfo;
/* @flow */ import config from '../config' import { initProxy } from './proxy' import { initState } from './state' import { initRender } from './render' import { initEvents } from './events' import { mark, measure } from '../util/perf' import { initLifecycle, callHook } from './lifecycle' import { initProvide, initInj...
import axios from 'axios'; import { apiAddress } from './config'; export default { async getImports(titleId, rplId) { return await axios.get( `${apiAddress}/api/titles/${titleId}/rpls/${rplId}/imports`, ); }, };
$(function(e){ 'use strict' /* chartjs (#content-overview) */ var ctx = $('#content-overview'); ctx.height(158); var myChart = new Chart(ctx, { type: 'line', data: { labels: ["P1-6", "p1-8", "p2-6", "p2-8", "p3-6", "p3-8", "p4-6", "p4-8", "p5-6", "p5-8", "p6-6", "p6-8"], type: 'line', datasets: [...
import sys sys.path.append('../../') import os from data_processor.GOA_simulation.GOA_ECMs_simulation import load_sim_ecm_para_config_dict """ Module Function 本次(第二次)计算Chi-Square 参照ZSimpWin中的最终定义 Tech Note 37: Least Squares Fit Formulation 3. Definition of the chi-squared ...
/** * Create a new user profile */ const RegisterUser = { method: 'POST', path: '/register', schema: { body: { }, }, async handler(req, reply) { const { body, $storage, $amqp } = req; let profile = { ...body, }; const user = await $sto...
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnPrope...
"""Discrete uniform probability distribution.""" import numpy import chaospy from ..baseclass import SimpleDistribution from ..operators import J class DiscreteUniform(SimpleDistribution): """ Discrete uniform probability distribution. Examples: >>> distribution = chaospy.DiscreteUniform(2, 4) ...
from contextlib import contextmanager from errno import EACCES, EAGAIN from fcntl import lockf, LOCK_NB import os import socket def openlock(filename, operation, wait=True): """ Returns a file-like object that gets a fnctl() lock. `operation` should be one of LOCK_SH or LOCK_EX for shared or exclusiv...
# -*- coding: utf-8 -*- ################################################################################ # LexaLink Copyright information - do not remove this copyright notice # Copyright (C) 2012 # # Lexalink - a free social network and dating website platform for the Google App Engine. # # Original author: Alexan...
// This file could contain a whole load of functions and API calls etc... // ... or you may want to create several API files if you have several object types and want to keep everything clean and separated import store from '@/store' export const getTimestamp = (timestamp) => { let date = new Date((pars...
import throwIfMissing from './util/throwIfMissing' import { addClasses, removeClasses } from './util/dom' // All officially-supported browsers have this, but it's easy to // account for, just in case. var divStyle = document.createElement('div').style const HAS_ANIMATION = typeof document === 'undefined' ? fals...
const router = require("express").Router(); const verifyMW = require("../middlewares/auth"); const { createTODO, readTODOs, updateTODO, delTODO, updateTODOText } = require("../models/user") router.post("/", verifyMW, (req, res, next) => { let { text } = req.body; createTODO(req.decodedData.id, text) .then...
from django.urls import path from . import views urlpatterns = [ path('', views.all_products, name='products'), path( 'category/<slug:category_slug>/', views.all_products, name='products_by_category'), path( 'category/<slug:category_slug>/<slug:product_slug>/', views...
var Case = require('Case'); const DOM = require('DOM'); var DocumentIDsMustBeUnique = { run: function (test) { test.get('scope').forEach(function (scope) { var ids = {}; DOM.scry('[id]', scope).forEach(function (element) { var _case = Case({ element: element }); test....
import functools import io import sys import threading import time from tqdm import notebook, tqdm from cogent3.util import parallel as PAR __author__ = "Sheng Han Moses Koh" __copyright__ = "Copyright 2007-2020, The Cogent Project" __credits__ = ["Peter Maxwell", "Sheng Han Moses Koh"] __license__ = "BSD-3" __vers...
import styled from 'styled-components'; import React from 'react'; import PropTypes from 'prop-types'; import { Close as _Close } from '@styled-icons/material/Close'; import { Box, Flex } from '@rebass/grid'; import { FormattedMessage } from 'react-intl'; import { useRouter } from 'next/router'; import StyledButton fr...
/** * Module dependencies. */ var should = require('should'), app = require('../../server'), mongoose = require('mongoose'), User = mongoose.model('User'), Article = mongoose.model('Article'); //Globals var user; var article; //The tests describe('<Unit Test>', function() { describe('Model Artic...
'use strict'; const dnscrypt = require('.'); // PTR -> IP(google.com).in-addr.arpa // NAPTR -> digitoffice.ru // CAA -> google.com // SRV -> _sip._udp.sip.voice.google.com dnscrypt.resolve('example.com', 'A', (error, answer) => { if (error) { console.error(error); } else { console.log(answer); } });
version https://git-lfs.github.com/spec/v1 oid sha256:c7b7abf54cc3c6d4c454c090efb0446086b32f4398bd1d17b398116c2f5aec53 size 2098
import { h } from 'omi'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon(h(h.f, null, h("path", { fillOpacity: ".3", d: "M22 8V4.41c0-.89-1.08-1.34-1.71-.71L3.71 20.29c-.63.63-.19 1.71.7 1.71H18V11c0-1.66 1.34-3 3-3h1z" }), h("path", { d: "M18 22V6L3.71 20.29c-.63.63-.19 1.71.7 1.7...
'use strict'; /* jshint quotmark: double */ window.SwaggerTranslator.learn({ "Warning: Deprecated":"警告:已过时", "Implementation Notes":"实现备注", "Response Class":"响应类", "Status":"状态", "Parameters":"参数", "Parameter":"参数", "Value":"值", "Description":"描述", "Parameter Type":"参数类型", "Data Type":"数据类型", "Re...
#!/usr/bin/env python # vim: fdm=indent ''' author: Fabio Zanini date: 01/11/13 content: After the preliminary mapping to reference, plot coverage and allele frequencies to spot major issues. ''' # Modules import os import argparse import numpy as np from Bio import SeqIO import matplotlib.pypl...
module.exports = { purge: ["./src/**/*.html", "./src/**/*.js"], darkMode: false, // or 'media' or 'class' theme: { extend: { colors: { one: { lt: "#EF6B81", md: "#E83151", dk: "#B4142F", }, ...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow strict-local * @format */ 'use strict'; const base62 = require('base62'); // Static ids always end with `:<HASH>` wher...
const authRouter = require('express').Router(); const bcrypt = require('bcryptjs'); const generatePassword = require('../../utils/generatePassword'); const generateToken = require('../../utils/generateToken'); const Users = require('../../../data/models/users.model'); /** * @apiDefine UserNotFound * @apiError UserNo...
// Prototypical use case increments loop counter by one on each iteration for (let i = 0; i < 10; i++) { console.log("Iteration #", i); } // Looping through an array let students = ["Johnny", "Tyler", "Bodhi", "Pappas"]; for (let j = 0; j < students.length; j++) { console.log(students[j]); }
var tap = require('../tap'); tap.count(1); var l = [,1]; tap.eq(l[1], 1, 'empty elements allowed');
/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ "./node_modules/alpinejs/dist/module.esm.js": /*!**************************************************!*\ !*** ./node_modules/alpinejs/dist/module.esm.js ***! \**************************************************/ /***/ ((__unused_webpac...
/* eslint-env jest */ import React from 'react' import CloseButton from '../CloseButton' import { mockIntl } from '../../../../test/__mocks__/react-intl' import { mountWithIntl } from '../../../../test/helpers/intl-enzyme-test-helper.js' import { initIcons } from '../../ui/icons' const onClick = jest.fn() describe('C...
import React from 'react'; export default function Map(){ return( <div className="col-lg-6 map"> <iframe src="https://www.google.com/maps/embed?pb=!1m23!1m12!1m3!1d127052.55163192659!2d-0.27637432927504807!3d5.6562688855568135!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!4m8!3e6!4m0!4m5!1s0xfdf9f753c...
'use strict'; var ByteBuffer = require('bytebuffer'); var constants = require('../helpers/constants.js'); // Private fields var modules, library; // Constructor function Signature () {} Signature.prototype.bind = function (scope) { modules = scope.modules; library = scope.library; }; Signature.prototype.create =...
import datetime as dt start = dt.datetime(2016, 12, 8, 0) end = dt.datetime(2016, 12, 18, 0) valid = dt.datetime(2016, 12, 18, 0) # FIXME: set an appropriate output path (target parameter) request = """ retrieve, class=od, stream=enfo, expver=1, type=pf, grid=1.0/1.0, number=1/TO/50, a...
(function(d){ const l = d['th'] = d['th'] || {}; l.dictionary=Object.assign( l.dictionary||{}, {"%0 of %1":"","Align cell text to the bottom":"","Align cell text to the center":"","Align cell text to the left":"","Align cell text to the middle":"","Align cell text to the right":"","Align cell text to the top":"","Ali...
# coding=utf-8 # Copyright 2020 The Google Research 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://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
console.log("mod3.js");
# -*- coding: utf-8 -*- from setuptools import setup, find_packages, Extension from codecs import open from os import path here = path.abspath(path.dirname(__file__)) # Get the long description from the relevant file with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f: long_description = f.read(...
/* ************************************************************************************************* * * * Plese read the following tutorial before implementing tasks: * * https://develope...
import React, { useEffect, useRef } from 'react'; import { useRouteMatch } from 'react-router-dom'; import * as Yup from 'yup'; import { toast } from 'react-toastify'; import * as HV from '~/components/HeaderView'; import { SelectAsync } from '~/components/Form/Selects'; import api from '~/services/api'; import hist...
import { WS_INSERT_PROCESS, WS_UPDATE_PROCESS, LIST_PROCESSES, GET_PROCESS } from "../../app/actionTypes"; import reducer, { initialState as reducerInitialState } from "../reducer"; describe("Processes Reducer", () => { it("should return the initial state on first pass", () => { const result = reducer(unde...
// THIS FILE IS AUTO GENERATED var GenIcon = require('../lib').GenIcon module.exports.SiParseDotLy = function SiParseDotLy (props) { return GenIcon({"tag":"svg","attr":{"role":"img","viewBox":"0 0 24 24"},"child":[{"tag":"title","attr":{},"child":[]},{"tag":"path","attr":{"d":"M9.623,19.131c0-0.064,0-0.123-0.023-0.19...
import React from 'react'; import { withRouter } from 'react-router-dom'; import { useSelector } from 'react-redux'; import useDocumentTitle from 'hooks/useDocumentTitle'; import useScrollTop from 'hooks/useScrollTop'; import { ADD_PRODUCT } from 'constants/routes'; import ProductAppliedFilters from 'components/produc...
# -*- coding: utf-8 -*- """ GIS Module @requires: U{B{I{gluon}} <http://web2py.com>} @requires: U{B{I{shapely}} <http://trac.gispython.org/lab/wiki/Shapely>} @copyright: (c) 2010-2019 Sahana Software Foundation @license: MIT Permission is hereby granted, free of charge, to any person obtaini...
from torch import nn from torch.nn import Module class LatentTransformer(Module): def __init__(self, get_latent_attn, get_latent_ff, num_latent_blocks_per_layer, weight_tie_layers): super().__init__() self.latent_blocks = nn.ModuleList([]) self.num_latent_blocks_per_layer ...
let objectValues = require('lodash').values; /** * Generic tap function. * * @param {mixed} val * @param {Function} callback */ global.tap = function(val, callback) { callback(val); return val; }; /** * Add tap to arrays. * * @param {mixed} val * @param {Function} callback */ Array.prototype....
'use strict'; const assert = require('assert'); const path = require('path'); const mock = require('egg-mock'); const utils = require('../lib/utils'); const BaseView = require('../index'); const framework = path.join(__dirname, '../../beidou-core/'); describe('test/view.test.js', () => { it('utils', () => { c...
$(document).foundation() $('#validate').on('input propertychange paste keypress',function() { var x = document.getElementById("validate").value.toLowerCase(); var y = false; for (i = 0; i < database.length; i++) { if (x.includes(database[i])) { $(".result").text("this is a genuine email...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7ed88828"],{a2d9:function(t,s,i){"use strict";i.r(s);var n=function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"card"},[t.list.length?i("div",{staticClass:"list"},t._l(t.list,(function(s,n){return i("div",{key:n,staticCla...
"use strict"; exports.__esModule = true; exports.default = void 0; var _vue = require("vue"); var _utils = require("../utils"); var _Swipe = require("../swipe/Swipe"); var _use = require("@vant/use"); var _useExpose = require("../composables/use-expose"); // Utils // Composables var [name, bem] = (0, _utils.crea...
const path = require("path"); // const HDWalletProvider = require('truffle-hdwallet-provider'); // const infuraUrl = 'https://rinkeby.infura.io/v3/0c7bd415b86d4c8ea9fd81cfc5468d87'; // const fs = require('fs'); // const mnemonic = fs.readFileSync(".secret").toString().trim(); module.exports = { /** * Networks de...
getAllProducts();
import thunk from 'redux-thunk'; import { createLogger } from 'redux-logger'; import { createStore, applyMiddleware, compose } from 'redux'; import rootReducer from './rootReducer'; /** The Store is the object that brings actions (that represent the facts about * “what happened”) and the reducers (that update the state...
import React from "react" import Lunch from "../../forms/lunchAndLearn" export default function LunchAndLearn({ data }) { const { title, description } = data.primary return ( <div className="contact-wrapper contact-wrap"> <div className="container "> <div className="contact-information "> ...
"""Init scheduling-app.""" __version__ = "0.1.0"
CKEDITOR.plugins.setLang("colorbutton","pt-br",{auto:"Automático",bgColorTitle:"Cor do Plano de Fundo",colors:{"000":"Preto",8E5:"Foquete","8B4513":"Marrom 1","2F4F4F":"Cinza 1","008080":"Cerceta","000080":"Azul Marinho","4B0082":"Índigo",696969:"Cinza 2",B22222:"Tijolo de Fogo",A52A2A:"Marrom 2",DAA520:"Vara Dourada"...
""" Copyright (c) 2019 Muhammad Shehriyar Qureshi 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, publish,...
import sys, os import torch import torch.nn as nn import torch.nn.functional as F import torchvision import omnifig as fig import numpy as np # %matplotlib tk from matplotlib import cm import omnilearn as learn from omnilearn import util @fig.Component('point-enc') class PointEncoder(learn.Encodable, learn.Visual...
// export default function data() { return { dialogs: { help: false, }, loading: false, } }
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.nolimit = f()}...
import numpy as np from utils import * def spectra_sym_gen(eobj, x, y, adv_value=1, testgen_factor=.2, testgen_size=0): v_type=type(adv_value) model=eobj.model failing=[] passing=[] #inputs=[] sp=x.shape x_flag=np.zeros(sp, dtype=bool) portion=int(sp[0]*testgen_factor) incr=1/6*portion if port...
import pytest # Make sure these tests do not run if ASDF is not installed pytest.importorskip('asdf') import numpy as np import astropy.units as u from astropy.coordinates import FK5 from asdf.tests.helpers import assert_roundtrip_tree import asdf from specutils import Spectrum1D, SpectrumList def create_spectrum...
/** * Copyright 2017 Google Inc. 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 appli...
/** * NOTE: * * This file is automatically generated by i18n-tools. * DO NOT CHANGE IT BY HAND or your changes will be lost. */ // Norwegian Bokmål export default { 'fabric.atlassianSwitcher.switchTo': 'Bytt til', 'fabric.atlassianSwitcher.switchToTooltip': 'Bytt til …', 'fabric.atlassianSwitcher.recen...