text
stringlengths
3
1.05M
import torch import torch.nn as nn import torch.nn.functional as F import os import glob import json import tqdm import functools import re import spacy from torch.utils.data.distributed import DistributedSampler from einops import rearrange from pycocoevalcap.bleu.bleu_scorer import BleuScorer import pickle from vilt....
import { Injectable } from '@angular/core'; import * as i0 from "@angular/core"; /** * A configuration service for the [`NgbProgressbar`](#/components/progressbar/api#NgbProgressbar) component. * * You can inject this service, typically in your root component, and customize the values of its properties in * order t...
import pprint import logging from collections import defaultdict logger = logging.getLogger(__name__) class RegionSet: def __init__(self): self.rects = [] def add_region(self, rect): self.rects.append( rect) def contained_in( self, rect): for r in self.rects: if r[0] <...
/*! Pickr 1.4.2 MIT | https://github.com/Simonwep/pickr */ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Pickr=e():t.Pickr=e()}(window,function(){return function(t){var e={};function n(r){if(e[r])re...
import { snakeToCamelCase } from '../helpers/toCamelCase'; import * as THEME from '../constants/theme'; const APIKeys = { src: String, 'disable-auto-verify': Boolean, 'disable-verify': Boolean, 'allow-download': Boolean, 'allow-social-share': Boolean, 'display-mode': String, 'show-metadata': Boolean, '...
#!/usr/bin/env python # # __COPYRIGHT__ # # 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, ...
const ConfigurationUtils = require('./configuration-utils'); const PrintUtils = require('./print-utils'); module.exports = { printUnexpectedError (err) { PrintUtils.printLine('An unexpected error occurred during communication with JIRA, details: ', 'red'); if (err.code || err.syscall || err.errno) { Pr...
import matplotlib.pyplot as plt import numpy as np # # lines = plt.plot(x1, y1, x2, y2) # # use keyword args # plt.setp(lines, color='r', linewidth=2.0) # # or MATLAB style string value pairs # plt.setp(lines, 'color', 'r', 'linewidth', 2.0)
/* * Copyright (c) 2015-2016 Dilvan Moreira. * Copyright (c) 2015-2016 John Garavito. * * 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/LICENS...
""" Title: TCP Client Type: Client Engineer: Michael Podsiadly https://mender.io/ # NOTE: NOT SECURE! NOT USING TLS, SSL, OR SSH """ import networkcommons import os, io, sys import asyncio import logging from typing import IO from contextlib import contextmanager logging.basicConfig( ...
/***************************************************************************** * * nernst_planck.c * * A solution for the Nerst-Planck equation, which is the advection * diffusion equation for charged species \rho_k in the presence of * a potential \psi. * * We have, in the most simple case: * * d_t rho...
// copying due to ES6 compat issues const MUTATION = { SET_PORT: 'Set Snippet Port', CONNECT: 'Connect Snippet Server Driver', DISCONNECT: 'Disconnect Snippet Server Driver', STATUS_UPDATE: 'Server Status Update', NEW_SNIPPET: 'New Snippet', DELETE_SNIPPET: 'Delete Snippet', ADD_EXAMPLE: 'Add Example', ...
from PipConfig import TBLWORDFORMFILE, CTAG2MSDMAPFILE from PipApi import PipApi from PipAlgo import PipAlgo from PipTok import PipTok from PipDTO import PipDTO from cube.api import Cube import os import sys from pathlib import Path import inspect # Author: Radu Ion (radu@racai.ro) # It seems that the models are autom...
import numpy as np import torch import torch.nn as nn import torch.nn.functional as F import math from model.GCN import GCN from model.GCN import VGAE from torch.autograd import Variable from torch.distributions.kl import kl_divergence from torch.distributions import Normal class VBGE(nn.Module): """ VBGE...
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """HTML reporting for coverage.py.""" import datetime import json import os import re import shutil import coverage from coverage import env from coverage.backwar...
class ConcurrentModificationError(ValueError): """Base error class for write concurrency errors""" pass class StaleWrite(ConcurrentModificationError): """Tried to write a version of a model that is older than the current version in the database""" pass class AlreadyLocked(ConcurrentModificationError...
from rest_framework import viewsets, mixins from rest_framework.authentication import TokenAuthentication from rest_framework.permissions import IsAuthenticated from core.models import Tag, Ingredient, Recipe from recipe import serializers class BaseRecipeAttrViewSet(viewsets.GenericViewSet, ...
import Controller from './Controller'; import KeyCode from '../const/KeyCode'; import { InputManager, Point } from '../entry'; /** * A Controller Component with extra methods designed for controlling a * character in a Top-Down Perspective view. */ export default class TopDownController extends Controller { co...
/****************************************************************************** * * FILE * ---- * AssocChannelDataHandler.c * * History * ------- * 2013-01-15 File created * ******************************************************************************* * * This file is generated by the 'a...
"use strict"; /** * @license * Copyright Akveo. All Rights Reserved. * Licensed under the MIT License. See License.txt in the project root for license information. */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.def...
''' /* * * Copyright (c) 2022 Project CHIP 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 re...
from datetime import timezone from django.contrib import messages from django.contrib.auth import authenticate, login, logout from django.contrib.auth.decorators import login_required from django.contrib.messages import get_messages from django.core.exceptions import ObjectDoesNotExist from django.core.files.uploadedfi...
/** ****************************************************************************** * @file USB_Host/DynamicSwitch_Standalone/Src/stm32f4xx_it.c * @author MCD Application Team * @brief Main Interrupt Service Routines. * This file provides template for all exceptions handler and * peri...
""" Notes ----- Code written using below textbook as a reference. Results are checked against the expected outcomes in the text book. Properties: Hyndman, Rob J., and George Athanasopoulos. Forecasting: principles and practice. OTexts, 2014. Author: Terence L van Zyl Modified: Kevin Sheppard """ from statsmodels.comp...
# Generated by Django 2.2.4 on 2019-12-31 09:59 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('accounts', '0010_account...
from pathlib import Path from fhir.resources.valueset import ValueSet as _ValueSet from oops_fhir.utils import ValueSet from oops_fhir.r4.code_system.example_use_codes_for_list import ( ExampleUseCodesForList as ExampleUseCodesForList_, ) __all__ = ["ExampleUseCodesForList"] _resource = _ValueSet.parse_file(...
// 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.zoneddatetime.from description: A number as calendar in a property bag is converted to a string, then to a calendar features: [Temporal] ---*/ const calendar = 199703...
import styled from "styled-components"; import { Theme } from "../../utils/Styles/Theme"; export const BotaoQuadrado = styled.button` width: 12.5rem; height: 11rem; border-radius: 1.5rem; box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.25); background-color: ${Theme.colors.$sispocPrimary}; color: #1b1b1b...
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models from jsonfield import JSONField from connected_accounts.provider_pool import providers class Migration(migrations.Migration): dependencies = [ migrations.swappable_d...
deepmacDetailCallback("003a7d000000/24",[{"d":"2016-01-29","t":"add","a":"80 West Tasman Drive San Jose CA US 94568","c":"US","o":"Cisco Systems, Inc"}]);
import React from 'react'; import Loader from 'react-loader-spinner'; import style from './Loader.module.scss'; const customLoader = () => ( <div className={style.loaderWrapper}> <Loader type="Puff" color="#000000" height={50} width={50} /> </div> ); export default customLoader;
import torch from torch.optim import SGD from detectron2.solver.lr_scheduler import WarmupMultiStepLR, _get_warmup_factor_at_iter from bisect import bisect_right class CaffeSGD(SGD): def step(self, closure=None): """Performs a single optimization step. Arguments: closure (callable, op...
from .base import GnuRecipe class FastExportRecipe(GnuRecipe): def __init__(self, *args, **kwargs): super(FastExportRecipe, self).__init__(*args, **kwargs) self.sha256 = '15124825f8f18bbae874f155ea8168d5' \ '4775f906d50ca8dc59efc86eeb491615' self.name = 'fast-export'...
from __future__ import absolute_import from symbolic import Unreal4Crash from sentry.lang.native.minidump import MINIDUMP_ATTACHMENT_TYPE def process_unreal_crash(data): """Processes the raw bytes of the unreal crash""" return Unreal4Crash.from_bytes(data) def unreal_attachment_type(unreal_file): """Ret...
""" .. currentmodule:: dgl DGL Basics ========== **Author**: `Minjie Wang <https://jermainewang.github.io/>`_, Quan Gan, Yu Gai, Zheng Zhang The Goal of this tutorial: * To create a graph. * To read and write node and edge representations. """ ########################################################...
// Challenge // Using the JavaScript language, have the function LetterChanges(str) take the str parameter being passed and modify it using the following algorithm. Replace every letter in the string with the letter following it in the alphabet (ie. c becomes d, z becomes a). Then capitalize every vowel in this new str...
/* jshint esversion:6 */ let json = require('google-fonts-complete'); let _ = require('underscore'); let Q = require('q'); let noop = (function() {}); let defaults = { name: '', category: '', variant: '', weight: '', items: 1, }; function getFont(options) { let result = json; options = _.defaults(options, ...
/* /% C++ %/ */ /*********************************************************************** * cint (C/C++ interpreter) ************************************************************************ * header file stream.sut.h ************************************************************************ * Description: * Stub fi...
from .constants import PAYPAL_CURRENCIES class PaypalError(Exception): # The generic Paypal error and message. def __init__(self, message='', id=None, data=None): super(PaypalError, self).__init__(message) self.id = str(id) self.data = data or {} self.default = ('There was an e...
# (c) 2012-2018, Ansible by Red Hat # # This file is part of Ansible Galaxy # # Ansible Galaxy is free software: you can redistribute it and/or modify # it under the terms of the Apache License as published by # the Apache Software Foundation, either version 2 of the License, or # (at your option) any later version. # ...
/////////////////////////////////////// // // // Wimpy Button Maker // // // // ©2008 Plaino // // Available at // // www.wimpyplayer.com // // ...
//============================================================================= // 4Quiz.js 2020.4.29 // The MIT License (MIT) //============================================================================= /*: * @plugindesc 4択クイズ用プラグイン * @author JayQ * * @param Start Val ID * @desc 変数範囲開始番号:変数n番(ここで指定した番号)からn+6番...
""" WSGI config for schoolweb project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SET...
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; const RemoteSubmitForm = function(props) { const { children, remoteSubmitForm } = props; // const childProps = Object.assign({}, props, remoteSubmitForm ); return React.cloneElement(children, {...props }, { r...
if (!String.prototype.trim) { String.prototype.trim = function () { return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ''); }; }
""" We cannot register two skins under the same name:: >>> grok.testing.grok(__name__) Traceback (most recent call last): ... zope.configuration.config.ConfigurationConflictError: Conflicting\ configuration actions\ For: ('utility',\ <InterfaceClass zope.publisher.interfaces.browser.IBrowserSkinTyp...
import React from 'react'; import PropTypes from 'prop-types'; import {NodeListItem} from './NodeListItem.view'; export class NodeList extends React.Component { static propTypes = { nodes: PropTypes.arrayOf(PropTypes.object).isRequired }; render() { return ( <table className="...
module.exports = function (grunt) { "use strict"; require("matchdep").filterDev("grunt-*").forEach(grunt.loadNpmTasks); grunt.initConfig({ pkg: grunt.file.readJSON("package.json"), babel: { options: { sourceMap: true, presets: ['env'] ...
import re import csv import itertools from scipy.stats.stats import pearsonr import numpy as np import random import pandas as pd from scipy import stats from collections import Counter import operator import copy import urllib.request def read_phoible(path = "https://raw.githubusercontent.com/phoible/dev/master/data/...
# Standard Python imports import json # External imports import syft as sy from flask_login import current_user from syft.exceptions import EmptyCryptoPrimitiveStoreError from syft.exceptions import GetNotPermittedError from syft.exceptions import ResponseSignatureError # Local imports from ... import hook, local_wor...
# todo : auto stretch & squash rig # todo : snap to closest vtx # todo : randomizer # todo : script manager # todo : constraint manager # todo : quality check # todo : surface attach # todo : curve attach # todo : big tool box UI # todo : snap vertex world or object # todo : attribute reoderer and renamer # todo : attr...
# Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # -- Path setup -------------------------------------------------------------- # If ex...
/* * This header is generated by classdump-dyld 1.0 * on Wednesday, March 22, 2017 at 9:09:05 AM Mountain Standard Time * Operating System: Version 10.1 (Build 14U593) * Image Source: /System/Library/Frameworks/Intents.framework/Intents * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. *...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ic_west_twotone = void 0; var ic_west_twotone = { "viewBox": "0 0 24 24", "children": [{ "name": "rect", "attribs": { "fill": "none", "height": "24", "width": "24" }, "children": [] }, { "...
import testData from '../../../renderer/store/modules/tweets' function newTimeline (callback) { let tweets = [] function load (amount, min, max) { if (!(amount && amount > 0)) { amount = 20 } setTimeout(() => { tweets = testData.state.getTweets(amount).concat(tweets) callback(null, t...
/*************************************************** * file: userconfig/uc_isa.c * * Copyright (c) 1996 Eric L. Hernes (erich@rrnet.com) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: ...
#!/usr/bin/env python # -*- coding: utf-8 -*- # This file is part of the SPORCO package. Details of the copyright # and user license can be found in the 'LICENSE.txt' file distributed # with the package. """ Basis Pursuit DeNoising ======================= This example demonstrates the use of class :class:`.admm.bpdn....
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 """ This module is the update_session API handler. It updates the status of a session (token) stored in DynamoDB. Session status is denoted by an integer. Sessions set to a status of 1 indicates completed, and -1...
/* @flow */ import { graphql } from 'gatsby'; // eslint-disable-next-line import/prefer-default-export export const threeBlogPostsFragment = graphql` fragment threeBlogPostsFragment on Query { posts: allGhostPost( sort: { order: DESC, fields: [published_at] } limit: 3 ) { edges { n...
# qubit number=4 # total number=7 import pyquil from pyquil.api import local_forest_runtime, QVMConnection from pyquil import Program, get_qc from pyquil.gates import * import numpy as np conn = QVMConnection() def make_circuit()-> Program: prog = Program() # circuit begin prog += H(0) # number=1 pro...
# # Copyright (C) 2015-2018 Opersys inc. # # 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 w...
# Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # -- Path setup -------------------------------------------------------------- # If ex...
// 1. 引入包 const express = require('express') const path = require('path') const router = require('./routers/index') // 2. 设置包 const app = express(); app.use(express.static(path.join(__dirname, 'public'))) app.use(express.urlencoded({ extended: true, })) // app.use(router); // 3. 监听处理请求并做出响应 // 3.1 分页获取数据 app.post('/api...
# -*- coding: utf-8 -*- from flask import request from app.api.mod_item import item_blueprint from app.api.mod_item.display import can_not_view_response from app.api.mod_item.validate import validate_for_item_view from app.api.utils import response from app.exc import GulDanException from app.api.utils import request_...
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Generated Thu Apr 2 06:51:02 2020 by generateDS.py version 2.35.15. # Python 3.8.2 (v3.8.2:7b3ab5921f, Feb 24 2020, 17:52:18) [Clang 6.0 (clang-600.0.57)] # # Command line options: # ('--no-namespace-defs', '') # ('-o', './pypurolator/freight_estimate_service_1_1...
/* * Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. * See LICENSE in the project root for license information. */ #import <Foundation/Foundation.h> @interface Attendee : NSObject @property (strong, nonatomic) NSString *emailAddress; @property (strong, nonatomic) NSString *name; @pro...
# Copyright (c) 2016 Georgia Institute of Technology # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: redistributions of source code must retain the above copyright # notice, this list of conditi...
/** * @param {number[]} nums * @param {number} threshold * @return {number} */ const smallestDivisor = function(nums, threshold) { let l = 1, r = 1e6 while(l < r) { const mid = l + Math.floor((r - l) / 2) if(valid(mid)) r = mid else l = mid + 1 } return l function valid(mid) { let res =...
from typing import ( Any, List, ) from vyper import ast from vyper.ast_utils import ( parse_to_ast, ) from vyper.exceptions import ( EventDeclarationException, FunctionDeclarationException, StructureException, ) from vyper.parser.function_definitions import ( is_default_func, is_initial...
# coding: utf-8 from __future__ import absolute_import from datetime import date, datetime # noqa: F401 from typing import List, Dict # noqa: F401 from openapi_server.models.base_model_ import Model from openapi_server import util class OperationFilterKgraph(Model): """NOTE: This class is auto generated by O...
# ------------------------------------------------------------------------ # Modified from DETR (https://github.com/facebookresearch/detr) # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. # ------------------------------------------------------------------------ import math import torch import to...
# coding: utf-8 try: # Local import from .exact_sampling import * from .mcmc_sampling import * except (SystemError, ImportError): from exact_sampling import * from mcmc_sampling import * import matplotlib.pyplot as plt from warnings import warn class FiniteDPP: """ Finite DPP object parametrized by :param ker...
#!/usr/bin/env python # # Public Domain 2014-2018 MongoDB, Inc. # Public Domain 2008-2014 WiredTiger, Inc. # # This is free and unencumbered software released into the public domain. # # Anyone is free to copy, modify, publish, use, compile, sell, or # distribute this software, either in source code form or as a compil...
"""Download an ERS or Envisat product from ESA according to its product identifier. """ from datetime import datetime import os import sqlite3 from time import sleep from urllib.parse import urljoin from xml.etree import ElementTree as ET from bs4 import BeautifulSoup import requests from tqdm import tqdm from asara...
// RUN: %clang_cc1 -triple armv7a--none-eabi -target-abi aapcs -mfloat-abi soft -fallow-half-arguments-and-returns -emit-llvm -o - -O1 %s | FileCheck %s --check-prefix=CHECK --check-prefix=SOFT // RUN: %clang_cc1 -triple armv7a--none-eabi -target-abi aapcs -mfloat-abi hard -fallow-half-arguments-and-returns -emit-llvm ...
if (Meteor.isClient){ Template.Register.events({ 'submit form':function(event, template){ event.preventDefault(); var emailVar =template.find('#register-email').value; var passwordVar =template.find('#register-password').value; Account.createUser({ email: email...
module.exports = require('./lib/text-maze');
# Copyright 2013 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 applicable law or ag...
import platform import sys from loguru import logger from hoopa.exceptions import InvalidLogLevelError class Logging: def __init__(self, setting=None): """ """ spider_name = setting.get("NAME") log_write_file = setting.get_bool("LOG_WRITE_FILE") self.log_level = setting.ge...
import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; import hbs from 'htmlbars-inline-precompile'; module('Integration | Component | customer/offers-table', function (hooks) { setupRenderingTest(hooks); test('it renders', async funct...
# -*- coding: utf-8 -*- # @Time : 2019-11-05 16:07 # @Author : yingyuankai # @Email : yingyuankai@aliyun.com # @File : transformer.py __all__ = [ "Transformer", "TransformerAttention", "TransformerBlock", "TransformerIntermediate" ] import tensorflow as tf from aispace.utils.hparams import H...
// commit 143f5221a6251c9cbccdedc57005c61551b97f12 // File generated at :: Wed Sep 12 2012 15:26:58 GMT-0700 (PDT) /* 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 ow...
# 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...
#!/usr/bin/env python import time import rospy from tf.broadcaster import TransformBroadcaster from tf.transformations import quaternion_from_euler from sensor_msgs.msg import Imu from classes.ImuDriver import * from autonomous_bicycle.srv import calibration_msg from autonomous_bicycle.msg import calibration_status ...
#include <stdio.h> void fortune_cookie(char msg[]) { printf("size of message %i\n",sizeof(msg) ); printf("Message reads %s\n",msg); printf("message is stored at %p\n", &msg); } void size_of_stuff() { char s[] = "how big is it"; char *p = s; printf("size of arry %i\n", sizeof(s)); printf("size of pointer %i\n"...
""" =========================== Reading an inverse operator =========================== The inverse operator's source space is shown in 3D. """ # Author: Alexandre Gramfort <alexandre.gramfort@telecom-paristech.fr> # # License: BSD (3-clause) from mne.datasets import sample from mne.minimum_norm import read_inverse_o...
# -*- coding: utf-8 -*- from __future__ import unicode_literals from setuptools import setup, find_packages import re module_file = open("aldryn_sites/__init__.py").read() metadata = dict(re.findall("__([a-z]+)__\s*=\s*'([^']+)'", module_file)) # noqa: W605 setup( name='aldryn-sites', author=metadata['author...
#pylint: disable-msg=W0401,W0611 from twisted.trial.unittest import TestCase from jasmin.routing.RoutingTables import * from jasmin.routing.Routes import * from jasmin.routing.Filters import * from jasmin.vendor.smpp.pdu.operations import SubmitSM, DeliverSM from jasmin.routing.Routables import RoutableSubmitSm, Routab...
## This file is part of Scapy ## See http://www.secdev.org/projects/scapy for more informations ## Copyright (C) Philippe Biondi <phil@secdev.org> ## This program is published under a GPLv2 license """ SMB (Server Message Block), also known as CIFS. """ from scapy.packet import * from scapy.fields import * from scapy...
import React from "react" import { Box } from "@chakra-ui/core" const Container = props => { const styles = { padding: "60px 10px", maxWidth: 1200, ...props, } return ( <Box margin="0 auto" {...styles}> {props.children} </Box> ) } export default Container
/** * React Starter Kit for Firebase * https://github.com/kriasoft/react-firebase-starter * Copyright (c) 2015-present Kriasoft | MIT License */ /* @flow */ import { graphql, commitMutation } from 'react-relay'; const mutation = graphql` mutation UpdateUserMutation($input: UpdateUserInput!) { updateUser(in...
(window.webpackJsonp=window.webpackJsonp||[]).push([[1,7,8],{1044:function(e,n,t){var content=t(1056);"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,t(56).default)("92d06a4c",content,!0,{sourceMap:!1})},1052:function(e,n,t){"use strict";t.r(n);t(57),t(21),t(19),t(43...
""" MIT License Copyright (c) 2017 Zev Isert; Jose Gordillo; Matt Hodgson; Graeme Turney; Maxwell Borden 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 lim...
"""Parallel FB Prophet transformer is a time series transformer that predicts target using FBProphet models. This transformer fits one model for each time group column values and is significantly faster than the implementation available in parallel_prophet_forecast.py.""" """ In this implementation, Time Group Models ...
# coding: utf-8 from __future__ import absolute_import from google.appengine.ext import ndb import flask from api import fields import model import util class ResourceReview(model.Base): reviewer_user_key = ndb.KeyProperty(kind=model.User, required=True) value = ndb.IntegerProperty(default=1) FIELDS = { ...
#pragma once void FixChaoGardenMaterials();
#! /usr/bin/env python3 # -*- coding: utf-8 -*- """ Contains core logic for Rainman2 """ __author__ = 'Ari Saha (arisaha@icloud.com), Mingyang Liu(liux3941@umn.edu)' __date__ = 'Wednesday, February 14th 2018, 11:42:09 am'
# Copyright 2020 Richard Maynard (richard.maynard@gmail.com) # # 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...
from test_btree import * from test_class import * from test_einsum import * from test_graph import * from test_table import * from test_table_demo import * from test_tensor import * unittest.main()
#Created by: Henry Stoldt #May 2019 import math import unittest from math import cos, pi, sin from test.testUtilities import (assertAngVelAlmostEqual, assertQuaternionsAlmostEqual, assertVectorsAlmostEqual) from MAPLEAF.IO import SimDefinition from MAPLE...