text
stringlengths
3
1.05M
import episodeList from './episodeList'; const get = () => new Promise((resolve) => { process.nextTick(() => resolve(episodeList), ); }); export default { get, };
import DataLoader from 'dataloader'; import { createContext } from 'dataloader-sequelize'; import { get, groupBy } from 'lodash'; import { types as CollectiveType } from '../../constants/collectives'; import { maxInteger } from '../../constants/math'; import { TransactionTypes } from '../../constants/transactions'; im...
import React from 'react'; import {compose} from 'recompose'; //import {connect} from 'react-redux'; import withStyles from '../hoc/withStyles'; import withSharedState, {ssNamespaces} from '../hoc/withSharedState'; import CircularProgress from '@material-ui/core/CircularProgress'; import Dialog from '@material-ui/core/...
/* Copyright 2020 Adobe. All rights reserved. This file is licensed to you 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...
from django.conf.urls import patterns, include, url from django.conf import settings from django.contrib.staticfiles.urls import staticfiles_urlpatterns # Uncomment the next two lines to enable the admin: # from django.contrib import admin # admin.autodiscover() urlpatterns = patterns('', # Examples: # url(r'...
const EventEmitter = require('events').EventEmitter; const struct = require('python-struct'); class WavePlusDevice extends EventEmitter { constructor (data) { super(); this.id = data.id; this.serialNumber = data.serialNumber; this.address = data.address; this.connectable = data.connectable; } }...
webpackJsonp(["polyfills"],{ /***/ "./node_modules/core-js/es7/reflect.js": /***/ (function(module, exports, __webpack_require__) { __webpack_require__("./node_modules/core-js/modules/es7.reflect.define-metadata.js"); __webpack_require__("./node_modules/core-js/modules/es7.reflect.delete-metadata.js"); __webpack_requ...
import React from 'react'; import createSvg from './utils/createSvg'; export default createSvg(<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 16c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6z" />, 'TripOriginTwoTone', '0 0 24 24');
import sys, os import argparse from collections import OrderedDict, defaultdict import gffutils as gff from Bio import SeqIO from Bio.Seq import Seq from Bio.SeqRecord import SeqRecord from io import StringIO import numpy as np from random import sample from dendropy.simulate import treesim from dendropy.model import r...
angular.module("EmmetBlue") .controller("accountsBillingDepositsAccountController", function($scope, utils){ $scope.patientID = 0; $scope.loadAccount = function(){ $scope.info = {}; var req = utils.serverRequest("/patients/patient/search?query="+$scope.patientNumber, "GET"); req.then(function(response){ va...
define('code-corps-ember/helpers/toggle', ['exports', 'ember-composable-helpers/helpers/toggle'], function (exports, _toggle) { 'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, 'default', { enumerable: true, get: function () { return ...
import 'weui' import Taro from '@tarojs/taro-h5' import Nerv, { findDOMNode } from 'nervjs' import classNames from 'classnames' import resolvePathname from 'resolve-pathname' import TabbarItem from './tabbarItem' import { splitUrl } from '../../utils' import './style/index.scss' // const removeLeadingSlash = str => s...
const table = 'user_oauth' exports.up = async (knex) => { await knex.schema.table(table, function (t) { t.string('refresh_token').nullable().alter() t.text('scope') t.timestamp('expires') }) } exports.down = async (knex) => { await knex.schema.table(table, function (t) { t.string('refresh_token'...
'use strict'; $(document).ready(function () { var tag_index_loaded = false; var search_index_loaded = false; var index = null; var tag_index = null; var tagname = window.location.hash.replace('#', '').toLowerCase(); var showTagged = function (tagname) { if (index && tag_index && ta...
app.controller("BlogSinglePost", function($scope, $http, $location, styles){ $scope.headerStyle = styles.getHeaderClass(); $scope.menuStyle = styles.getMenuClass(); $scope.postTitleStyle = styles.getPostTitleClass(); $scope.postContentStyle = styles.getPostContentClass(); var linkArray = $location.absUrl().split("...
import React from 'react'; import Likes from '../containers/Likes.js' const CharacterCard = ({ character, deleteCharacter }) => <div className='item-a'> <fieldset className="card-fieldset"> <button type="character-button" onClick={() => deleteCharacter(character.id)} > ...
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prot...
import { Howl } from "howler"; import blipSoundAsset from "./sounds/blip.wav"; import hitSoundAsset from "./sounds/hit.wav"; import { getAudioQueue, SOUND_BLIP, SOUND_HIT, } from "./constants"; const blipSound = new Howl({ src: [blipSoundAsset], volume: 0.1, }); const hitSound = new Howl({ src: [hitSoundAs...
/* This file is part of Ext JS 4 Copyright (c) 2011 Sencha Inc Contact: http://www.sencha.com/contact Commercial Usage Licensees holding valid commercial licenses may use this file in accordance with the Commercial Software License Agreement provided with the Software or, alternatively, in accordance with the term...
""" Continuum-normalization using sines and cosines. """ import numpy as np import os from warnings import warn from astropy.units import Quantity from astropy.nddata.nduncertainty import InverseVariance def normalize( dispersion, flux, ivar, continuum_regions=None, L=14...
import datetime import logging from typing import Optional, Sequence, cast from posthog.celery import app from posthog.email import EmailMessage, is_email_available from posthog.models import Event, Organization, OrganizationInvite, PersonDistinctId, Team, User, organization from posthog.templatetags.posthog_filters i...
var dbOperations = require('./db-operations'); function initialize(app, db, socket, io) { // '/cops?lat=12.9718915&&lng=77.64115449999997' app.get('/cops', function(req, res) { /* extract the latitude and longitude info from the request. Then, fetch the nearest cops using Mongo...
/** * Auth Scenes * * React Native Starter App * https://github.com/mcnamee/react-native-starter-app */ import React from 'react'; import { Scene, ActionConst } from 'react-native-router-flux'; // Consts and Libs import { AppConfig } from '@constants/'; // Scenes import Authenticate from '@container...
const Habit=require('../models/habit'); //when user fill the habit then execute module.exports.createSession= async function(req,res){ try{ let habit = await Habit.findOne({title:req.body.title}); if(!habit){ try{ console.log(req.body); l...
import cron from 'node-cron'; import moment from 'moment'; import { Op } from 'sequelize'; import NotificationEngine from '../notifications/NotificationEngine'; import CustomError from '../../helpers/Error'; import models from '../../database/models'; export default class ReminderEmails { static sendMail() { // ...
var searchData= [ ['typedef_5finterface_5ftypes',['TYPEDEF_Interface_TYPES',['../rigidbodysystembuilder_8h.html#abc2774214ef881c49659e4237543e385',1,'rigidbodysystembuilder.h']]] ];
/** * Copyright 2020-2021, bluefox <dogafox@gmail.com> * * MIT License * **/ import PropTypes from 'prop-types'; /** Possible progress states. */ export const PROGRESS = { /** The socket is connecting. */ CONNECTING: 0, /** The socket is successfully connected. */ CONNECTED: 1, /...
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["main"],{ /***/ "./$$_lazy_route_resource lazy recursive": /*!******************************************************!*\ !*** ./$$_lazy_route_resource lazy namespace object ***! \******************************************************/ /*! no static expo...
const bitcoin = require('bitcoinjs-lib'); const bitcoinMessage = require('bitcoinjs-message'); const wordcount = require('word-count'); const boom = require('boom'); const ERROR_ENCODE_STORY_LEN = "Encoded HEX String greater then 500 Bytes!"; const ERROR_ENCODE_STORY_WORDS = "Story has mor than 250 words!"; const LEN_H...
(function(global) { "use strict"; var $ = global.jQuery; var GOVUK = global.GOVUK || {}; GOVUK.analyticsPlugins = GOVUK.analyticsPlugins || {}; GOVUK.analyticsPlugins.detailsTracker = function(options) { options = options || {}; var detailsSelector = options.selector || "summary[ar...
/*! jQuery UI - v1.9.2 - 2014-01-26 * http://jqueryui.com * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ jQuery(function(e){e.datepicker.regional.ca={closeText:"Tanca",prevText:"Anterior",nextText:"Següent",currentText:"Avui",monthNames:["gener","febrer","març","abril","maig","juny","juliol...
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import I18nLink from 'components/I18n/I18nLink'; import BadgeSVG from 'components/SVGs/Badge'; import { badgePropTypes } from './proptypes'; const Badge = ({ text, url, symbol, isActive }) => ( <div className={c...
'use strict'; var path = require('path') , fs = require('fs') , spawn = require('child_process').spawn , chai = require('chai') , expect = chai.expect , should = chai.should() , environment = require(path.join(__dirname, '..', 'lib', 'environment')) ; function find...
"use strict"; /* * ATTENTION: An "eval-source-map" devtool has been used. * This devtool is neither made for production nor for readable output files. * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools. * If you are trying to read the output file, select a dif...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var react_1 = require("react"); var breakpoint_1 = require("./breakpoint"); var getCurrentUserAgent_1 = require("./getCurrentUserAgent"); var mobile = breakpoint_1.deviceWidthBreakpoint.mobile, desktop = breakpoint_1.deviceWidthBreakpoint.desk...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } }...
/* global describe, it, require */ 'use strict'; // MODULES // var // Expectation library: chai = require( 'chai' ), // Module to be tested: validate = require( './../lib/validate.js' ); // VARIABLES // var expect = chai.expect, assert = chai.assert; // TESTS // describe( 'validate', function tests() { i...
const addBtn = document.querySelector("#addBtn"); const loginBtn = document.querySelector("#signUpBtn"); const signModal = document.querySelector(".signModal"); const hero = document.querySelector(".Employee-hero"); const closeSign = document.querySelector("#closeSign"); const signUpBtn = document.querySelector("#sig...
var assert = require('assert'); var Traverse = require('traverse'); var util = require('util'); exports.circular = function () { var obj = {x: 3}; obj.y = obj; var foundY = false; Traverse(obj).forEach(function (x) { if (this.path.join('') == 'y') { assert.equal( uti...
////////////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2014-2015, Egret Technology 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: // ...
# -*- encoding: utf-8 -*- """ Copyright (c) 2019 - present AppSeed.us """ from ast import UnaryOp from logging import PlaceHolder from multiprocessing import context from statistics import mode from tkinter import E from unicodedata import name from django import template from django.shortcuts import redirect, render ...
(function() { var fn = function() { (function(root) { function now() { return new Date(); } var force = false; if (typeof (root._bokeh_onload_callbacks) === "undefined" || force === true) { root._bokeh_onload_callbacks = []; root._bokeh_is_loading = u...
'use strict'; const express = require('express'); // Constants const PORT = 8080; // App const app = express(); app.get('/', function (req, res) { res.send('Hello world\n'); }); app.listen(PORT); console.log('Running on http://localhost:' + PORT);
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var React = _interopRequireWildcard(require("react")); var _Slider = _interopRequireDefault(require("rc-slider/lib/Slider")); var _Range = _interopRequireDefault(require("rc-slider/lib/Range")); var _Handle ...
import WalletInterface from './WalletInterface'; class HDWalletInterface extends WalletInterface { constructor( path, pubkey, isHardware, identifier, errorHandler, txSigner, msgSigner, displayAddress ) { super(pubkey, true, identifier); this.path = path; this.txSigner = t...
/* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'format', 'fi', { label: 'Muotoilu', panelTitle: 'Muotoilu', tag_address: 'Osoite', tag_div: 'Normaali (DIV)', tag_h1: 'Otsikko 1', tag_h2: 'Otsi...
var mining_8cpp = [ [ "submitblock_StateCatcher", "classsubmitblock___state_catcher.html", "classsubmitblock___state_catcher" ], [ "BIP22ValidationResult", "mining_8cpp.html#a50573ec45994b2bb8b06858d48c49c5d", null ], [ "estimatefee", "mining_8cpp.html#a9337f53fdcee55966dff25f5935d9126", null ], [ "esti...
memberSearchIndex = [{"p":"com.popush.henrietta.elasticsearch.service","c":"ElasticsearchService","l":"aggReport(BotCallCommand)","u":"aggReport(com.popush.henrietta.discord.model.BotCallCommand)"},{"p":"com.popush.henrietta.discord.config","c":"BotDiscordConfig","l":"beanJda()"},{"p":"com.popush.henrietta.discord","c"...
"use strict"; var __values = (this && this.__values) || function(o) { var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; if (m) return m.call(o); if (o && typeof o.length === "number") return { next: function () { if (o && i >= o.length) o = void 0; ...
import { fromJS } from 'immutable'; import * as actionsTypes from './actionTypes'; const defaultState = fromJS({ articleList:[], recommendList: [], writer: [], acticlePage: 1, isTop: false }) export default(state = defaultState, action) => { switch(action.type) { case actionsTypes.CHANGE_HOME_DATA: ...
const sha256 = require('crypto-js/sha256'); const hmacSHA512 = require('crypto-js/hmac-sha512'); const Base64 = require('crypto-js/enc-base64'); /** * Create an HMAC hash for a JSON object. * * @param {Object} obj - The object to create a hash for. * @param {String} ts - The timestamp to include in the object. * ...
/** * Copyright 2016 IBM Corp. 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...
// Error Response const ErrorResponse = require('../utils/errorResponse'); const errorHandler = (err, req, res, next) => { // Log to console for Dev console.log(err.stack.red); let error = {...err }; error.message = err.message; // Check CastError (Mongoose bad ObjectId) if (err.name === 'Cas...
module.exports = { siteMetadata: { title: `Arthaus Visual Communicatons Ltd`, description: `Multimedia design agency specialising in brand development, creative communications and digital solutions`, author: `@ArtHaus`, }, plugins: [ `gatsby-plugin-react-helmet`, { resolve: `gatsby-sourc...
# -*- coding: utf-8 -*- # vim: sw=4 ts=4 fenc=utf-8 # ============================================================================= # $Id: __init__.py 24 2007-10-26 15:58:00Z s0undt3ch $ # ============================================================================= # $URL: http://wikinotification.ufsoft.or...
var Events = function (config, callback) { this.config = {}; this.move = {}; this.callback = null; this.init(config, callback) }; Events.prototype = function () { /********************** ****** PRIVATE ******* *********************/ /** /* EVENTS - events binded to the DOM ...
__author__ = 'korantin' from Pointeur import Pointeur class Item(object): def __init__(self, address, value): self.address = address self.value = value self.pointeurs = [] def add_pointeur(self, pointeur): if isinstance(pointeur, Pointeur): pass def del_pointeu...
import time import pytest from paasta_tools.utils import SystemPaastaConfig def time_to_feel_bad(*args, **kwarg): raise Exception("This test called time.sleep() which is bad and slows down our test suite") time.true_slow_sleep = time.sleep time.sleep = time_to_feel_bad @pytest.fixture def system_paasta_conf...
''' A unified context menu builder for all address context clicks. ''' from PyQt5.QtWidgets import QMenu import envi import envi.bits as e_bits import envi.qt.memcanvas as e_q_memcanvas import vivisect.analysis.generic.codeblocks as vagc from vqt.common import * from envi.threads import * from vivisect.const import *...
"use strict"; /** * Module Dependencies */ var _ = require('lodash'), _runJoins = require('waterline-cursor'), utils = require('./utils'), Collection = require('./collection'), log = require('debug-logger')('sails-orientdb:associations'), wlFilter = require('waterline-criteria'); /** * Associati...
import * as React from 'react'; import { Tabs, Tab } from 'react-bootstrap'; import { withBarong, BarongLoginForm, BarongRegisterForm } from 'react-barong'; const Register = withBarong(BarongRegisterForm, { type: 'register', host: 'http://localhost:3000/api/v2', redirection: 'http://localhost:3000/office',...
from logging import getLogger from src.constants import Client, DB_Scripts from mysql.connector import connect, Error import config __all__ = ["Database"] log = getLogger(__name__) class Database: def __init__(self) -> None: """Connect to database""" try: self.connection = self.conne...
import { statusCodes, statusMessages } from './status'; const log = string => { process.stdout.write(`${string}\n`); }; const connectionMessage = port => { log(`Server started on port ${port}`); }; const catchAllError = app => app.use('*', (req, res) => res.status(404).send({ status: statusCodes.badR...
import argparse import asyncio import bleak from bleak import BleakClient # UART service UUID CHARACTERISTIC_UUID_RX = "6E400002-B5A3-F393-E0A9-E50E24DCCA9E" # BLE MAC ADDRESS ADDRESS = "F0:08:D1:C8:A1:5E" class BleMotor: def __init__(self, loop, address=ADDRESS, write_uuid=CHARACTERISTIC_UUID_RX): self....
# ###################################################################### # Copyright (c) 2014, Brookhaven Science Associates, Brookhaven # # National Laboratory. All rights reserved. # # # # Redistribution and use in ...
var SnowParticle = require('./snow-particle'); var SnowInteraction = function(geo){ var size = Math.sqrt(geo.vertices.length); this.vertices = geo.vertices; this.verticeArr = []; for(var yy = 0; yy < size; yy++){ this.verticeArr[yy] = []; for(var xx = 0; xx < size; xx++){ ...
(window.webpackJsonp=window.webpackJsonp||[]).push([[983],{1997:function(t,o,l){"use strict";l.r(o);var r=l(18),i=Object(r.a)({},(function(){var t=this,o=t.$createElement,l=t._self._c||o;return l("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[l("h1",{attrs:{id:"비행-컨트롤러-자동-조종-장치-하드...
from manim import * import pytest from .simple_scenes import * from unittest.mock import Mock def test_render(using_temp_config, disabling_caching): scene = SquareToCircle() renderer = scene.renderer renderer.update_frame = Mock() renderer.add_frame = Mock() scene.render() assert renderer.add_...
import mongoose from 'mongoose' const SessionSchema = new mongoose.Schema({ jwt: { type: String }, user_id: { type: String, unique: true }, }) // SessionSchema.methods.jwtForSession = function () { // const today = new Date() // const exp = new Date(today) // exp.setDate(today.getDate() + 1) // return jwt...
#!/usr/bin/env node const express = require('express') const crypto = require('crypto') const path = require('path') const os = require('os') const fs = require('fs') const fsPromises = require('fs/promises') const multer = require('multer') const compression = require('compression') const yargs = require('yargs') cons...
import core from exceptions import ArgumentError import getpass import json import keyring import os import report def summary(): """ Display a summary of System usage data """ g = core.Get() text = 'OS: {} \t Uptime: {}'.format(g.os(), g.uptime()) print(text) # CPU data text = '\nCP...
export { default as arrHelper } from './helpers/arr' export { default as fakeHelper } from './helpers/fake'
from setuptools import setup, find_packages setup ( name = "testapp", version = "0.1", description = "Example application to be deployed.", packages = find_packages(), install_requires = ["pymisp","pandas","requests"], )
module.exports=require("./lib/marked"); //# sourceMappingURL=..\..\..\..\debug\angular\docs\components\marked-0.3.1\index.min.map
/*global BigBlock */ /** Character A single character object w no animation. @author Vince Allen 05-10-2010 Big Block Framework Copyright (C) 2011 Foldi, LLC */ BigBlock.Character = (function () { return { /** * Clones the Character objects. Runs configure(). Overrides any Character properti...
import React, { Component, useEffect, useState } from "react"; import { Link, NavLink } from "react-router-dom"; import { Badge, UncontrolledDropdown, DropdownItem, DropdownMenu, DropdownToggle, Nav, NavItem, Button } from "reactstrap"; import PropTypes from "prop-types"; import { AppAsideToggler, ...
import Vue from 'vue' import 'es6-promise/auto' import { createApp } from './app' import { QAjaxBar } from 'quasar' // global progress bar const bar = Vue.prototype.$bar = new Vue({ render: h => h(QAjaxBar, { ref: 'bar', props: { color: 'secondary' } }) }).$mount().$refs.bar document.body.appendChild(bar.$...
""" WSGI config for aws_assignment project. This module contains the WSGI application used by Django's development server and any production WSGI deployments. It should expose a module-level variable named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover this application via the ``WSGI_APPLICA...
module.exports = { purge: ['./src/**/*.{js,jsx,ts,tsx}'], darkMode: false, // or 'media' or 'class' theme: { extend: { colors: { 'default': 'rgb(99 102 241)', 'bg': 'rgb(10 20 30)', 'blue': 'rgb(14 165 233)' } }, }, variants: { extend: {}, }, pl...
#!/usr/bin/env python ################################################################################ # # This file is part of ghmm # # file: HMMEd.py # author: Janne Grunau # # Copyright (C) 1998-2002, Alexander Schliep # # Contact: schliep@molgen.mpg...
const logger = require('../auth-api/middleware/logger'); describe('logger middleware ', ()=> { let consoleSpy; let req = {}; let res = {}; let next = jest.fn(); beforeEach(()=> { consoleSpy = jest.spyOn(console, 'log').mockImplementation(); }) afterEach(()=> { consoleSpy.mo...
import { r as registerInstance, e as getContext, h, g as getElement } from './index-25b9a15f.js'; import { s as stripTrailingSlash, a as addLeadingSlash, h as hasBasename, b as stripBasename, c as createLocation, d as createKey, e as createPath, f as stripLeadingSlash, l as locationsAreEqual } from './location-utils-fe...
""" Core factories """ import io from django.conf import settings from django.contrib.auth.hashers import make_password from django.core.files import File import factory from filer.models.imagemodels import Image from ..core.helpers import create_i18n_page class UserFactory(factory.django.DjangoModelFactory): ...
"""Base Integration for Cortex XSOAR - Unit Tests file Pytest Unit Tests: all funcion names must start with "test_" More details: https://xsoar.pan.dev/docs/integrations/unit-testing MAKE SURE YOU REVIEW/REPLACE ALL THE COMMENTS MARKED AS "TODO" You must add at least a Unit Test function for every XSOAR command you...
// This is a manifest file that'll be compiled into application.js, which will include all the files // listed below. // // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, // or any plugin's vendor/assets/javascripts directory can be referenced here using a relative ...
import Vue from 'vue' import App from './app.vue' import packageUtil from '../package.json' import {router} from './router' import store from './store/index' import WSocket from '@/libs/socket-io.js' import Http from './http/http' Vue.use(Http) //全局css import './commons/common.less' //froala大文本编辑器,这个因为是收费的,所以这里不用这个了 ...
let proxy = { // Priority processing. // apiMocker(app, path, option) // This is the option parameter setting for apiMocker // webpack-api-mocker@1.5.15 support _proxy: { proxy: { '/sse/*': 'http://localhost:9999', '/api/v1/*': 'http://localhost:9999', // '/api/v1/*': 'http://localhost:8...
from django.shortcuts import render from otree_manager.om.models import OTreeInstance from otree_manager.om.utils import get_room_url """Lobby Feature Views""" def lobby(request, instance_name, participant_label): """Lobby view for individual participant""" # make sure the requested instance exists try: ...
(window.webpackJsonp=window.webpackJsonp||[]).push([[180],{644:function(t,e,r){"use strict";r.r(e);var n=r(25),a=Object(n.a)({},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[r("h1",{attrs:{id:"关于我"}},[r("a",{staticClass:"header-ancho...
"use strict"; /* * PluginBase.ts * * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT license. * * Base export for the iOS implementation of the plugin. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.Types = exports.default = void 0; var Types = requir...
#! /usr/bin/env node const yargs = require('yargs') const chalk = require('chalk') const fs = require('fs') const { structuredDataTest } = require('../index') const presets = require('../presets') const { schemas } = require('../lib/schemas') const Package = require('../package') const { error, printTestResults, printS...
/** * Copyright 2019 © Roma Technology Ltd. All rights reserved. * See COPYING.txt for license details. **/ define([ 'uiComponent', 'Magento_Checkout/js/model/payment/renderer-list' ], function (Component, rendererList) { 'use strict'; rendererList.push( { type: 'estimate', component: 'RTech_Qu...
/** * Application Descriptor */ appDescr = { apiKey: "iTunesControl", name: "net.violet.js.itunescontrol" }; /** * Event handlers */ appEventHandlers = { notSupported: { "fr": "Je ne peux pas jouer cette application. Montrez votre objet à un mirror !", "en": "I can't execute this application... Show your O...
const NULL_PICKING_COLOR = new Uint8Array([0, 0, 0]); // Encodes an index as a Uint8Array([r, g, b]) format picking color export function encodePickingColor(i) { return [(i + 1) & 255, ((i + 1) >> 8) & 255, ((i + 1) >> 16) & 255]; } // Decodes a picking color in [r, g, b] format to an index export function decodePi...
/* YUI 3.12.0 (build 8655935) Copyright 2013 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ if (typeof __coverage__ === 'undefined') { __coverage__ = {}; } if (!__coverage__['build/datatable-foot/datatable-foot.js']) { __coverage__['build/datatable-foot/datatable-...
const test = require('tape'); require('../build/__CUE__.js'); test('__CUE__', (t) => { t.test('New', (t) => { const cue = new (__CUE__.New)(); t.ok(cue); t.test(`Cue#Compile '{}'`, (t) => { const [instance, err] = cue.Compile('test', '{}'); t.ok(instance); t.equal(err, null); t...
import {Feature} from '../../feature'; import {isUndef, isObj, EMPTY_FN} from '../../types'; import {createElm, elm, tag} from '../../dom'; import {addEvt, bound} from '../../event'; import {parse as parseNb} from '../../number'; import { NONE, CELL_TAG, HEADER_TAG, STRING, NUMBER, DATE, FORMATTED_NUMBER, IP_AD...
from __future__ import annotations from typing import Literal from prettyqt import core from prettyqt.qt import QtCore from prettyqt.utils import InvalidParamError, bidict DELETION_POLICY = bidict( keep=QtCore.QAbstractAnimation.DeletionPolicy.KeepWhenStopped, delete=QtCore.QAbstractAnimation.DeletionPolicy...
import { registerStyles, css } from '@vaadin/vaadin-themable-mixin/register-styles.js'; import '@vaadin/vaadin-lumo-styles/color.js'; import '@vaadin/vaadin-lumo-styles/mixins/required-field.js'; registerStyles( 'vaadin-checkbox-group', css` :host { color: var(--lumo-body-text-color); font-size: va...
// Imports require('dotenv').config(); const fs = require('fs'); const axios = require('axios'); const ethers = require("ethers"); const args = require('minimist')(process.argv.slice(2)); const DELAY_IN_MS = args['delay'] || 1000 // 1 second throttle to avoid exceeding request limit const WAIT = args['wa...