text
stringlengths
3
1.05M
import test from '../utils/testing'; import Alert from './Alert'; test('Alert', ({ mount }) => { it('should be show by default', async () => { const wrapper = mount(Alert, {}); expect(wrapper.html()).toMatchSnapshot(); }); it('should be delete', async () => { const wrapper = mount(Alert, { propsData:...
const express = require('express') const bodyParser = require('body-parser') const cookieParser = require('cookie-parser') const multipart = require('connect-multiparty') const webpack = require('webpack') const webpackDevMiddleware = require('webpack-dev-middleware') const webpackHotMiddleware = require('webpack-hot-m...
module.exports={A:{A:{"2":"J D E F A B rB"},B:{"1":"L G M N O","2":"C K","257":"P Q R S V W X Y Z a b c d e f g T h H i"},C:{"1":"EB FB GB HB IB JB KB LB MB NB iB OB jB PB QB U RB SB TB UB VB WB XB YB ZB aB bB cB dB eB P Q R kB S V W X Y Z a b c d e f g T h H i","2":"sB hB I j J D E F A B C K L G M N O k l m n o p q r ...
exports.onCreatePage = async ({ page, actions }) => { const { createPage } = actions // page.matchPath is a special key that's used for matching pages // only on the client. if (page.path.match(/^\/account/)) { page.matchPath = "/account/*" // Update the page. createPage(page) } } exports.onCrea...
import React, { Component } from 'react'; import { Header, Container } from 'semantic-ui-react'; import './HomePage.css'; class HomePage extends Component { render() { return ( <Container className="section"> <Header as="h1">Home</Header> </Container> ); } } export default HomePage;
'use strict'; /* ------------------------------------------------------------------------------------------------ CHALLENGE 1 - Review Use the characters data below for all of the challenges except challenge 2 and 3. Write a function named sortByChildren that sorts the characters below by the number of children in ...
// Initialize a new discord client const Discord = require('discord.js'); const client = new Discord.Client(); var mysql = require('mysql') const config = require('./config'); client.config = config; let token = config.token; var con = mysql.createConnection({ host: config.SQLhost, user: config.SQLuser, ...
define({ "group": "Назва", "openAll": "Відкрити все на одній панелі", "dropDown": "Показати у розкривному меню", "noGroup": "Групу віджетів не задано.", "groupSetLabel": "Задати властивості груп віджетів" });
# Copyright (C) 2012 Mozilla Foundation # # 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 ...
import PropTypes from 'prop-types'; import { MAPBOX_TOKEN } from 'constants/map'; import PopulationMap from './PopulationMap'; import { tileLayerPixelFilter } from 'helpers/filterPixel'; class ClimateMap extends PopulationMap { constructor(props) { super(props); this.climateLayers = {}; } componentDid...
'use strict'; const key = 'YOURAPIKEY'; const SparkPost = require('sparkpost'); const client = new SparkPost(key); const searchParams = { events : 'click', campaign_ids : 'monday_mailshot' }; // Promise client.messageEvents.search(searchParams).then((data) => { console.log('Congrats yo...
/* global jest, expect, describe, test, beforeEach */ const nock = require('nock'); const { Probot } = require('probot'); jest.mock('bpmn-to-image'); jest.mock('imgur'); const renderBpmnApp = require('../src'); const payload = require('./fixtures/issue_comment.created'); const xml = `<?xml version="1.0" encoding=...
import Taro, { Component } from '@tarojs/taro' import { View, Text, Canvas } from '@tarojs/components' import { AtButton, AtCard } from 'taro-ui' import './index.scss' import menusData from './data' export default class Location extends Component { config = { navigationBarTitleText: '网络相关API展示页' } state = ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1147343e"],{"04f64":function(t,e,r){"use strict";r("4ca4")},"4ca4":function(t,e,r){},c273:function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"errPage-container"},[r("ErrorA"),r("...
const signInBtn = document.getElementById("signIn"); const signUpBtn = document.getElementById("signUp"); const fistForm = document.getElementById("form1"); const secondForm = document.getElementById("form2"); const container = document.querySelector(".container"); signInBtn.addEventListener("click", () => { contain...
/** * h5Validate * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * Developed under the sponsorship of RootMusic, and Zumba Fitness */ /*global jQuery, window, console */ (function ($) { 'use strict'; var console ...
const isProduction = process.env.NODE_ENV === 'production'; const path = require('path'); const webpack = require('webpack'); const WebpackDevServer = require('webpack-dev-server'); const config = require('./webpack.config'); const express = require('express'); const port = process.env.PORT || 9090; let app; const co...
(window["webpackJsonp_8494e7d7_6b99_47b2_a741_59873e42f16f_4_0_19"] = window["webpackJsonp_8494e7d7_6b99_47b2_a741_59873e42f16f_4_0_19"] || []).push([["vendors~sp-dialog-utils"],{ /***/ "01ek": /*!**************************************************************************************************************************...
import { getCoinPaprikaRate } from './ratesAPIs/coinPaprika'; import { getAtomicExplorerBTCFees } from './btcFeesAPIs/atomicExplorer'; import { getFiatExchangeRates } from './ratesAPIs/fiatExchangeRates' import ApiException from '../../errors/apiError'; import { GENERAL } from '../../../constants/intervalConstants'; im...
""" Checks data once per day on a cron job to make sure data is in the database. Check late in the evening MST """ import os from datetime import datetime, timedelta import logging import boto3 import psycopg2 logger = logging.getLogger() logger.setLevel(logging.INFO) DB_CREDENTIALS = os.getenv("DB_CREDENTIALS") if...
#!/usr/bin/env python3 import logging import socket import time import requests LOGGER = logging.getLogger('mierzyciel.github') def get_github_status(org_name): users_url = f'https://api.github.com/orgs/{org_name}/members' users_j = requests.get(users_url).json() repos_url = f'https://api.github.com/org...
new Vue({ el: '#vue', mixins: [windowMixin], data: function () { return { disclaimerDialog: { show: false, data: {} }, walletName: '', isOwner: false, adminPassword: '' } }, methods: { createWallet: function () { LNbits.href.createWallet(this.wal...
const eslint = require('eslint'); const path = require('path'); const getFixtures = require('../../../utils/getFixtures'); const printIfErrors = require('../../../utils/printIfErrors'); describe('Rules', () => { const cli = new eslint.CLIEngine({ useEslintrc: false, configFile: '.eslintrc.js', parser: '@typescr...
AFRAME.registerComponent('menu-midsection', { schema: { active: {default: false}, selectedChallenge: {default: ''} }, update: function (oldData) { if (oldData.active && !this.data.active) { this.el.emit('hidedifficultysection', null, false); } if ((!oldData.active && this.data.active) ...
(window.webpackJsonp=window.webpackJsonp||[]).push([[182],{255:function(e,t,n){"use strict";n.r(t),n.d(t,"frontMatter",(function(){return i})),n.d(t,"metadata",(function(){return s})),n.d(t,"toc",(function(){return c})),n.d(t,"default",(function(){return p}));var r=n(3),a=n(8),o=(n(0),n(572)),i={id:"limitations",title:...
const Discord = require("discord.js"); const Client = require("./Client.js") /** * @template {keyof Discord.ClientEvents} K * @param {Client} client * @param {Discord.ClientEvents[K]} eventArgs */ function RunFunction(client, ...eventArgs) {} /** * @template {keyof Discord.ClientEvents} K */ class Event { ...
// Muaz Khan - www.MuazKhan.com // MIT License - www.webrtc-experiment.com/licence // Documentation - github.com/streamproc/MediaStreamRecorder // ______________________ // MediaStreamRecorder.js function MediaStreamRecorder(mediaStream) { if (!mediaStream) throw 'MediaStream is mandatory.'; // void st...
import express from 'express'; import url from 'url'; import path from 'path'; // eslint-disable-next-line import proxy from 'express-http-proxy'; const prjRoot = p => path.resolve(__dirname, '../', p); const main = async () => { const app = express(); /* app routes */ app.use('/api', proxy( 'localhost:5000...
var kind = require('enyo/kind'); var FittableRows = require('layout/FittableRows'), BodyText = require('moonstone/BodyText'), Divider = require('moonstone/Divider'), Icon = require('moonstone/Icon'), Input = require('moonstone/Input'), InputDecorator = require('moonstone/InputDecorator'), RichText = require('m...
/************************************************************* * * MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/Main.js * * Copyright (c) 2009-2018 The MathJax Consortium * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the...
/* * Copyright (C) 2008 Apple Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditio...
const mongoose = require('mongoose'); mongoose.Promise = global.Promise; async function connect(url) { mongoose.set('useCreateIndex', true); await mongoose.connect(url, { useNewUrlParser: true, useUnifiedTopology: true }); console.log('[db] succesfully connected'); } module.exports = connect;
/** * Intersect a set of points against the user's locally stored points. * * v1 - Unencrypted, simpleminded (minimal optimization). */ import dayjs from 'dayjs'; import duration from 'dayjs/plugin/duration'; import { NativeModules } from 'react-native'; import PushNotification from 'react-native-push-notification...
var title = "Manor Mystery"; var desc = "Something is not quite right at the Manor on <a href=\"event:location|75#LHV36AG0LO2208L\">Hauki Seeks<\/a>."; var offer = "Have you heard of Hauki Seeks Manor? That place has always been kind of creepy, but lately it seems some really strange things have been occurring. I won't...
from django.contrib import admin from .models import Post, Group class PostAdmin(admin.ModelAdmin): list_display = ("pk", "text", "pub_date", "author") search_fields = ("text",) list_filter = ("pub_date",) empty_value_display = '-пусто-' class GroupAdmin(admin.ModelAdmin): list_display = ("ti...
import React from "react" export default () => ( <div style={{ color: `gray` }}> <div style={{backgroundColor: 'red', width:"500px", margin: "auto"}}>About Gatsby is very very wonderful indonesia</div> <p style={{display: `hidden`}}>Such wow. Very React.</p> <p>Next</p> </div> )
import React from 'react'; import { BrowserRouter } from 'react-router-dom'; import App from '../shared/App'; const Root = () => ( <BrowserRouter> <App /> </BrowserRouter> ); export default Root;
var language_index = 1; var navbar_menu_active = false; var classes_to_hide = new Set(); window.onload = function () { switchLanguage(); hide_class("mh-ride-cond"); hide_class("mh-invalid-meat"); hide_class("mh-invalid-part"); hide_class("mh-no-preset"); } function refresh_visibility(c) { fo...
require("dotenv").config({ path: `.env.${process.env.NODE_ENV}`, }) module.exports = { siteMetadata: { title: "Anablock", description: "We provide Salesforce consulting and system integration services.", author: "Anastasia Technology LLC", twitterUsername: "@VukDukic", image: "/favicon.png", ...
/** * PageController * * @description :: Server-side logic for managing pages * @help :: See http://sailsjs.org/#!/documentation/concepts/Controllers */ module.exports = { showSignupPage: function (req, res) { if (req.session.userId) { return res.redirect('/'); } return res.view('signu...
# -*- coding: utf-8 -*- class Solution: def isBipartite(self, graph: List[List[int]]) -> bool: if not graph: return True colors = [0] * len(graph) def dfs(node, parent_color): # 判断从当前节点出发是可构成二分图 if colors[node] != 0: return colors[node] !=...
var GUI = (window["webpackJsonpGUI"] = window["webpackJsonpGUI"] || []).push([["gui"],{ /***/ "./node_modules/css-loader/index.js?!./node_modules/postcss-loader/src/index.js?!./src/playground/index.css": /*!****************************************************************************************************************...
/*! * Bootstrap-select v1.5.4 (http://silviomoreto.github.io/bootstrap-select/) * * Copyright 2013-2014 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) */ (function ($) { $.fn.selectpicker.defaults = { noneSelectedText: 'Nic není vybráno', none...
from selenium import webdriver from selenium.webdriver.common.action_chains import ActionChains from selenium.webdriver.common.by import By from selenium.webdriver.support.wait import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.common.exceptions import TimeoutException ...
//Importing Packages const Discord = require("discord.js") var CronJob = require('cron').CronJob; //starting the module module.exports = client => { //Loop through every setupped guild every single minute and call the dailyfact command client.JobTimesMessages = new CronJob('10 * * * * *', function() { /...
"use strict"; var __generator = (this && this.__generator)/* istanbul ignore next */ || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol ==...
from util import exec_remote_command_host from base import BaseInstanceStep from dbaas_credentials.models import CredentialType from util import get_credentials_for import json import logging LOG = logging.getLogger(__name__) class SSLFiles(object): @property def ssl_path(self): return '/data/ssl' ...
# _ __ # | |/ /___ ___ _ __ ___ _ _ ® # | ' </ -_) -_) '_ \/ -_) '_| # |_|\_\___\___| .__/\___|_| # |_| # # Keeper Commander # Copyright 2018 Keeper Security Inc. # Contact: ops@keepersecurity.com # def get_folder_path(params, folder_uid, delimiter='/'): uid = folder_uid path = '' while ui...
let start = (config)=>{ let hConfig = __handle_config(config) __send_message( __TYPE.BIOMETRICS.CHECK.START, hConfig ) } export default { start }
from Configure.configure import * class MyButton(QtWidgets.QPushButton): def __init__(self, text, styleNo=1): super().__init__() self.setText(text) self.setStyle(styleNo) self.setSizePolicy( QtWidgets.QSizePolicy.Expanding,QtWidgets.QSizePolicy.Expanding ...
# postgresql/json.py # Copyright (C) 2005-2017 the SQLAlchemy authors and contributors # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php from __future__ import absolute_import import json from .base import ischema_nam...
import debugpy from os import environ as env def attach_debugger_if_dev(): if "DEBUG" in env and env["DEBUG"] == "True": debugpy.listen(("0.0.0.0", 5678)) print("⏳ VS Code debugger can now be attached ⏳", flush=True) debugpy.wait_for_client() print("🎉 VS Code debugger attached, enj...
""" Render a depth image ~~~~~~~~~~~~~~~~~~~~ Plot a depth image as viewed from a camera overlooking the "hills" example mesh. """ # sphinx_gallery_thumbnail_number = 2 import pyvista as pv import matplotlib.pyplot as plt from pyvista import examples # Load an interesting example of geometry mesh = examples.load_rand...
const autoprefixer = require('autoprefixer') const path = require('path') const config = require('./config') const webpack = require('webpack') const ExtractTextPlugin = require('extract-text-webpack-plugin') const StringReplacePlugin = require('string-replace-webpack-plugin') const HtmlWebpackPlugin = require('html-we...
// 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...
import matplotlib matplotlib.use('Agg') from model import Generator import torch from torch.autograd import Variable from torch.utils.trainer.plugins.plugin import Plugin from torch.utils.trainer.plugins.monitor import Monitor from torch.utils.trainer.plugins import LossMonitor from librosa.output import write_wav f...
import pytest import torch from torch.autograd import gradcheck from torch.testing import assert_allclose from kornia.morphology import top_hat class TestTopHat: def test_smoke(self, device, dtype): kernel = torch.rand(3, 3, device=device, dtype=dtype) assert kernel is not None @pytest.mark....
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _defineProperty2 = require('babel-runtime/helpers/defineProperty'); var _defineProperty3 = _interopRequireDefault(_defineProperty2); var _getPrototypeOf = require('babel-runtime/core-js/object/get-prototype-of'); var _getPrototypeOf...
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2016, 2017, 2018 Guenter Bartsch # # 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...
import torch def kaiming_init(module): classname = module.__class__.__name__ if classname.find('Conv') != -1: torch.nn.init.kaiming_normal_(module.weight, nonlinearity='relu') def weights_init(m): classname = m.__class__.__name__ if "Conv" in classname: try: ...
 CKEDITOR.lang['is']={"editor":"Rich Text Editor","editorPanel":"Rich Text Editor panel","common":{"editorHelp":"Press ALT 0 for help","browseServer":"Fletta í skjalasafni","url":"Vefslóð","protocol":"Samskiptastaðall","upload":"Senda upp","uploadSubmit":"Hlaða upp","image":"Setja inn mynd","flash":"Flash","form":"Set...
/** * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * Generated bundle index. Do not edit. */ export { HotTableComponent, HotColumnComponent, HotTableRegisterer, HotSettingsResolver, HotTableModule } from '....
const c = {} if(process.env.NODE_ENV === 'production'){ c.protocol = '' c.host = '/api/courier' c.port = '' } if(process.env.NODE_ENV === 'development'){ c.protocol = 'http://' c.host = '192.168.0.41/api/courier' c.port = '' } const baseUrl = `${c.protocol}${c.host}${c.port}` export const apiM...
const { Project, Writers } = require('ts-morph'); const fetch = require('node-fetch'); const { endpoints } = require('pokedex-promise-v2/src/endpoints'); const { rootEndpoints } = require('pokedex-promise-v2/src/rootEndpoints'); const docList = [ 'berries', 'contests', 'encounters', 'evolution', 'g...
const path = require('path'); const webpack = require('webpack'); const merge = require('webpack-merge'); const UglifyJsPlugin = require('uglifyjs-webpack-plugin'); const TARGET = process.env.npm_lifecycle_event; const PATHS = { app: path.join(__dirname, 'app'), build: path.join(__dirname, 'build'), vendo...
const schema = require('../../mongoose/prefix'); // Defining the schema module.exports = { name: 'setprefix', aliases: [], description: 'This will allow you to set the prefix for the message guild, this will update the prefix so all commands work with that prefix instead of \`>\`.', category: '...
import argparse import os import os.path as osp import shutil import tempfile import mmcv import torch import torch.distributed as dist from mmcv.parallel import MMDataParallel, MMDistributedDataParallel from mmcv.runner import get_dist_info, load_checkpoint from mmdet.apis import init_dist from mmdet.core import coc...
import json import sys def read_arguments(): l = len(sys.argv) if (l != 4): raise Exception("There must be three of arguments \ \"python FNdwithjson.py input.json output.json words_len\"" + "\n ther are " + str(l) + " of arguments.") input_file_name = sys.argv[1] ...
'use strict'; const _ = require('lodash'); const proxyquire = require('proxyquire'); const App = require('lib/gui/app'); const {stubTool} = require('../../utils'); describe('lib/gui/server', () => { const sandbox = sinon.createSandbox(); let server; let expressStub; let bodyParserStub; let staticM...
$(function(){ var current = window.location.href; $('ul.navbar-nav li a').each(function(){ var $this = $(this); if($this.attr('href') == current) { $this.parents('li').addClass('active'); } }); });
const express = require('express'); const app = express(); const port = 3000; app.use(express.static('public')); app.use(express.json()); app.set('view engine', 'pug'); app.get('/', (req, res) => { res.render('index') }) app.listen(3000, () => { console.log(`Listening to Port ${port}`); })
import React, { Component } from 'react'; import PropTypes from 'prop-types'; class MultiSelect extends Component { constructor(props) { super(props); this.state = { data: this.props.options, checkedItems: {}, }; } componentDidMount() { this.props.onFocus(); } static getDerivedS...
(function () { $.atoms.create_vm = [ { tag_code: "host", type: "input", attrs: { name: gettext("VC地址"), placeholder: gettext("必填"), hookable: true }, validation: [ { ...
const crypto = require('crypto') const jwt = require('jsonwebtoken'); const mail = require('../libs/mail'); const user = require('../models/user'); const dbUser = require('../db/user.db'); const validation = require('../middleware/validation'); const uploadFile = require('../middleware/uploadFile'); async function cr...
(function(e){const i=e["hr"]=e["hr"]||{};i.dictionary=Object.assign(i.dictionary||{},{"%0 of %1":"%0 od %1",Aquamarine:"Akvamarin",Big:"Veliki",Black:"Crna","Block quote":"Blok citat",Blue:"Plava",Bold:"Podebljano","Break text":"","Bulleted List":"Obična lista",Cancel:"Poništi","Cannot upload file:":"Datoteku nije mogu...
from setuptools import setup import codecs import os.path __dir__ = os.path.dirname(os.path.abspath(__file__)) setup( name='Crowd', license='BSD', py_modules=['crowd'], version='2.0.0', install_requires=['requests', 'lxml'], description='A python client to the Atlassian Crowd REST API', lo...
import { fetchUserById, fetchAllProjectUsers, fetchUserProjects, } from "../../src/data-access/api-calls/calls.js"; import ProjectComponent from "/components/project-component.js"; const userProfileProjectsComponent = { components: { ProjectComponent, }, template: ` <div class="user-profile-proje...
broker_url = 'redis://127.0.0.1:6379/0' broker_pool_limit = 1000 timezone = 'Asia/Shanghai' accept_content = ['pickle', 'json'] task_serializer = 'pickle' result_backend = 'redis://127.0.0.1:6379/0' result_serializer = 'pickle' result_cache_max = 10000 result_expires = 3600 # 任务过期时间 worker_redirect_stdouts_level =...
import { MockedProvider } from "@apollo/react-testing"; import { fireEvent, render, wait } from "@testing-library/react"; import React from "react"; import apolloMock from "./apolloMock"; import App from "./App"; import authorsQuery from "./authors.graphql"; import createAuthorMutation from "./createAuthor.graphql"; ...
import React from "react"; import { useDispatch } from "react-redux"; import Filters from "../components/Filters"; import LaunchList from "../components/LaunchList"; import getPosts from "../Api/Api"; const Home = () => { const [filters, setFilters] = React.useState({ launchDate: "", launchStatus: "", up...
from sqlalchemy.ext.declarative import declarative_base from sqlalchemy import Column from sqlalchemy.types import String, Integer, Boolean, Text, Date from webapp.libs.mediahelper import MediaHelper Base = declarative_base() class Schedule(Base): __tablename__ = "schedule" schedule_id = Column(I...
# Copyright The PyTorch Lightning team. # # 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 i...
/* * @Author: czy0729 * @Date: 2019-04-29 16:44:35 * @Last Modified by: czy0729 * @Last Modified time: 2019-10-20 18:51:54 */ import React from 'react' import { observer } from 'mobx-react' import { Tabs as CompTabs } from '@components' import TabBarRight from './tab-bar-right' import { tabs } from './store' func...
# ------------------------------------------------------------------------ # Copyright (c) 2021 4669 (for eccv submission only). All Rights Reserved. # ------------------------------------------------------------------------ # Modified from Deformable DETR (https://github.com/fundamentalvision/Deformable-DETR) # Copyri...
var map = L.map('mapa').setView([-28.455693, -65.786256], 16); L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors' }).addTo(map); L.marker([-28.455693, -65.786256]).addTo(map) .bindPopup('GDL...
'use strict'; var mark = 0; function myInfo(){ var Name = prompt("what is your name??") alert("welcome " + Name) alert("i am not going to ask you to guess my name because you already know it so i will ask you to guess something you don't know"); var myAge = prompt("guess what is my age"); console.l...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread")); var _react = _interopRequireDefa...
#def gp(a,q): #k = 0 #while True: #result = a * q**k #if result <=10000: #yield result #else: #return #print(k) #k += 1 #a, q = input().strip().split(' ') #[a, q] = map(int, [a,q]) #gps = gp(a,q) ##print(list(gp(a,q)) ) ##print(gp(a,q)) #print(gps.__next__()) #print(gps.__next...
import React from 'react' import ReactDOM from 'react-dom' import { BarChart } from 'react-d3' import Loading from '../loading' import getData from '../../lib/get-data' import config from '../../config' export default class Results extends React.Component { constructor (props) { super(props) this.state = { ...
import React from 'react'; const CollegeLutheran = () => ( <div className="elevation2 project"> <h4>College Lutheran Church</h4> <img alt="College Lutheran Church Homepage" src="https://dl.dropboxusercontent.com/s/354maifx0dkzt9s/Screenshot%20from%202019-02-22%2016-01-50.png?dl=0" /> <br ...
#coding=utf-8 import tensorflow as tf import sys import os import numpy as np from collections import OrderedDict from semantic.visualization_utils import STANDARD_COLORS from object_detection2.standard_names import * import semantic.toolkit as smt import wml_tfutils as wmlt import time from iotoolkit.coco_toolkit impo...
# -*- 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 or...
import pytest from vyper.compiler import compile_code from vyper.opcodes import EVM_VERSIONS code = """ @public def _bitwise_and(x: uint256, y: uint256) -> uint256: return bitwise_and(x, y) @public def _bitwise_or(x: uint256, y: uint256) -> uint256: return bitwise_or(x, y) @public def _bitwise_xor(x: uint25...
/** * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @record */ export function Action() { } if (false) { /** @type {?} */ Action.prototype.type; } /** * @record * @template T, V */ export functi...
export const RightCircleOutline = { name: 'right-circle', theme: 'outline', icon: '<svg viewBox="64 64 896 896" focusable="false"><path d="M666.7 505.5l-246-178A8 8 0 00408 334v46.9c0 10.2 4.9 19.9 13.2 25.9L566.6 512 421.2 617.2c-8.3 6-13.2 15.6-13.2 25.9V690c0 6.5 7.4 10.3 12.7 6.5l246-178c4.4-3.2 4.4-9.8...
<?xml version="1.0" encoding="utf-8"?> <project path="" name="Ext - JS Lib" author="Ext JS, LLC" version="2.1" copyright="Ext JS Library $version&#xD;&#xA;Copyright(c) 2006-2008, $author.&#xD;&#xA;licensing@extjs.com&#xD;&#xA;&#xD;&#xA;http://extjs.com/license" output="C:\apps\www\deploy\ext-2.1\" source="True" sourc...
export { default as ProvideAlerts, Alerts, useAlert } from "./ProvideAlerts";
const test = require('ava'); const request = require('supertest-as-promised'); const Trade = require('../../models/Trade'); const makeApp = require('./_app'); const userFixtures = require('./_users'); const testTrade = { requester: 1, requestee: 2, requestee_book: 1, }; let TOKEN_1; let TOKEN_2; function appro...
/** * Developer: Stepan Burguchev * Date: 8/14/2015 * Copyright: 2009-2015 Comindware® * All Rights Reserved * * THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF Comindware * The copyright notice above does not evidence any * actual or intended publication of such source code. */ /*...
const Contact = require("../models/contact-model"); createContact = (req, res) => { Contact.create({ name: req.body.name, email: req.body.email, link: req.body.link, subject: req.body.subject, message: req.body.message }, (err) => { if (err) { return ...