text
stringlengths
3
1.05M
#Menor e Maior valor a = int(input('Digite o 1º número. ')) b = int(input('Digite o 2º número. ')) c = int(input('Digite o 3º número. ')) d = int(input('Digite o 4º número. ')) e = int(input('Digite o 5º número. ')) menor = a if b <= a and b <= c and b <= d and b <= e: menor = b if c <= a and c <= b and c ...
#ifndef HERO_H_ #define HERO_H_ #include <vector> #include "Defines.h" #include "Structs.h" class Hero { public: Hero() = delete; Hero(const std::string &name, const int maxMana, const int baseManaRegenRate) { _name = name; _maxMana = maxMana; _currMana = maxMana; ...
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables __a...
/* * Copyright (c) 2017 Apple Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except i...
# Copyright (C) 2019 The Raphielscape Company LLC. # # Licensed under the Raphielscape Public License, Version 1.d (the "License"); # you may not use this file except in compliance with the License. # """ Userbot module for getting information about the server. """ import asyncio from asyncio import create_subprocess...
from typing import Optional from primefac import primefac from great_expectations.core.expectation_configuration import ExpectationConfiguration from great_expectations.execution_engine import PandasExecutionEngine from great_expectations.expectations.expectation import ColumnMapExpectation from great_expectat...
from tqdm import tqdm import pickle import os import multiprocessing from HMMs import * from ._collect import collect_tag_stats, collect_word_freq, collect_possible_values from utils import * from framework import Sentence class Estimator(object): def __init__(self, sentences, tag_meta_info, n1, n, copy_indices,...
import bs4 from bs4 import NavigableString from selenium import webdriver import sys import time import os import traceback import logging import tempfile import re from selenium.common.exceptions import NoSuchElementException import pr_settings import gmail logging.basicConfig(format='%(asctime)s %(levelname)s : ...
/* * Vortex OpenSplice * * This software and documentation are Copyright 2006 to TO_YEAR ADLINK * Technology Limited, its affiliated companies and licensors. All rights * reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file e...
import React from "react"; function DropdownHover() { return ( <div className="dropdown dropdown-hover"> <div tabindex="0" className="m-1 btn">open on hover</div> <ul className="shadow menu dropdown-content bg-base-100 rounded-box w-52"> <li> <a>Item 1</a> </li> <l...
""" Implementation of Spearman's Rho squared as a pairwise distance metric Base on http://www.plhyu.com/administrator/components/com_jresearch/files/publications/Mixtures_of_weighted_distance-based_models_for_ranking_data_with_applications_in_political_studies.pdf TODO: - add tests """ from sklearn.metrics import pai...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = InitialValueTemplateError; var _propTypes = _interopRequireDefault(require("prop-types")); var _react = _interopRequireDefault(require("react")); var _fullscreen = _interopRequireDefault(require("part:@sanity/components...
from .sentence_pair_classifier import SentencePairClassifier
# --------------------------------------------------------------------------- # Pelion Device Management SDK # (C) COPYRIGHT 2017 Arm 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 #...
jQuery(function ($) { /*global Stripe*/ 'use strict'; if (![].map) { Array.prototype.map = function (fn) { return $.map(this, fn); }; } /** * Make the form friendly for credit card input */ var cardnumber = $('#cardnumber').payment('formatCardNumber').on('blur input', function () { ...
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-11-02 19:40 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('copyandpay', '0014_auto_20171101_1921'), ] operation...
angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": { "0": "AM", "1": "PM" }, "DAY": { "0": "Sunday", "1":...
#!/usr/bin/python # -*- coding: UTF-8 -*- """ @file : doio_test.py @Time : 2020/11/3 11:37 @Author: Tao.Xu @Email : tao.xu2008@outlook.com """ import os import unittest from storagetest.libs.log import log from storagetest.pkgs.base import PkgBase, TestProfile logger = log.get_logger() cur_dir = os.path.dirname(os...
var globals_func = [ [ "_", "globals_func.html", null ], [ "a", "globals_func_a.html", null ], [ "b", "globals_func_b.html", null ], [ "c", "globals_func_c.html", null ], [ "e", "globals_func_e.html", null ], [ "f", "globals_func_f.html", null ], [ "g", "globals_func_g.html", null ], [ "...
$.ajaxSetup({headers: {'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')}}); $(() => { if($('.scroll-to-top').length) { window.addEventListener('scroll', function () { if(document.getElementsByTagName('html')[0].scrollTop > 1000) { document.querySelector('.scroll-to-t...
// Rollup plugins. import babel from 'rollup-plugin-babel' import cjs from 'rollup-plugin-commonjs' import globals from 'rollup-plugin-node-globals' import replace from 'rollup-plugin-replace' import resolve from 'rollup-plugin-node-resolve' export default { input: 'src/index.js', output: { file: 'build/app.js...
from cogent3.draw.drawable import Drawable from cogent3.draw.letter import letter_stack from cogent3.util.dict_array import DictArray from cogent3.util.union_dict import UnionDict __author__ = "Gavin Huttley" __copyright__ = "Copyright 2007-2021, The Cogent Project" __credits__ = ["Gavin Huttley"] __license__ = "BSD-...
var Layout=function(){var o="layouts/layout5/img/",n="layouts/layout5/css/",e=App.getResponsiveBreakpoint("md"),a=function(){$(window).scrollTop()>60?$("body").addClass("page-on-scroll"):$("body").removeClass("page-on-scroll")},t=function(){var o=function(){var o=$(window).scrollTop();o>100?$(".go2top").show():$(".go2t...
//Back End // TILE OBJECT function Tile() { this.piece = ""; } // GAME BOARD OBJECT function Board() { this.tilesArr = []; this.playerTurn = -1; } // Master WINNER checking function Board.prototype.winnerChickenDinner = function(tileIndex) { var winningPlayer = ""; winningPlayer = this.checkHoriz(tileIndex...
import React, {Component} from 'react'; import {SectionList, View} from 'react-native'; import PropTypes from 'prop-types'; import {withOnyx} from 'react-native-onyx'; import _ from 'underscore'; import styles from '../../styles/styles'; import * as PersonalDetails from '../../libs/actions/PersonalDetails'; import ONYX...
#!/usr/bin/env python # -*- coding:utf-8 -*- # Author: import os import sys sys.path.insert(0, os.getcwd() + "/..") import numpy as np from scipy import cluster from easyai.data_loader.det.detection_dataset_process import DetectionDataSetProcess from easyai.data_loader.det.detection_sample import DetectionSample from ...
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See http://js.arcgis.com/3.15/esri/copyright.txt and http://www.arcgis.com/apps/webappbuilder/copyright.txt for details. //>>built define({"themes/DashboardTheme/widgets/Header/nls/strings":{_widgetLabel:"Hlavi\u010dka",signin:"Prihl...
import React from 'react'; import { StylesProvider, jssPreset } from '@material-ui/styles'; import { create } from 'jss'; import rtl from 'jss-rtl'; import { MainStyle } from '../css'; import PropTypes from 'prop-types'; const jss = create({ plugins: [...jssPreset().plugins, rtl()] }); function Main ({ open, children...
// Modules import { createContext } from 'react' import PropTypes from 'prop-types' // Data import themeColorGroups from 'data/themeColorGroups' // Hooks import useBrowserStorage from 'hooks/useBrowserStorage' // Variables const currentThemeDefaultValue = {} const CurrentThemeContext = createContext(curr...
#!/usr/bin/python # # Copyright (c) 2016 Juniper Networks, Inc. All rights reserved. # from cfgm_common.vnc_cassandra import VncCassandraClient from pysandesh.gen_py.sandesh.ttypes import SandeshLevel class ICCassandraInfo(): def __init__(self, addr_info, user, password, use_ssl, ca_certs, db_pr...
/* * 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 ma...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2017-2019 The PIVX developers // Copyright (c) 2021 The VOLTNOTE developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license...
# coding=utf-8 # Copyright 2020 The Mesh TensorFlow 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...
import { FacilityResource, FacilityDatasetResource } from 'kolibri.resources'; import { showFacilityConfigPage } from '../../src/modules/facilityConfig/handlers'; import { jestMockResource } from 'testUtils'; // eslint-disable-line import makeStore from '../makeStore'; const FacilityStub = jestMockResource(FacilityRes...
""" Copyright (c) 2022 Huawei Technologies Co.,Ltd. openGauss is licensed under Mulan PSL v2. You can use this software according to the terms and conditions of the Mulan PSL v2. You may obtain a copy of Mulan PSL v2 at: http://license.coscl.org.cn/MulanPSL2 THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, W...
import sys PY2 = sys.version_info[0] == 2 PY3 = sys.version_info[0] == 3 if PY3: def to_bytes(s): return s if isinstance(s, bytes) else s.encode("utf-8") def to_str(b): return b if isinstance(b, str) else b.decode("utf-8", "ignore") else: def to_bytes(s): return bytes(s...
import React from 'react'; import { Card } from 'react-bootstrap'; function Reviews() { return ( <div className="container-fluid" id="review-div"> <div className="row title-row col-lg-12 col-sm-12" > <h2 className="serviceTitle col-sm-12">Service Reviews</h2> </div> <div classN...
# -*- coding: utf-8 -*- import time,base64,hashlib,json,signal,sys,argparse,websocket,asyncio,_thread from urllib.parse import quote,unquote log = print global UserID,status,token,username token = '' username = '' status = True UserID = 0 def on_message(ws, message): raw_data = json.loads(message) gl...
/* * VulkanRenderer.h * * Created on: Sep 11, 2017 * Author: david */ #ifndef RENDERING_VULKAN_VULKANRENDERER_H_ #define RENDERING_VULKAN_VULKANRENDERER_H_ #include <Rendering/Renderer/Renderer.h> #include <Rendering/Vulkan/vulkan_common.h> #include <Rendering/Vulkan/VulkanObjects.h> class VulkanSwapchain...
#!/usr/bin/env python # -*- coding: utf-8 -*- # # pydisp documentation build configuration file, created by # sphinx-quickstart on Tue Jul 9 22:26:36 2013. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # auto...
/* [sql_lite_db_crud_test.js] encoding=utf-8 */ // 未だ不要。後で実装。
function CardClass(num1) { this.cardID=num1; this.controller=0; this.hist=0; this.used=false; this.dropCode='<section id="space'+this.cardID+'"><canvas id="card' + this.cardID + '" class="boardcard"></canvas></section>'; this.backColor="rgb("+(Math.floor((Math.random()-.5)*60)+74)+", "+(Math.floor((Math.random()-...
"""Conversions between XRP drops and native number types.""" from decimal import Context, Decimal, InvalidOperation, setcontext from re import fullmatch from typing import Union from typing_extensions import Final from xrpl.constants import XRPLException ONE_DROP: Final[Decimal] = Decimal("0.000001") #: Indivisibl...
from zeit.cms.content.browser.form import CommonMetadataFormBase from zeit.cms.i18n import MessageFactory as _ import gocept.form.grouped import zeit.cms.related.interfaces import zeit.cms.workflow.interfaces import zeit.content.video.interfaces import zeit.push.browser.form import zope.dublincore.interfaces import zop...
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ re...
'use strict' import {StyleSheet} from 'react-native' module.exports = StyleSheet.create({ innerContainer: { margin: 7, marginLeft: 11, }, button: { borderRadius: 5, flex: 1, height: 44, alignSelf: 'stretch', justifyContent: 'center', overflow: 'hidden' }, buttonText: { font...
// ##### ARRAYS INICIAIS ##### // var firstDeck = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]; var secondDeck = [1, 2, 3, 4, 5, 6, 7, 8, 9]; var dealerHand = []; var playerHand = []; var playerName = ''; var playerCoins = 500; var thisBet = 0; // ----- Sounds ----- // var audioClick = new Audio('../sounds/click.mp3'); var a...
from tornado.wsgi import WSGIContainer from tornado.ioloop import IOLoop from tornado.web import FallbackHandler, RequestHandler, Application from app import app class MainHandler(RequestHandler): def get(self): self.write("This message comes from Peng") tr = WSGIContainer(app) application = Application([ (r...
// This file was procedurally generated from the following sources: // - src/identifier-names/break-escaped.case // - src/identifier-names/default/covered-obj-prop-name.template /*--- description: break is a valid identifier name, using escape (PropertyName in a CoverParenthesizedExpressionAndArrowParameterList) esid: ...
/* global heimdall */ /** @module ember-data */ import $ from 'jquery'; import { Promise as EmberPromise } from 'rsvp'; import MapWithDefault from '@ember/map/with-default'; import { get } from '@ember/object'; import { run } from '@ember/runloop'; import Adapter from "../adapter"; import { parseResponseHeaders, ...
#pragma once #include <cstdint> #include <list> #include <memory> #include "envoy/common/random_generator.h" #include "envoy/event/deferred_deletable.h" #include "envoy/event/timer.h" #include "envoy/http/codec.h" #include "envoy/network/connection.h" #include "envoy/network/filter.h" #include "envoy/upstream/upstrea...
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, April 14, 2021 at 2:31:48 PM Mountain Standard Time * Operating System: Version 14.4 (Build 18K802) * Image Source: /usr/lib/libacmobileshim.dylib ...
// // LevelDB.h // // Copyright 2011 Pave Labs. // See LICENCE for details. // #import <Foundation/Foundation.h> @class LDBSnapshot; @class LDBWritebatch; typedef struct LevelDBOptions { BOOL createIfMissing ; BOOL createIntermediateDirectories; BOOL errorIfExists ; BOOL paranoidCheck ; B...
const mp3Duration = require('mp3-duration'); const voices = require('./info').voices; const asset = require('../asset/main'); const qs = require('querystring'); const brotli = require('brotli'); const md5 = require("js-md5"); const base64 = require("base64-js"); const https = require('https'); const http = requ...
/*************************************************************************************************/ /*! * \file * * \brief ATT client supported features module. * * Copyright (c) 2019 Arm Ltd. * * Copyright (c) 2019 Packetcraft, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * ...
// © 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html /* ******************************************************************************* * Copyright (C) 2008-2016, International Business Machines Corporation and * others. All Rights Reserved. ***************...
module.exports = require('@leanup/stack-vue3/snowpack.config');
# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: # Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. # # qutebrowser 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 S...
var frozenMoment = require('../../frozen-moment'); /************************************************** Macedonian *************************************************/ exports['locale:mk'] = { 'setUp' : function (cb) { frozenMoment.locale('mk'); frozenMoment.createFromInputFallback = ...
# -*- coding: utf-8 -*- # 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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
/** * @license * Copyright 2015 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 requir...
#!/usr/bin/env python3 #coding: utf-8 import argparse import random from sqlitedborm import db def main(): # Get arguments. Handle if none was informed. parser = argparse.ArgumentParser() parser.add_argument("action", choices=["demo", "create", "drop", "truncate", "select", "update", "delete", "...
from django.contrib.auth.decorators import login_required from django.core.urlresolvers import reverse from django.shortcuts import render from sic_financeiro.core.globais import carregador_global @login_required def pagina_inicial(request): context = carregador_global.context context['url_contas_salvar_js']...
import re import os import imp import sys import json import uuid import time import base64 import logging import threading import traceback import hashlib import functools from io import BytesIO from datetime import datetime from six.moves import cStringIO as StringIO from six.moves.urllib.parse import urlparse from f...
// -*-Mode: C++;-*- // technically C99 // * BeginRiceCopyright ***************************************************** // // -------------------------------------------------------------------------- // Part of HPCToolkit (hpctoolkit.org) // // Information about sources of support for research and development of // HPCT...
#!/usr/bin/env python # -*- coding: utf-8 -*- """ qsiprep wrapper setup script """ from setuptools import setup, find_packages from os import path as op import runpy def main(): """ Install entry-point """ this_path = op.abspath(op.dirname(__file__)) info = runpy.run_path(op.join(this_path, 'qsiprep_doc...
import pandas as pd from mlopt.problem import Problem from mlopt import settings as stg from mlopt.learners import LEARNER_MAP, installed_learners from mlopt.sampling import Sampler from mlopt.strategy import encode_strategies from mlopt.filter import Filter from mlopt import error as e from mlopt.utils import n_featur...
const path = require('path') module.exports = { "verbose": false, "rootDir": path.resolve(__dirname) }
import $ from './domq.js'; import { $D, TOUCH_START_EVENT, TOUCH_MOVE_EVENT, TOUCH_END_EVENT, NS, EVENT_NS, PUBLIC_VARS } from './constants'; const ELEMS_WITH_GRABBING_CURSOR = `html, body, .${NS}-modal, .${NS}-stage, .${NS}-button, .${NS}-resizable-handle`; export default { /** * -----------------...
#!/usr/bin/env python3 import itertools import operator import sys rows = [line[:-1] for line in sys.stdin] w = len(rows[0]) tracks = ''.join(rows) cart_moves = {'>': +1, 'v': +w, '<': -1, '^': -w} lcurve = {+1: +w, +w: +1, -1: -w, -w: -1} # \ rcurve = {+1: -w, +w: -1, -1: +w, -w: +1} # / left = {+1: -w, ...
'use strict'; // Call this function when the page loads (the "ready" event) $(document).ready(function() { initializePage(); }); /* * Function that is called when the document is ready. */ function initializePage() { $(".likeBtn").click(likeClick); $(".likeCtr").click(likeClick); } function likeClick(e) {
 ...
import './App.css'; import React, { useRef, useEffect, useState } from 'react'; import mapboxgl from '!mapbox-gl'; // eslint-disable-line import/no-webpack-loader-syntax import MapboxDraw from "@mapbox/mapbox-gl-draw"; import * as turf from '@turf/turf'; import { SimpleSelectModeBezierOverride, DirectModeBezier...
import base64 import calendar import hashlib import hmac import time from datetime import datetime import requests from .exceptions import ( KucoinAPIException, KucoinRequestException, MarketOrderException, LimitOrderException ) from .utils import compact_json_dict, flat_uuid class Client(object): REST_API_...
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ retu...
import resolve from 'rollup-plugin-node-resolve'; export default { input: './src/index.js', output: { file: 'public/game.js', format: 'iife', }, plugins: [ resolve(), ], };
#pragma once /* The MIT License (MIT) Copyright (c) 2015 Dennis Wandschura 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, cop...
#!/usr/bin/env python class Base_check: sender_data = dict() def _get_conf(self): '''Run config parser''' from mon_conf import Get_conf self.conf = Get_conf(self.args).run() def _send(self): '''Run zabbix sender''' from mon_sender import Mon_sender Mon_sen...
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
/* jshint browser: true */ /* jshint unused: false */ /* global describe, beforeEach, afterEach, it, spyOn, expect*/ /* global $, jasmine*/ (function () { 'use strict'; describe('foxx Model', function () { it('is sorted by mount', function () { expect(window.Foxx.prototype.idAttribute).toEqual('mount');...
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See http://js.arcgis.com/3.34/esri/copyright.txt for details. //>>built define("esri/dijit/analysis/nls/nl/BuildMultiVariablesList",{chooseInputLayer:"Kies een invoerlaag",addAVar:"Voeg een variabele toe",distToNearest:"Afstand tot het ...
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_UI_APP_LIST_SEARCH_WEBSTORE_WEBSTORE_RESULT_H_ #define CHROME_BROWSER_UI_APP_LIST_SEARCH_WEBSTORE_WEBSTORE_RESULT_H_ #include <str...
from abc import ABC, abstractmethod from collections import Counter from itertools import combinations from typing import List from model.chord_formulas import (DOM7Chord, DOM9Chord, DOM11Chord, DOM13Chord, MAJChord, MINChord) from model.dt_def import Transition, TransitionContext fro...
/* $NetBSD: uhci.c,v 1.24 1999/02/20 23:26:16 augustss Exp $ */ /* $FreeBSD: src/sys/dev/usb/uhci.c,v 1.7.2.2 1999/05/08 23:04:46 n_hibma Exp $ */ /* * Copyright (c) 1998 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by Lennart Aug...
import{r as t,e,h as i,H as n,g as r}from"./p-8dbe4215.js";function s(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var o;const a=s((function(t){ /*! bkkr-choices v10.0.1-beta.18 | © 2021 Josh Johnson | https://github.com/bkkr-team/bkkr-choices#readme */ var e;window,e=functio...
import glob import os from astroquery.irsa import Irsa import astropy.coordinates as crd import astropy.units as u import matplotlib.pyplot as plt import numpy as np from scipy.io import readsav from astropy.io import fits from exoctk.utils import get_env_variables EXOCTK_DATA = os.environ.get('EXOCTK_DAT...
#!/usr/bin/env python # compare_4_dens.py v1.0 9-27-2012 Jeff Doak jeff.w.doak@gmail.com from chargedensity import * import numpy as np # The first file should have the density grid that will be used for the final # density that is returned. locname1 = str(sys.argv[1]) locname2 = str(sys.argv[2]) locname3 = str(sys....
#!/usr/bin/env python3.6 #Author: Vishwas K Singh #email: vishwasks32@gmail.com #Program: Print out a date,given year, month and day as numbers # Listing 2.1 months = [ 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'Decembe...
# 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 may ...
#ifndef INCLUDE_COMPUTEGROUP2_HPP_ #define INCLUDE_COMPUTEGROUP2_HPP_ #include "DataHandler.h" namespace lmfao { void computeGroup2(); } #endif /* INCLUDE_COMPUTEGROUP2_HPP_*/
import logging import time from collections import defaultdict, OrderedDict from collections.abc import Mapping import weakref import random import warnings from typing import Union, Optional, Callable, Iterable, Iterator, Any, Tuple import torch from ignite.engine.events import Events, State, CallableEventWithFilter...
// Copyright (c) 2011-2017 The Cryptonote developers // Copyright (c) 2014-2017 XDN developers // Copyright (c) 2016-2017 BXC developers // Copyright (c) 2017 UltraNote developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.ph...
module.exports = { clearMocks: true, moduleFileExtensions: ["js", "ts"], testEnvironment: "node", testMatch: ["**/*.test.ts"], testRunner: "jest-circus/runner", transform: { "^.+\\.ts$": "ts-jest", }, verbose: true, };
import $ from 'jquery'; import select2 from 'select2'; select2($); //Hook up select2 to jQuery // window.jQuery = $; // select2(jQuery); // import 'select2/dist/js/i18n/it.js'; export const select2_defaults = { theme : 'bootstrap4', width : '100%', language : { erro...
services.factory('vendorMarkers', ['$http', 'SERVER', function($http, SERVER){ var markers = []; return { getMarkers: function() { return $http.get(SERVER.url + '/').then(function(response){ markers = response; return markers; }); }, getMarker: function(id) { } } }])
// For an introduction to the Blank template, see the following documentation: // http://go.microsoft.com/fwlink/?LinkID=397704 // To debug code on page load in Ripple or on Android devices/emulators: launch your app, set breakpoints, // and then run "window.location.reload()" in the JavaScript Console. (function () ...
""" NonLocal Scopes Inner Functions We can define functions from inside another function: """ def outer_func(): # some code # this is an example of a nested function def inner_func(): # some code inner_func() outer_func() """[summary] """ Both functions have access to ...
/* * BSD 3-Clause License * * Copyright (c) 2019, NTT Ltd. * 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 no...
/* ** ################################################################### ** Processors: MK60DN512ZVLL10 ** MK60DX256ZVLL10 ** MK60DN256ZVLL10 ** MK60DN512ZVLQ10 ** MK60DN256ZVLQ10 ** ...
# # PySNMP MIB module HH3C-MPLS-LSR-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HH3C-MPLS-LSR-MIB # Produced by pysmi-0.3.4 at Wed May 1 13:28:31 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Ma...
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ re...