text
stringlengths
3
1.05M
"""Test Mongo Connector's behavior when its source MongoDB system is experiencing a rollback. """ import os import sys import time from pymongo.read_preferences import ReadPreference from pymongo import MongoClient sys.path[0:0] = [""] from mongo_connector.util import retry_until_ok from mongo_connector.locking_di...
/** *@module WheelDriver *@memberof EventDrivers */ /** * event initialization options. *@typedef {Object} WheelEventInit *@private *@property {boolean} [bubbles=true] - boolean value indicating if event bubbles *@property {boolean} [cancelable=false] - boolean value indicating if event is * cancelable *@prop...
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See https://js.arcgis.com/4.3/esri/copyright.txt for details. //>>built define(["../../core/declare","dojo/_base/lang"],function(b,c){return b(null,{declaredClass:"esri.layers.support.TimeReference",constructor:function(a){a&&c.mixin(th...
""" This module demonstrates: 1. MUTATION of an OBJECT via a direct assignment. 2. MUTATION of an OBJECT via a function call. 3. Two names that REFER to the same object. 4. Re-assigning a new to refer to a NEW object. 5. Two equality operators: is == Authors: David Mutchler, Valerie Galluzzi, Mark Hays, Amand...
import React from 'react'; import PropTypes from 'prop-types'; import { create } from 'jss'; import { withStyles, useTheme, jssPreset, StylesProvider } from '@material-ui/core/styles'; import NoSsr from '@material-ui/core/NoSsr'; import rtl from 'jss-rtl'; import Frame from 'react-frame-component'; import { useSelector...
/* ***** BEGIN LICENSE BLOCK ***** * Distributed under the BSD license: * * Copyright (c) 2010, Ajax.org B.V. * 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 so...
/*! * jQuery JavaScript Library v1.7b2 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
const execa = require(require.resolve('execa')) const { promisify } = require('util') const fs = require('fs') const path = require('path') const read = promisify(fs.readFile) const write = fs.writeFileSync function extractSpecificChangelog (changelog, version) { if (!changelog) { return null } const escaped...
import * as React from 'react' import {useMachine} from '@xstate/react' import {Machine} from 'xstate' import {assign, log} from 'xstate/lib/actions' import {useIdentityState} from './identity-context' import {useEpochState} from './epoch-context' import {fetchLastOpenVotings} from '../../screens/oracles/utils' import ...
import { useContext } from 'react' // import { AuthContext } from '../contexts/JWTContext'; // import { AuthContext } from '../contexts/FirebaseContext'; // import { AuthContext } from '../contexts/AwsCognitoContext'; // import { AuthContext } from '../contexts/Auth0Context'; // ---------------------------------------...
import os from enum import Enum import bpy from . import pman class ConfTypes(Enum): string = 1 path = 2 boolean = 3 mat_mode = 4 def get_conf_prop(section, field, conf_type, user_conf=False): def f(_self): confdir = os.path.dirname(bpy.data.filepath) if bpy.data.filepath else None ...
class ECSResource: def __init__(self, ecs_endpoint, ecs_username, ecs_password, ecs_cert_path, sample_start_time, sample_interval, sample_delay, ceilometer_endpoint, os_project_name, os_project_domain_name, os_username, os_password, os_user_domain_name, os_auth_url): # ECS parameters self.ecs_endpo...
import { Search } from './search.js'; function render() { class Render { constructor() { this.goodsul = $('.item .goods-ul'); this.goodslist = $('.item .goods-li'); } init() { // 请求数据 $.ajax({ url: 'http://10.31.152.29/project-...
'use strict'; 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": [ "\u1325\u12cb\u1275", "\u12a8\u1230\u12d3\u1275" ], ...
// Generated by CoffeeScript 1.10.0 (function() { 'use strict'; var DEFAULT_BACKEND_VERSION, DEFAULT_TIMEOUT_MS, _, create, getExecutionParams, getReqPayload, isTruthy; _ = require('lodash'); DEFAULT_TIMEOUT_MS = 30000; DEFAULT_BACKEND_VERSION = 1; isTruthy = function(value) { var ref; if (value...
import request from '../../utils/request'; // 获取详情页数据 export async function findProdSpecBom(params) { return request('/ipos-chains/process/scmprodspecbom/findProdSpecBom', { method: 'post', body: JSON.stringify(params), }); } // 保存操作 export async function addBom(params) { return request('/ipos-chains/pro...
# Generated by Django 2.2.9 on 2020-02-12 14:56 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('lner', '0015_verifymessageresult'), ] operations = [ migrations.AlterField( model_name='invoicerequest', name='memo'...
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; import './bulma.css' ReactDOM.render( <React.StrictMode> <App /> </React.StrictMode>, document.getElementById('root') );
/** * @fileoverview x-for should have a valid value * @author tony7lee */ 'use strict'; const jsxUtil = require('jsx-ast-utils'); const eslintScope = require('eslint-scope'); const { propName } = jsxUtil; const { isVariable } = require('../utils/tools'); const { DIR_NAME: { X_FOR }, OPERATORS: { IN } } = requir...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.withIosBaseMods = withIosBaseMods; exports.getIosModFileProviders = getIosModFileProviders; exports.getIosIntrospectModFileProviders = getIosIntrospectModFileProviders; function _plist() { const data = _interopRequireDefault(requ...
const Class = require('../../../core/class'); const abstract = Class.abstract; const LAST_GROUP_CELL_CLASS = 'dx-scheduler-last-group-cell'; const FIRST_GROUP_CELL_CLASS = 'dx-scheduler-first-group-cell'; const GroupedStrategy = Class.inherit({ ctor: function(workSpace) { this._workSpace = workSpace; ...
// Search script generated by doxygen // Copyright (C) 2009 by Dimitri van Heesch. // The code in this file is loosly based on main.js, part of Natural Docs, // which is Copyright (C) 2003-2008 Greg Valure // Natural Docs is licensed under the GPL. var indexSectionsWithContent = { 0: "acdfgijlprstuv", 1: "dlprt",...
import React, { useEffect, useRef } from 'react' import styled from '@emotion/styled' import { Link } from './Markdown' import { motion, useAnimation } from 'framer-motion' import { css } from '@emotion/core' const TROUBLESHOOTING_GUIDES = [ { title: 'Xcode 12.5', href: 'https://github.com/facebook/react-nat...
require("source-map-support").install(); module.exports = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache ...
/** * Copyright 2015 IBM Corp. * * 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 wr...
module.exports = { 'posthtml-tape': { 'basic': { 'message': 'supports basic usage' } } };
"use strict"; const debug = require('debug')('[SYS]') debug.enabled = true const info = require('debug')('[INFO]') info.enabled = true /**日志输出 */ exports.Log = { sys: (...args) => debug(...args), info: (...args) => info(...args), } /**获取本机ip */ exports.GetIPAdress = function () { var interfaces = require...
import React from "react" import AppBar from "@material-ui/core/AppBar" import CssBaseline from "@material-ui/core/CssBaseline" import Divider from "@material-ui/core/Divider" import SwipeableDrawer from "@material-ui/core/SwipeableDrawer" import Hidden from "@material-ui/core/Hidden" import IconButton from "@material-...
const net = require('net'); const fs = require('fs') const path = require("path"); const {performance} = require('perf_hooks'); const CHUNK_SIZE = 10000; const responseStatuses = { OK: { status: 'OK', code: 200, }, NOT_FOUND: { status: 'Not Found', code: 404, }, SER...
# # Copyright (c) 2020, Neptune Labs Sp. z o.o. # # 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 agr...
export function recipientRequest(query, page, limit) { return { type: '@recipient/REQUEST', payload: { query, page, limit }, }; } export function recipientSuccess(recipients) { return { type: '@recipient/SUCCESS', payload: { recipients }, }; } export function recipientFailure() { return { ...
import json import os import numpy as np import time from base import * from multiprocessing import Process, Manager, Queue, Value def write_value(f, value, name='value'): if isinstance(value, np.int64) or isinstance(value, np.int32): value = int(value) if isinstance(value, np.float32) or...
# coding: utf-8 """ convertapi Convert API lets you effortlessly convert file formats and types. # noqa: E501 OpenAPI spec version: v1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class XmlAddChildWithXPathResult(obje...
/** * @license * Copyright 2020 The FOAM Authors. All Rights Reserved. * http://www.apache.org/licenses/LICENSE-2.0 */ foam.CLASS({ package: 'foam.nanos.approval', name: 'PropertiesToUpdateView', extends: 'foam.u2.View', imports: [ 'ctrl' ], documentation: `Map objects view: Map = propObject, ...
exports.seed = function(knex, Promise) { // Deletes ALL existing entries return knex('shows').del() .then(function () { // Inserts seed entries return Promise.all([ knex('shows').insert({ name: 'Mr. Robot', channel: 'USA Network', genre: 'drama', inP...
# IMPORTS # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # Third party from django.apps import AppConfig # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ class BrandsConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = ...
import React, { Component } from "react"; import { ScrollView, StyleSheet, TextInput, View, Text } from "react-native"; import Button from "react-native-button"; import { LOGO_COLOR } from "./Colors.js"; import LndConsumer from "./ContextLnd.js"; import { withLnd } from "./withLnd.js"; import CheckBox from "react-nati...
// Copyright (c) 2020 Uber Technologies, 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 the rights // to use, copy, modify, merge...
'use strict'; /** * Module dependencies */ var mongoose = require('mongoose'), deviceModel = mongoose.model('Device'), UserModel = mongoose.model('User'), homeModel = mongoose.model('Home'); /** * Home middleware */ exports.listHomes = function (req,res){ homeModel.find((err, homes) => { if (!err) { res.sen...
(function ($) { "use strict"; document.querySelector('#dropdownSearch').addEventListener('click', changeActiveSearch); const spanSearch = document.querySelector('#spanSearch'); const searchByInput = document.querySelector('#searchByInputHidden'); function changeActiveSearch(e) { const cur...
from __future__ import unicode_literals import sys import pytest from poetry.installation import Installer as BaseInstaller from poetry.installation.noop_installer import NoopInstaller from poetry.io import NullIO from poetry.packages import Locker as BaseLocker from poetry.packages import ProjectPackage from poetry...
/* LibreTaxi, free and open source ride sharing platform. Copyright (C) 2016-2017 Roman Pushkin This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the ...
/** Starting with version 2.0, this file "boots" Jasmine, performing all of the necessary initialization before executing the loaded environment and all of a project's specs. This file should be loaded after `jasmine.js`, but before any project source files or spec files are loaded. Thus this file can also be used to ...
import React, { Fragment } from 'react'; import { Router } from '@reach/router'; import Launch from './launch'; import Launches from './launches'; import Cart from './cart'; import Profile from './profile'; import { Footer, PageContainer } from '../components'; export const CartContext = React.createContext(null); e...
# Copyright 2017 The Forseti Security 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 ap...
/** * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'language', 'zh', { button: '設定語言', remove: '移除語言' } );
export * from './core'; export * from './module'; export * from './button/index'; export * from './button-toggle/index'; export * from './card/index'; export * from './checkbox/index'; export * from './dialog/index'; export * from './grid-list/index'; export * from './icon/index'; export * from './input/index'; export ...
import math import random import datetime from time import sleep def retorno(): res=input('Deseja executar o programa novamente?[s/n] ') if(res=='s' or res=='S'): verificar() else: print('Processo finalizado!') pass def cabecalho(texto): ...
const tileBinding = require('bindings')('tile_bindings') function ToOptionsObject(tileOptions) { const options = new tileBinding.TileOptions(); options.Square70x70Logo = tileOptions.Square70x70Logo; options.Square150x150Logo = tileOptions.Square150x150Logo; options.Wide310x150Logo = tileOptions.Wide31...
/* @generated */ // prettier-ignore if (Intl.DateTimeFormat && typeof Intl.DateTimeFormat.__addLocaleData === 'function') { Intl.DateTimeFormat.__addLocaleData({"data":{"am":"לפנה״צ","pm":"אחה״צ","weekday":{"narrow":["א׳","ב׳","ג׳","ד׳","ה׳","ו׳","ש׳"],"short":["יום א׳","יום ב׳","יום ג׳","יום ד׳","יום ה׳","יום...
const { Model, DataTypes } = require('sequelize'); const sequelize = require('../config/connection'); class ProductTag extends Model {} ProductTag.init( { // define columns id:{ type: DataTypes.INTEGER, allowNull: false, primaryKey: true, autoIncrement: true }, product_id: {...
const { CommonHelper } = require('../commonHelper'); const { expect } = require('chai') describe('test isValidWebhook', async () => { // An example of a yojee webhook payload for `dropoff` `task.completed` it('will return true with valid yojee-signature and valid yojee-request-timestamp', async () => { // The...
import argparse from Bio import SeqIO from Bio.Seq import Seq from Bio.SeqRecord import SeqRecord import pandas as pd import numpy as np import re if __name__ == "__main__": parser = argparse.ArgumentParser() parser.add_argument("--sequence-human", help="sequence - main FASTA") parser.add_argument("--sequ...
/* * Copyright 2016 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 ...
# Copyright 2019 Google LLC # # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file or at # https://developers.google.com/open-source/licenses/bsd import ctypes import json libname = "./dex2jax.so" lib = ctypes.cdll.LoadLibrary(libname) lib.hs_init(0, 0) # TODO should ...
/*! * Copyright 2018 - Swiss Data Science Center (SDSC) * A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and * Eidgenössische Technische Hochschule Zürich (ETHZ). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Li...
module.exports = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ ret...
(function() { const supported = PerformanceObserver.supportedEntryTypes; if (!supported || supported.indexOf('first-input') === -1) { return; } const observer = new PerformanceObserver(list => {}); observer.observe({ type: 'first-input', buffered: true }); const entries = observer.takeReco...
# To run this example you might need to install: # pip install SQLAlchemy psycopg2 pandas numpy import pandas as pd import numpy as np from integrator.collector import DataCollector from integrator.sources import Income, Crime, Census11 from integrator.postcode_mapping import PostcodeMapping from sqlalchemy import c...
import uuid import asyncio import logging from pathlib import Path from typing import Tuple, Optional, List from functools import reduce from deeppavlov.core.common.registry import register from deeppavlov.core.skill.skill import Skill from rasa.core.agent import Agent from rasa.core.channels import UserMessage from ...
import inspect import itertools as it from collections import deque __all__ = ['defaultsfrom'] #======= demos =============================================================== def demo_func(): '''Reuse function default values.''' def genericsort(iterable, cmp=None, key=None, reverse=False): raise NotI...
import io from os.path import exists, join import time from socket import gethostname from OpenSSL import crypto, SSL import pytest import torch import syft as sy from syft.frameworks.torch.federated import utils from syft.workers import WebsocketClientWorker from syft.workers import WebsocketServerWorker PRINT_IN_UN...
import argparse import os import shutil import numpy as np import torch import torch.backends.cudnn as cudnn import torch.nn as nn import torch.nn.parallel import torch.optim import torch.utils.data import torch.utils.data.distributed from tensorboardX import SummaryWriter from pyll.base import invoke_dataset_from_c...
import React from "react" import { Form, FormGroup, Label, Input } from "reactstrap" import ActionButton from "../small/ActionButton" const AuthLoginForm = ({ submitLoginData }) => ( <Form className="auth form" onSubmit={e => { e.preventDefault() submitLoginData() }} > <FormGroup row> ...
const logger = require("./logger"); module.exports = { logger: logger, };
import mongoose from "mongoose"; const notifySchema = new mongoose.Schema( { id: mongoose.Types.ObjectId, user: { type: mongoose.Types.ObjectId, ref: "User" }, recipients: [mongoose.Types.ObjectId], url: String, text: String, content: String, image: String, isRead: { type: Boolean, de...
#!/usr/bin/env python3 -O3 ''' Download the jeopardy archive ''' # -*- coding: utf-8 -*- import itertools import os import urllib.request import urllib.error import urllib.parse import time CURRENT_WORKING_DIRECTORY = os.path.dirname(os.path.abspath(__file__)) ARCHIVE_FOLDER = os.path.join(CURRENT_WORKING_DIRECTORY, ...
import pandas as pd import typing from datamart_isi.joiners.joiner_base import JoinerBase from datamart_isi.joiners.join_feature.feature_pairs import FeaturePairs from datamart_isi.joiners.join_result import JoinResult import rltk """ TODO Implement RLTK joiner """ class RLTKJoinerWikidata(JoinerBase): """ ...
import axios from "axios" export const getOptions = (fieldKey) => { return (dispatch) => { dispatch({ type: "PRICEFORM_FETCHING_KEY", payload: true }) axios.get(`/api/import/fieldOpts/${fieldKey}`) .then(({data}) => { dispatch({ ...
'use strict'; var mongoose = require('mongoose'); var Schema = mongoose.Schema; var Stock = new Schema({ dataset_code: String, database_code: String, name: String, data: [] }); module.exports = mongoose.model('Stock', Stock);
webpackJsonp([15],{46:function(n,e){n.exports="\n## Props\n\nTransfer data to sub elements through props, such as:\n\n```jsx\nimport { WeElement, define, render } from 'omi'\n\ndefine('my-element', class extends WeElement {\n render(props) {\n return (\n <h1>Hello, {props.name}!</h1>\n )\n }\n})\n```\n\nUs...
const { encode } = require('../consts'); class CompoundInterfaceEncoder { constructor(web3) { this.web3 = web3; assert(web3, 'Web3 instance is required.'); } } CompoundInterfaceEncoder.prototype.encodeMint = function() { return encode(this.web3, 'mint(uint256)'); } CompoundInterfaceEncode...
import React from 'react' import PropTypes from 'prop-types' import QueryString from 'query-string' import _ from 'lodash' import util from 'utils' import { Button } from 'antd' import { Link } from 'react-router-dom' import moment from 'moment' import FilterBar from './FilterBar' import CustomTable from 'components/C...
version https://git-lfs.github.com/spec/v1 oid sha256:20f3609febbdd410e5f526fd11e98d4f3d8cd206874c626ca30e6cdbf17a43ab size 285
import discord,youtube_dl from discord.ext import commands as cmds import requests as req import bs4 as bs from random import randint as rai TOKEN = "" prefix = "q!" client = cmds.Bot(command_prefix = prefix) players = {} @client.event async def on_ready(): await client.change_presence(game=discord...
# # 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...
function Node(val){ this.val = val; this.next = null; } function SLL(){ this.head = null; } SLL.prototype.unshift = function(node){ if(!this.head){ this.head = node; return } node.next = this.head this.head = node; } SLL.prototype.push = function(node){ if(!this.head){ this.head = node; ...
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[15],{ /***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/vue/js/modules/components/content/index.vue?vue&type=script&lang=js&": /*!***************************************************************************...
module.exports = function(grunt) { grunt.initConfig({ testing:{ 'qunit-advanced-example':{ options: { type: 'qunit' }, src: 'testfiles/**/*.js', lib: 'testfiles/**/*.js' } } }); grunt.file.expand('../../node_modules/grunt-*/tasks').forEach(grunt.loadTasks); grunt....
define({ "selectLayer": "サマリー レイヤーの選択", "filterField": "サマリー レイヤーのフィルター フィールド", "count": "COUNT", "sum": "SUM", "min": "MIN", "max": "MAX", "avg": "AVG", "addField": "サマリー フィールドの追加", "label": "ラベル", "type": "タイプ", "field": "フィールド", "actions": "アクション", "displayCluster": "サマリー クラスターとして表示", "sh...
const UrbanDictionaryScrapper = require('../dist/controllers/UrbanDictionaryScrapper'); exports.handler = async event => { const word = event.queryStringParameters.word || 'word'; const simplified = event.queryStringParameters.simplified || 'true'; const headers = { 'Access-Control-Allow-Origin':...
import axios from 'axios'; const GOOGLE_API_BASE_URL = 'https://maps.googleapis.com/maps/api'; const { GOOGLE_API_KEY } = process.env; export const getPlacePredictionsForSearchQuery = async (searchQuery) => { const queryParams = { key: GOOGLE_API_KEY, input: searchQuery, }; const placesResponse = await ...
from datetime import datetime from pathlib import Path LICENSE = """MIT License Copyright (c) {year} vcokltfre 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 with...
"""Attempt to tabulate single qubit gates required to generate a target 2Q gate with a product A k A.""" from functools import reduce from typing import Tuple, Sequence, List, NamedTuple from dataclasses import dataclass import numpy as np import cirq from cirq import value from cirq._compat import proper_repr, prope...
/** * rubico v1.8.1 * https://github.com/a-synchronous/rubico * (c) 2019-2021 Richard Tong * rubico may be freely distributed under the MIT license. */ const objectValues = Object.values const values = object => object == null ? [] : typeof object.values == 'function' ? [...object.values()] : objectValues(ob...
import React from 'react'; import PropTypes from 'prop-types'; import Image from '../Image'; import './Gallery.scss'; import { getImages } from "../../serverFuncs"; class Gallery extends React.Component { static propTypes = { tag: PropTypes.array }; constructor(props) { super(props); this.removePhot...
function autoPlayVideoModal() { var trigger = $('.trigger'); var $video = $('#video1'); const observer = new MutationObserver(videoMutationHandler); observer.observe($('.enable-video-player')[0], {subtree: true, childList: true}); var player = new AblePlayer($video); /* Ensure Audio Descript...
import hbs from 'htmlbars-inline-precompile'; import { moduleForComponent, test } from 'ember-qunit'; import Ember from 'ember'; moduleForComponent('md-input', 'Integration | Component | md input', { // Specify the other units that are required for this test // needs: ['component:foo', 'helper:bar'], integration...
define("epsilon", { name: "epsilon" } );
import Ember from 'ember'; export default Ember.Component.extend({ tagName: 'div', classNameBindings: ['center:loading-container', 'inline:inline-block', 'height:icon-height'], center: false });
# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. # This product includes software developed at Datadog (https://www.datadoghq.com/). # Copyright 2019-Present Datadog, Inc. from datadog_api_client.v2.model_utils import ( ModelNormal, cached_property, ...
/* * Copyright 2019 is-land * * 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...
const DrawCard = require('../../drawcard'); const GameActions = require('../../GameActions'); class SerPrestonGreenfield extends DrawCard { setupCardAbilities() { this.reaction({ when: { afterChallenge: event => event.challenge.winner === this.controller && this.isParticipating(...
const crypto = require('crypto'); const algorithm = 'aes-256-ctr'; const secretKey = 'vOVH6sdmpNWjRRIqCc7rdxs01lwHzfr3'; const iv = crypto.randomBytes(16); const INITIAL_ALLOWED_AGE = 3 * 60 * 60; //3 hours const AGE_ALLOW_INCREMENT = 60*10 // 10m let tokenStore = {} const encrypt = (text) => { const cipher =...
const chai = require('chai'); const dirtyChai = require('dirty-chai'); const childProcess = require('child_process'); const fs = require('fs'); const http = require('http'); const multiparty = require('multiparty'); const path = require('path'); const temp = require('temp').track(); const url = require('url'); const { ...
(window.webpackJsonp=window.webpackJsonp||[]).push([[27],{521:function(r,e,t){"use strict";t.r(e);var n=t(3),a=Object(n.a)({},(function(){var r=this,e=r.$createElement,t=r._self._c||e;return t("ContentSlotsDistributor",{attrs:{"slot-key":r.$parent.slotKey}},[t("h2",{attrs:{id:"前言"}},[t("a",{staticClass:"header-anchor",...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.pkgName = '@syncfusion/ej2-angular-heatmap'; exports.pkgVer = '^17.3.19'; exports.moduleName = 'HeatMapModule'; exports.themeVer = '~17.3.19';
// @flow import theme from 'shared/theme'; import styled from 'styled-components'; import { HorizontalRule } from '../globals'; import { MEDIA_BREAK } from 'src/components/layout'; export const MessagesWrapper = styled.div` flex: 1 0 auto; padding-bottom: 8px; display: flex; flex-direction: column; width: 10...
const fs = require('fs'); const args = require('./args'); const commands = require('./constants/commands'); const criticalConfig = require('./configs/criticalConfig'); const devArgs = require('./constants/devArgs'); const folders = require('./constants/folders'); const matchTheme = require('./matchTheme'); const theme...
Ext.define("Ext.locale.pt_BR.field.FileButton", { override: "Ext.field.FileButton", config:{ text: 'Arquivo...' } });