text
stringlengths
3
1.05M
document.addEventListener("DOMContentLoaded", function() { function updateNowlines() { const now = moment() document.querySelectorAll(".nowline").forEach(element => { const start = moment(element.parentElement.parentElement.dataset.start) const diff_seconds = now.diff(start, "seconds") const...
'use strict' import mongoose from 'mongoose' import isEmail from 'validator/lib/isEmail' import bcrypt from 'bcrypt' import conf from '../config' const Schema = mongoose.Schema let UserSchema = new Schema({ firstName: { type: String, required: true, trim: true }, lastName: { type: String, req...
Clazz.declarePackage ("J.util"); Clazz.load (null, "J.util.BS", ["java.lang.IndexOutOfBoundsException", "$.NegativeArraySizeException", "J.util.SB"], function () { c$ = Clazz.decorateAsClass (function () { this.words = null; this.wordsInUse = 0; this.sizeIsSticky = false; Clazz.instantialize (this, arguments); }...
""" Original code from John Schulman for CS294 Deep Reinforcement Learning Spring 2017 Adapted for CS294-112 Fall 2017 by Abhishek Gupta and Joshua Achiam Adapted for CS294-112 Fall 2018 by Michael Chang and Soroush Nasiriany """ import numpy as np import tensorflow as tf import tensorflow_probability as tfp import gym...
/* * Copyright (C) 2005 - 2014 TIBCO Software Inc. All rights reserved. * http://www.jaspersoft.com. * * Unless you have purchased a commercial license agreement from Jaspersoft, * the following license terms apply: * * This program is free software: you can redistribute it and/or modify * it under the terms...
import * as Canvas from "../../lib/canvas" import findTextWidth from "./find-textwidth" import makeCharmap from "./charmap" import drawShadow from "./style-shadow" export default function renderText(content, style, width) { let id = style.color ? style.stroke ? style.color + "+" + style.stroke : style.color ...
'use strict'; angular.module('datadiffApp') .factory('Api', function ($http, $q) { return { getAudit: getAudit }; function getAudit(type,id) { var request = $http({ method: "get", url: '/audit/'+ type +'/'+ id }); return request.then(handleSuccess, handleError);...
import React from "react" import { Link } from "gatsby" import Image from "gatsby-image" import useIcon from "../../hooks/useIcon" import "./index.scss" const PostPreview = ({ author, title, slug, banner, created, isCompressed, }) => { const link = `/blog/${slug}` const calendar = useIcon("calendar") ...
let aws = require('aws-sdk') let testing = process.env.NODE_ENV === 'testing' let endpoint = new aws.Endpoint('http://localhost:5000') let region = 'us-west-1' module.exports = testing? new aws.DynamoDB({endpoint, region}) : new aws.DynamoDB
# date: 2021.03.30 # author: Han Tran htran@know-center.at from concurrent import futures import logging import grpc import model_pb2 import model_pb2_grpc import openml as oml import pandas as pd import myconstants port_address = myconstants.PORT_ADDRESS def get_data(idx): try: dataset = oml.datasets.g...
import SubscriberBadge from './containers/SubscriberBadge'; import translations from './translations.yml'; export default { translations, slots: { commentAuthorTags: [SubscriberBadge] } };
{% block body %} const {{commandName}}Task = require(path.resolve(__dirname, "{{commandName}}Task.js")); class {{commandName}}Command extends nodefony.Command { constructor(cli, bundle) { super("{{commandName}}", cli, bundle); this.setTask("task", {{commandName}}Task); } } module.exports = {{commandName}}C...
import Vue from 'vue'; import Vuex from 'vuex'; import createPersistedState from 'vuex-persistedstate'; Vue.use(Vuex); const defaultData = { userData:[], friendsInvitations:[], friendsList:[], chatList:[], } export default new Vuex.Store({ plugins:[ createPersistedState() ], state...
/* * Copyright (C) 2016 Microsoft * * 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 os import sys sys.path.insert(0, os.getcwd()) import torch from comvex.transunet import TransUNet if __name__ == "__main__": transUnet = TransUNet( input_channel=3, middle_channel=512, output_channel=2, channel_in_between=[64, 128, 256], num_res_blocks_in_betw...
$(function () { $('[data-bs-toggle="tooltip"]').tooltip() })
/** * Created by abaddon on 29.01.2015. */ "use strict"; function WoolEvent() { this.woolHandlers = this.woolHandlers || {}; this.nextFnId = this.nextFnId || undefined; }; if (typeof module !== "undefined" && ('exports' in module)) { module.exports = WoolEvent; } WoolEvent.prototype = { woolHandlers...
import warnings import logging import pandas as pd from functools import partial from collections import defaultdict from dae.utils.helpers import str2bool from dae.variants.attributes import Role, Sex, Status from dae.backends.raw.loader import CLILoader, CLIArgument from dae.pedigrees.family import FamiliesData, P...
import React, { Component } from 'react'; import Auth from '../Auth'; class SignOutPage extends Component { constructor() { super(); } componentDidMount() { document.body.classList.toggle('subpage', true); Auth.deauthenticateUser(); this.props.history.push("/login"); } render() { return (...
/* eslint-disable global-require, no-octal-escape */ const childProcess = require('child_process'); const logger = console; //TODO: Figure out why this is not installing the dependencies const checkDependenciesAndRun = (run) => { let cooldown = 0; try { require('prompts'); require('commander'); requir...
# 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 from...
const path = require('path'); module.exports.createPages = async ({ graphql, actions }) => { const { createPage } = actions const blogTemplate = path.resolve('./src/templates/blog.js') const res = await graphql(` query { allContentfulBlogPost { edges { ...
import Modal from './Modal'; import Router from 'next/router'; import firebase from 'firebase/app'; import { useEffect, useState } from 'react'; import { useDocument } from 'react-firebase-hooks/firestore'; import createUser from '../util/createUser'; import styles from '../styles/components/Main.module.css'; export...
/** * Time Series API For Digital Portals * Time series data, end-of-day or intraday, tick-by-tick or subsampled. Additional vendor-specific endpoints provide a modified interface for seamless integration with the ChartIQ chart library. * * The version of the OpenAPI document: 2 * * * NOTE: This class is auto g...
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[77],{ /***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/views/nested/menu1/menu1-3/index.vue?vue&type=template&id=27b38936&functional=true&": /*!******************************************...
// @flow import React, { Component } from 'react'; import type { Node } from 'react'; import { observer } from 'mobx-react'; import BigNumber from 'bignumber.js'; import { defineMessages, intlShape } from 'react-intl'; import type { $npm$ReactIntl$IntlFormat, } from 'react-intl'; import moment from 'moment'; import c...
const RestrictedCommand = require('../../restrictedCommand'); const MessageEmbed = require('discord.js').MessageEmbed; const MS_IN_A_MINUTE = 1000 * 60; const MS_IN_AN_HOUR = MS_IN_A_MINUTE * 60; const MS_IN_A_DAY = MS_IN_AN_HOUR * 24; module.exports = class NewStatus extends RestrictedCommand { constructor(client)...
const { ApolloServer, gql } = require('apollo-server-lambda'); const faunadb = require('faunadb'), q = faunadb.query; const dotenv = require('dotenv') dotenv.config(); const typeDefs = gql` type Query { todo: [Todo!] } type Todo { title: String! id: ID! } type Mutation{ addTodo(title: ...
'use strict'; import _ from 'lodash'; let angular = require('angular'); module.exports = angular.module('spinnaker.tasks.monitor.service', [ require('./taskMonitor.directive.js'), require('../task.read.service.js'), ]) .factory('taskMonitorService', function($log, taskReader, $timeout) { function buildTas...
# Copyright 2020 The FastEstimator 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 appl...
/******/ (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...
import React from 'react' import { storiesOf } from '@storybook/react' import { SwitchButton } from '../components/SwitchButton' const stories = storiesOf('App SwitchButton', module) stories.add('SwitchButton', () => { return <SwitchButton /> })
/* JS Document */ /****************************** [Table of Contents] 01. Init Tab Lines 02. Init Tabs 1. Vars and Inits 2. Set Header 3. Init Custom Dropdown 4. Init Page Menu 5. Init Recently Viewed Slider 6. Init Brands Slider 7. Init Quantity 8. Init Color 9. Init Favorites 10. Init Image 11. Init Best Sellers ...
'use strict' function renderBooks() { var books = getBooks() var strHtmls = books.map(function (book) { return ` <tr> <td>${book.id}</td> <td>${book.bookName}</td> <td>${book.price}</td> <td><button onclick="onReadBook('${book.id}')">Read</button></td> ...
var _templateBlock = require("jsx2").templateBlock; function test() { return _templateBlock(_template(), [`foo${bar}`]); } function _template() { const tree = JSON.parse(`{"type":"div","key":"","ref":null,"props":{"children":["foo",0,"foo3","abc13efalsegnulli","abcd","abcde"]}}`); _template = () => tree; re...
import React from 'react'; import ReactDOM from 'react-dom'; import { shallow, mount, render } from 'enzyme'; import Customize from '../components/customize.js' // This test is shallow rendering our Customize component describe('Customize Component', () => { it('Customize should render without throwing an error',...
/*global Ext, console */ Ext.define("Tiegan.view.func.DetailWin", { extend: "Ext.window.Window", alias: "widget.detailwin", title: "详情", width: 800, modal: true, frame: false, layout: "fit", items: { xtype: "form", margin: 10, border: false, layout: 'anch...
""" Implementation of "Training RNNs as Fast as CNNs". TODO: turn to pytorch's implementation when it is available. This implementation is adpoted from the author of the paper: https://github.com/taolei87/sru/blob/master/cuda_functional.py. """ import subprocess import os import re import argparse import torch import ...
""" Pre-train a CNN on the whole dataset for evaluation purpose """ import os import argparse import shutil import timeit import torch import torchvision import torchvision.transforms as transforms import numpy as np import torch.nn as nn import torch.backends.cudnn as cudnn import random import matplotlib.pyplot as ...
function code_format(){var e=document.getElementById("new-template").innerHTML,t=Handlebars.compile(e),n=document.getElementById("format_string").value,o=document.getElementById("filename").value;axios({method:"post",url:"/process_file_backend",data:{filename:o,format:n}}).then(function(e){var n=new Date;var o={runTime...
var $ML=function(t){return t._StripElem=function(t,i,s,e){this.length=t,this.width=i,this.value_delta=s,this.base_point=e,this.value_index=0,this.value_rem=0,this.group=null,this.text=null},t._StripElem.prototype={set_index:function(t,i){void 0!==i&&(t-=i/this.length*this.value_delta);var s=t/this.value_delta;this.valu...
const detailDropdown = document.querySelector(".navbar-toggler"); const menuDropdown = document.querySelector(".menu-link"); detailDropdown.addEventListener("click",function () { });
import { navigate } from "gatsby" import React from "react" // https://eng.wealthfront.com/2020/10/01/building-a-truly-accessible-clickable-div/ const ProjectPreviewCard = props => { const { title, excerpt, slug } = props.node.node return ( <button className="project-card" onClick={() => navigate...
const blake = require('blakejs'); const CID_PREFIX = Buffer.from([0x01, 0x71, 0xa0, 0xe4, 0x02, 0x20]); function getCID(message) { const blakeCtx = blake.blake2bInit(32); blake.blake2bUpdate(blakeCtx, message); const hash = blake.blake2bFinal(blakeCtx); return Buffer.concat([CID_PREFIX, hash]); } function ge...
ace.define("ace/mode/slim_highlight_rules",["require","exports","module","ace/config","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../config").$modes,i=e("../lib/oop"),s=e("./text_highlight_rules").TextHighlightRules,o=function(){this.$rules={start:[{token:"keyword",regex:/^(\s*)...
const request = require('request'); const sanitizeHtml = require('sanitize-html'); const URL_REGEX = /^((https?|ftp|smtp):\/\/)?(www.)?[a-z0-9]+(\.[a-z]{2,}){1,3}(#?\/?[a-zA-Z0-9#]+)*\/?(\?[a-zA-Z0-9-_]+=[a-zA-Z0-9-%]+&?)?$/; function scrap(url) { let returnObject = {}; if (typeof url !== 'string') return 'Not a s...
/** * Caclulate paddings of an element. * @module mucss/paddings */ var Rect = require('./rect'); var parse = require('./parse-value'); /** * Return paddings of an element. * * @param {Element} el An element to calc paddings. * @return {Object} Paddings object `{top:n, bottom:n, lef...
import React, { Component } from 'react'; import { source } from 'react-aim'; import Submenu from '../Submenu'; import './style.css'; @source({ mouseEnter: (props, component) => { component.setState({ over: true }); }, mouseLeave: (props, component) => { component.setState({ over: false }); } }) class ...
#!C:\Users\sadeem\Desktop\SITE_BOOTCAMP_QA\StudentWork\Sadeem\Python\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3.7' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\...
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright (c) 2016 Cisco Systems, Inc. # # 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 th...
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @generated SignedSource<<96f8f3ca87d9285829b6cf0acf79443a>> * * Generated by LanguageCLDRGenScript * @codegen-command: flib/...
import Tpl from './tree.component.html'; import {API, Decorators} from '@dean_neal/core'; @Decorators.ComponentDecorator({ selector: 'app-tree-debug', template: Tpl, props: ()=> { return { components: [], visible: true } }, hostHidden: 'visible' }) ex...
# coding: utf-8 import re import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class RuleCondition: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is a...
# 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 ...
let ENV = { pi: 3.14159265359 } let REPL = require('repl') const relational = (acc, cur, i, ar, op) => { let result = true if (!result) return false return evalLogical[op](ar[i - 1], cur) ? '#t' : '#f' } const evalLogical = { '>': (a, b) => a > b, '<': (a, b) => a < b, '>=': (a, b) => a >= b, '<=': (a...
const path = require('path') const resolve = (dir) => { return path.join(__dirname, dir) } module.exports = { // 项目部署的基础路径 默认/ // 放在子目录时使用./或者加你的域名 publicPath: process.env.BASE_URL, lintOnSave: true, // default false // 打包时不生成.map文件 productionSourceMap: false, devServer: { open: false, // 启动服务后是否打开...
import template from './wordQuestion.html' import controller from './wordQuestion.controller' import './wordQuestion.scss' let wordQuestionComponent = { restrict: 'E', bindings: { word: '<' }, template, controller, controllerAs: 'vm' } export default wordQuestionComponent
class NoamOptim(): '''A simple wrapper class for learning rate scheduling''' def __init__(self, optimizer, init_lr, d_model, n_warmup_steps): self._optimizer = optimizer self.init_lr = init_lr self.d_model = d_model self.n_warmup_steps = n_warmup_steps self.n_steps = 0 ...
/** * @license * Copyright The Closure Library Authors. * SPDX-License-Identifier: Apache-2.0 */ goog.module('goog.html.safeHtmlFormatterTest'); goog.setTestOnly(); const PropertyReplacer = goog.require('goog.testing.PropertyReplacer'); const SafeHtml = goog.require('goog.html.SafeHtml'); const SafeHtmlFormatter ...
import React, { Component } from 'react'; import * as PropTypes from 'prop-types'; import graphql from 'babel-plugin-relay/macro'; import { createFragmentContainer } from 'react-relay'; import { Form, Formik, Field } from 'formik'; import { assoc, compose, join, pick, pipe, split, } from 'ramda'; import * as Yup from...
# Copyright 2017 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. import unittest from tracing.value import heap_profiler from tracing.value import histogram from tracing.value import histogram_set class HeapProfilerUnit...
import { HTTP_REQUEST } from "./util.js"; const BASE_URL = 'https://js-todo-list-9ca3a.df.r.appspot.com/api/teams'; export const teamAPI = { async postTeam(name){ return await fetch(BASE_URL, HTTP_REQUEST.POST(name)); }, async getTeam(){ const response = await fetch(`${BASE_URL}`) return await res...
import React from "react"; import Search from './components/Search'; import Content from './components/Content'; import ErrorDialog from './components/ErrorDialog'; // const App = () => { return ( <div className="cycling"> <div className="cycling__inner"> <div className="cycling__header"> <img s...
import React, { PropTypes } from 'react'; import { analytics } from '../config'; function Html({ title, description, style, script, children }) { return ( <html className="no-js" lang=""> <head> <meta charSet="utf-8" /> <meta httpEquiv="x-ua-compatible" content="ie=edge" /> <title>{...
from casexml.apps.stock.consumption import ConsumptionConfiguration, compute_consumption, compute_consumption_or_default from casexml.apps.stock.tests.mock_consumption import now from casexml.apps.stock.tests.base import StockTestBase class ConsumptionCaseTest(StockTestBase): def testNoConsumption(self): ...
const request = require('request'); const URI = require('urijs'); const async = require('async'); const config = require('./config'); const logger = require('./winston'); const fs = require('fs'); const Fhir = require('fhir').Fhir; const convert = new Fhir(); const loadResources = (callback) => { let processingErro...
#coding=utf-8 import torch import torch.utils.data as data import torchvision.transforms as transforms from PIL import Image from PIL import ImageDraw import os.path as osp import numpy as np import json class CPDataset(data.Dataset): """Dataset for CP-VTON. """ def __init__(self, opt): super(CPD...
g_db.quests[2015]={id:2015,name:"^ffffffAuthentic Work VI",type:5,trigger_policy:0,on_give_up_parent_fail:1,on_success_parent_success:0,can_give_up:1,can_retake:1,can_retake_after_failure:1,on_fail_parent_fail:0,fail_on_death:0,simultaneous_player_limit:0,ai_trigger:0,ai_trigger_enable:0,auto_trigger:0,trigger_on_death...
# -*- coding: utf-8 -*- import heapq # used for the so colled "open list" that stores known nodes from pathfinding.core.heuristic import manhatten, octile from pathfinding.core.util import backtrace, bi_backtrace from pathfinding.core.diagonal_movement import DiagonalMovement from .finder import Finder, TIME_LIMIT, MA...
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { getPayments } from '../../../actions/paymentActions'; import Payment from '../../../components/payment/payment'; class UserPayments extends Component { constructor(props) { super(props); this.state = { paymentDeta...
import styled from 'styled-components'; import componentConstants from '../../styles/constants'; import { paletteBlueGrey200 } from '../../../../styles/themeSelectors'; const imgSize = componentConstants.itemMaxWidth - componentConstants.itemPadding * 2; export const ImageBoxStyled = styled.div` width: ${imgSize}...
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl...
class SkiResort { constructor(name) { this.name = name; this.voters = 0; this.hotels = []; } get bestHotel() { if (this.voters === 0) { return "No votes yet"; } let best = this.hotels.reduce((a, b) => a.points > b.points ? a : b);...
function Animal() { } Animal.prototype.eat = function() { console.log("nom nom nom"); }; function Dog() { } // Add your code below this line Dog.prototype = Object.create(Animal.prototype); Dog.prototype.constructor = Dog; Dog.prototype.bark = function() { console.log("Woof!"); }; // Add your code above this line...
import { htmlSafe } from '@ember/string'; import { computed, get } from '@ember/object'; import { inject as service } from '@ember/service'; import Resource from '@rancher/ember-api-store/models/resource'; import C from 'ui/utils/constants'; import { reference } from '@rancher/ember-api-store/utils/denormalize'; import...
import { storiesOf } from '@storybook/react'; import React from 'react'; import InterviewDayTable from './InterviewDayTable'; const data = [ { firstName: 'מוחמד', lastName: 'החמדן', ID: '360727597', gender: 'נקבה', interviewDate: new Date('2019-01-16T05:45:00Z'), pho...
module.exports = { target: 'serverless', experimental: { modern: true } }
import React from 'react' import { array, shape, number } from 'prop-types' import { CSSGrid, measureItems } from 'react-stonecutter' import sizeMe from 'react-sizeme' import TechnologyCard from '../TechnologyCard' import FadeIn from '../FadeIn' const Grid = measureItems(CSSGrid, { measureImages: true }) class Techno...
import PropTypes from "prop-types"; import React from "react"; import "../../node_modules/bonsai.css/dist/bonsai.css"; import "../css/style.css"; import Header from "./header"; function Layout({ children }) { return ( <div style={{ "--maxw": "100%", "--m2": "20px auto", "--p": "0 3...
import React from "react" import ReactDOM from "react-dom" import {App} from "./App" ReactDOM.render(<App/>, document.getElementById("root"))
function head_login_save_me(e) { if (e.checked == 1) { var t = !1; return t = confirm("涓轰簡鎮ㄧ殑璐﹀彿瀹夊叏锛岃涓嶈鍦ㄧ綉鍚х瓑鍏敤鐢佃剳涓婁娇鐢ㄦ鍔熻兘锛乗n鎵嬪姩閫€鍑哄悗锛屾鍔熻兘鑷姩澶辨晥銆�"), t ? (e.checked = !0, send_jy_pv2("head_login_confirm_true")) : (e.checked = !1, send_jy_pv2("head_login_confirm_false")), !1 } } typeof windo...
const express = require('express'); const dbController = require('../controllers/dbController'); const router = express.Router(); // get all comments router.get('/', dbController.getAllComments, (req, res) => res.send(res.locals.comments) ); // create a comment router.post('/', dbController.createComment, ...
'use strict' const { isArray, isMerkleLink, isObject, order, transform, traverse } = require('../lib/util') // @flow /** * @module constellate/src/resolver */ // The following code is adapted from https://github.com/ipld/js-ipld-resolver/blob/master/src/index.js module.exports = function (service: Obje...
'use strict'; var replace = String.prototype.replace , repeat = require('./prototype/repeat'); module.exports = function (indentString) { if (!indentString) { indentString = '\t'; } return function (nest, nostart) { var ltoken, r; if (nest == null) { nest = 1; } else if (!nest) { return String(thi...
angular.module('pu.system.services') .service("SysWorkgroupService",function($window,RestApi,$uibModal,SysBranchService,SysAccountService,ToolsService){ this.querySysWorkgroupList = function(){ return RestApi.all("/sysworkgroup").getList(); }; this.addSysWorkgroup = function(item...
/*https://www.codewars.com/kata/triple-trouble-2 Create a function that will return a string that combines all of the letters of the three inputed strings in groups. Taking the first letter of all of the inputs and grouping them next to each other. Do this for every letter, see example below! Ex) Input: "aa", "bb" , "...
/** * Copyright IBM Corp. 2019, 2020 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. * * Code generated by @carbon/icon-build-helpers. DO NOT EDIT. */ import { _ as _objectWithoutProperties, I as Icon, a as _extends } from '../I...
/* jQuery.qrcode 0.12.0 - http://larsjung.de/jquery-qrcode/ - uses //github.com/kazuhikoarase/qrcode-generator (MIT) */ (function (qrcode) { 'use strict'; var $ = jQuery; // Wrapper for the original QR code generator. function QRCode(text, level, version, quiet) { var qr = qrcode(ver...
/* * 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 cause incorrect behavior and will be lost if the code is * regenerated. */ '...
import React from "react"; import { graphql } from "gatsby"; import Layout from "../components/layout"; import PortfolioItems from "../components/items-portfolio"; import SectionTitle from "../components/sectiontitle"; import Pagination from "../components/pagination"; import SEO from "../components/seo"; clas...
import os from PyQt5.QtWidgets import QFileDialog, QDialog from app.data.database import DB from app.editor.data_editor import SingleDatabaseEditor from app.editor.base_database_gui import DatabaseTab from app.editor.settings import MainSettingsController from app.editor.unit_editor import unit_model, unit_properties...
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
/*! * jQuery JavaScript Library v3.6.0 * https://jquery.com/ * * Includes Sizzle.js * https://sizzlejs.com/ * * Copyright OpenJS Foundation and other contributors * Released under the MIT license * https://jquery.org/license * * Date: 2021-03-02T17:08Z */ (function (global, factory) { "use strict"; ...
const { WorkflowRecord } = require('../../record/class/index') /** * tell browser if we are still recordng * @param {WorkflowRecord} recordRepo */ module.exports = function (recordRepo) { return function () { return recordRepo.spyVisible } }
var searchData= [ ['t',['t',['../structfaiss_1_1OperatingPoint.html#a886492ffe2b337539fadc798c8f4a6a8',1,'faiss::OperatingPoint']]], ['t_5ffor_5fperf',['t_for_perf',['../structfaiss_1_1OperatingPoints.html#a3a0723e0900f7048ac9567341de5ee56',1,'faiss::OperatingPoints']]], ['target_5fdis',['target_dis',['../structf...
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{EVdn:function(e,t,n){var r;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(functi...
import React, { useState } from "react" import classes from "./WideForm.module.less" import whatsapp from "images/whatsapp-g.svg" import phone_icon from "images/phone-b.svg" export default ({ options }) => { return ( <div className={classes.container} id="contacto"> <div className={classes.content}> ...
import os class Utils(object): @staticmethod def make_dir(dir_path): if not os.path.exists(dir_path): os.mkdir(dir_path)
import subprocess from r2g import utils from r2g import errors def fastq_dump(sra, spotN, spotX, app_json): """Works with fastq-dump 2.8.2 and 2.9.2""" cmd = [ app_json['fastq-dump'], # "--defline-seq", "@$sn[_$rn]/$ri", "--defline-seq", "@$sn/$ri", "--split-files", "-...
import { Component } from 'react'; import PropTypes from 'prop-types'; import { render, fireEvent } from '../../../../../test/test-utils'; import LocalizedMultilineTextField from './localized-multiline-text-field'; // This component is used to enable easy testing. // It overwrites the onChange function and places a la...