text
stringlengths
3
1.05M
self.__precacheManifest = [ { "revision": "1cedb6e919bfed6a2c1ec00b5d8ee620", "url": "/5eEncounters/static/media/UploadIcon.1cedb6e9.svg" }, { "revision": "a089449f91f4449acdc9", "url": "/5eEncounters/static/js/runtime~main.a089449f.js" }, { "revision": "f9e3f9cc87bc184df7cc", "url": "...
# coding: utf-8 """ Kubernetes No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: v1.20.7 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six fr...
// First lets create our drawing surface out of existing SVG element // If you want to create new surface just provide dimensions // like s = Snap(800, 600); var s = Snap("#svg"); // Lets create big circle in the middle: var button = s.circle(188, 329, 7); button.attr({ fill: "transparent", stroke: "#000", strokeWid...
from django.dispatch import receiver from couchforms.signals import successful_form_received from corehq.motech.repeaters.signals import create_repeat_records @receiver(successful_form_received, dispatch_uid="create_fhir_repeat_records") def create_fhir_repeat_records(sender, xform, **kwargs): from .repeaters i...
const Discord = require("discord.js"); let yml = require("../yml.js") module.exports.run = async (bot, message, args) => { const config = await yml("./config.yml"); message.delete(); let role = message.guild.roles.find("name", config.Ban_Command); let user = message.guild.member(message.mentio...
// start: query expression view models function QToken(val) { var self = this; self.TkType = ""; self.TkName = val; self.DisplayAs = val; self.IsExternal = false; self.IsEntityAccess = false; self.TkClass = "filternode"; self.SortOrder = 0; self.FilterOrder = 0; self.CopyToken =...
/* Globals */ let debugMode = false; const BROWSER_ACTION_ACTIVE_ICON_PATH = "../images/icon_38.png"; const BROWSER_ACTION_INACTIVE_ICON_PATH = "../images/icon_inactive_38.png"; /* End Globals */ /** * Class that handles storage and error handling of RegExp objects to be used during page redirection. */ class Utilit...
const {broadcastResponse} = require('./../async-util'); const rowTypes = require('./conf/row_types'); const decBase = 10; const initialConfirmationCount = 0; /** Send tokens in a blockchain transaction. { address: <Destination Chain Address String> [fee_tokens_per_vbyte]: <Chain Fee Tokens Per Virtual Byt...
REACT_ELEMENT_TYPE/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow */ // ATTENTION // When adding new symbols to this file,REACT_ELEMENT_TYPE // Please consider also addi...
module.exports = function (grunt) { grunt.initConfig({ eslint: { target: ['*.js'] }, mochaTest: { test: { options: { reporter: 'spec' }, src: ['test.js'] } } }); // Loads...
'use strict'; var assert = require('../../helpers/assert'); var stub = require('../../helpers/stub').stub; var MockUI = require('../../helpers/mock-ui'); var MockAnalytics = require('../../helpers/mock-analytics'); var CLI = require('../../../lib/cli/cli'); var ui; var analytics; var commands; var argv;...
from flask import Flask, render_template, request, redirect, url_for, flash, send_file from firebase_admin import credentials, firestore, initialize_app from flask_httpauth import HTTPBasicAuth from werkzeug.security import generate_password_hash, check_password_hash #import pandas as pd import datetime cred = credent...
import resolver from './helpers/resolver' import { setResolver } from 'ember-qunit' setResolver(resolver)
/** * @author wpatterson * @email wpatterson@horizonhobby.com * @version 1.0.1 * @date 3/14/2016 * * Same as parts finder with updated query for manuals */ (function(root, $, document, undefined){ 'use strict'; var dataUrl = 'http://159.203.116.76/search/'; //var dataUrl = 'http://il-wpatterson:3080/searc...
function radiois_checked(radio,form,status,action,note) { var stu=""; for(var j=0;j<radio.length;j++) { if(radio[j].checked) { stu=radio[j].value; break; } } if(stu=="") { alert(note); return; } if(status=="nextpage") { form.radiostring.value=stu; form.action=...
# Generated with BoundaryConditionFrame # from enum import Enum from enum import auto class BoundaryConditionFrame(Enum): """""" GLOBAL = auto() VESSEL = auto() SKEW_GLOBAL = auto() SKEW_VESSEL = auto() def label(self): if self == BoundaryConditionFrame.GLOBAL: return "Glo...
'use strict'; const insertionSort = require('../insertionSort.js'); describe("Insertion Sort Testing", () => { it('can return the appropriate array', () => { // let test1= [20,18,12,8,5,-2] // let test2 = [5,12,7,5,5,7] // let test3 = [2,3,5,7,13,11] let realTest = [8,4,23,42...
import unittest from test import test_support # The test cases here cover several paths through the function calling # code. They depend on the METH_XXX flag that is used to define a C # function, which can't be verified from Python. If the METH_XXX decl # for a C function changes, these tests may not cover th...
import pytest import requests from retry.api import retry_call from config import config from tests.pages import DocumentDownloadLandingPage, DocumentDownloadPage def upload_document(service_id, file_contents): response = requests.post( "{}/services/{}/documents".format(config['document_download']['api_h...
import Profile from './components/Profile.vue'; export const routes = [ { name: 'home', path: '/', component: Profile }, ];
import readBanks from "@/services/card-info/utils/read-banks"; import { isArray, isObject } from "@/utils/helpers"; describe("readBanks", () => { const banks = readBanks(); it("banks must be an array", () => { expect(isArray(banks)).toBeTruthy(); }); it("items in banks must be an object", () =...
# coding: utf-8 # ----------------------------------------------------------------------------------- # <copyright company="Aspose Pty Ltd" file="rest.py"> # Copyright (c) 2003-2021 Aspose Pty Ltd # </copyright> # <summary> # Permission is hereby granted, free of charge, to any person obtaining a copy # of this so...
"""distutils.cygwinccompiler Provides the CygwinCCompiler class, a subclass of UnixCCompiler that handles the Cygwin port of the GNU C compiler to Windows. It also contains the Mingw32CCompiler class which handles the mingw32 port of GCC (same as cygwin in no-cygwin mode). """ # problems: # # * if you use a msvc com...
/* eslint-disable */ var lastTime = 0 var vendors = ['webkit', 'moz'] for (var x = 0; x < vendors.length && !window.requestAnimationFrame; ++x) { window.requestAnimationFrame = window[vendors[x] + 'RequestAnimationFrame'] window.cancelAnimationFrame = window[vendors[x] + 'CancelAnimationFrame'] || window[vendors[x]...
const mysql = require('mysql'); const config = require('../config.json'); const { colorLog } = require('../helper/console'); //* Create mysql connection const connection = mysql.createConnection({ host : config.db_host, user : config.db_user, password : config.db_password, database : config.db_name });...
const {Command} = require('discord.js-commando'); const path = require('path'); botPath = path.join(__dirname, '..', '..', 'utilities', 'soulbreak-bot-utils.js'); const botUtils = require('../../utilities/soulbreak-bot-utils.js'); module.exports = class ReplyCommand extends Command { /** constructor for looking up...
let assert = require('assert'); let transaction = require("../src/transaction"); let encoding = require("../src/encoding/encoding"); let algosdk = require("../src/main"); describe('Sign', function () { it('should not complain on a missing note', function () { let o = { "from": "7ZUECA7HFLZTXE...
const optionDefinitions = [ { name: 'name', alias: 'n', type: String, defaultOption: true, typeLabel: 'name', description: 'Seeder name to generate', }, { name: 'help', alias: 'h', type: Boolean, defaultValue: false, description: 'Show usage guide', }, ]; export defa...
/** * Copyright (c) 2019-2020 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Alexander Rose <alexander.rose@weirdbyte.de> */ import { __assign, __awaiter, __generator } from "tslib"; import { DSSPComputationParams, computeUnitDSSP } from './secondary-structure/dssp'; impor...
(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{YSlf:function(e,t,n){"use strict";n.r(t);var a=n("q1tI"),l=n.n(a),r=n("Wbzz");t.default=function(e){e.data;var t=e.pageContext.tags;return l.a.createElement("div",null,l.a.createElement("div",null,l.a.createElement("ul",null,t.map((function(e,t){return l.a.create...
import something from "./instantiation-error-1.js";
import React from 'react'; import { connect } from 'react-redux'; import ActivityIndicator from '../UI/ActivityIndicator'; import './ElementPanelHeader.css'; import { getNodeColor } from '../../utils/utils'; import PropTypes from 'prop-types'; class ElementPanelHeader extends React.Component { static propTypes = { ...
Number.prototype.toFixed = function(d) { var s=this+"";if(!d)d=0; if(s.indexOf(".")==-1)s+=".";s+=new Array(d+1).join("0"); if (new RegExp("^(-|\\+)?(\\d+(\\.\\d{0,"+ (d+1) +"})?)\\d*$").test(s)) { var s="0"+ RegExp.$2, pm=RegExp.$1, a=RegExp.$3.length, b=true; if (a...
var google; function init() { // Basic options for a simple Google Map // For more options see: https://developers.google.com/maps/documentation/javascript/reference#MapOptions // var myLatlng = new google.maps.LatLng(40.71751, -73.990922); var myLatlng = new google.maps.LatLng(40.69847032728747, -73....
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.InterfaceType = exports.ResponseBodyType = exports.RequestFormItemType = exports.RequestBodyType = exports.Required = exports.Method = void 0; // 参考:https://github.com/YMFE/yapi/blob/master/server/models/interface.js#L9 /** 请求方式 */ var...
from selenium import webdriver from selenium.webdriver.support.ui import Select from time import sleep pathWebdriver = 'C:\\Program Files (x86)\chromedriver.exe' driver = webdriver.Chrome(pathWebdriver) xubioLogin = 'https://xubio.com/NXV/newLogin' xubioMayores = 'https://xubio.com/NXV/contabilidad/libro-mayor' user...
const functions = require('firebase-functions'); const admin = require('firebase-admin'); const sendgridemail = require('@sendgrid/mail'); admin.initializeApp(functions.config().firebase);; const createNotification = ((notification) => { return admin.firestore().collection('notifications') .add(notifica...
import animationFrame from 'animation/frame'; import 'common.css!'; import { triggerShownEvent } from 'events/visibility_change'; import $ from 'jquery'; import Scrollable from 'ui/scroll_view/ui.scrollable'; import { RTL_CLASS } from './scrollable.constants.js'; const moduleConfig = { beforeEach: function() { ...
import React from 'react'; import ReactDOM from 'react-dom'; window.React = React; // export for http://fb.me/react-devtools // The Actions import ConfigActions from './actions/ConfigActions'; // The API utils import LogReaderAPIUtils from './utils/LogReaderAPIUtils'; import ConfigUtils from './utils/ConfigUtils'; ...
// @flow export { default as InfoDialog } from './InfoDialog'; export { default as InfoDialogButton } from './InfoDialogButton';
export default ({ useState, useRef, _setRegisterName }) => { return function useReducer(reducer, initialState, initialAction) { let initialActionRef = useRef(initialAction); _setRegisterName('useReducer:initialAction') if (initialActionRef.current) { initialState = reducer(initialState, initialActi...
""" Module for various utility or service functions""" import json import re from .encryption import encrypt_data SANDBOX = 'https://ravesandboxapi.flutterwave.com' LIVE = 'https://api.ravepay.co' def get_url(mode): """ Function for getting URL based on mode""" if mode == 'sandbox': return SANDBOX ...
export const ic_notifications_off = { "viewBox": "0 0 24 24" xmlns="http://www.w3.org/2000/svg", "children": [{"name":"path","attribs":{"d":"M20 18.69L7.84 6.14 5.27 3.49 4 4.76l2.8 2.8v.01c-.52.99-.8 2.16-.8 3.42v5l-2 2v1h13.73l2 2L21 19.72l-1-1.03zM12 22c1.11 0 2-.89 2-2h-4c0 1.11.89 2 2 2zm6-7.32V11c0-3.08-1.64-5.64...
/* * create by zhe-he * e-mail: luanhong_feiguo@sina.com * */ var userid = getUrlData("user_id"); var qian = window.location.hash; if (!/MicroMessenger/i.test(navigator.userAgent)) { window.location.href = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxf691fb1f4059c9f3&redirect_uri=http://www.sqwe...
import React from "react" import { Component } from "react" import SearchBar from "../containers/search_bar" import WeatherList from "../containers/weather_list" export default class App extends Component { render() { return ( <div> <SearchBar /> <WeatherList /> </div> ) } }
/** * Swiper 5.2.0 * Most modern mobile touch slider and framework with hardware accelerated transitions * http://swiperjs.com * * Copyright 2014-2019 Vladimir Kharlampidi * * Released under the MIT License * * Released on: October 26, 2019 */ !function (e, t) { "object" == typeof exports && "undefined" ...
/*! * jQuery JavaScript Library v3.3.1 * https://jquery.com/ * * Includes Sizzle.js * https://sizzlejs.com/ * * Copyright JS Foundation and other contributors * Released under the MIT license * https://jquery.org/license * * Date: 2018-01-20T17:24Z */ ( function( global, factory ) { "use st...
import passport from 'koa-passport'; import client, { processMeta } from 'util/client'; import FacebookStrategy from 'passport-facebook'; import TwitterStrategy from 'passport-twitter'; import GithubStrategy from 'passport-github2'; import GoogleStrategy from 'passport-google-oauth20'; import InstagramStrategy from 'pa...
import postDataService from '@/logic/post/data' import { MUTATIONS } from '@/store/mutations' export default async (context, payload) => { try { let result = await postDataService.deleteRating(payload.year, payload.day) if (result) { context.commit(MUTATIONS.ADMINISTRATE_REMOVE_RATING, payload) } ...
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("babylonjs")); else if(typeof define === 'function' && define.amd) define("babylonjs-loaders", ["babylonjs"], factory); else if(typeof exports === 'object') ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const packet_1 = require("../../packet"); class ReskinPacket extends packet_1.Packet { constructor() { super(...arguments); this.type = packet_1.PacketType.RESKIN; } //#endregion read() { this.skinId = t...
# original from # http://tech.octopus.energy/news/2016/01/21/testing-for-missing-migrations-in-django.html import io from django.core.management import call_command from django.test import TestCase, override_settings class MigrationTestCase(TestCase): @override_settings(MIGRATION_MODULES={}) def test_for_mi...
from typing import Dict, Text, Any, NoReturn import requests import jmespath from jmespath.exceptions import JMESPathError from loguru import logger from httpapi import exceptions from httpapi.exceptions import ValidationFailure, ParamsError from httpapi.model import VariablesMapping, Validators, FunctionsMapping fro...
from sklearn.preprocessing import StandardScaler from sklearn.mixture import GaussianMixture class GMM: def __init__(self, scaling=True, n_components=6): self._scaling = scaling self._n_components = n_components def fit(self, X): X = X[:20000] if self._scaling: se...
/*! * Bootstrap v3.3.5 (http://getbootstrap.com) * Copyright 2011-2015 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ /*! * Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=9a6b29fb56c58b02e7cf) * Config saved to config.json and https:...
// Classification of all state attributes possible const stateAttrb = { // State object 'mA': { name: 'Current LED power usage in milliamps as determined by the ABL. 0 if ABL is disabled', type: 'number', read: true, write: false, role: 'value.current', unit: 'mA' }, 'total_duration': { name: 'total_d...
// @ts-check 'use strict' const { validationResult } = require('express-validator') /** * Function to handle with errors from Express Validator. * @param {Request} req Object with the Request * @param {Response} res Object to handle with response * @param {Function} next Callback to be called if no errors occurre...
import React from 'react' import Link from 'gatsby-link' const TosPage = () => ( <div> <div className="container"> <div className="col-md-12"> <div className="tos"> <h3>LETS DIVORCE TERMS OF SERVICE</h3> <p>The Let’s Divorce...
'use strict'; Connector.playerSelector = '#app-root'; Connector.applyFilter(MetadataFilter.getYoutubeFilter()); Connector.getArtistTrack = () => { const text = $('meta[name="twitter:title"]').attr('content'); return Util.processYoutubeVideoTitle(text); }; Connector.pauseButtonSelector = 'button:contains(Pause Vid...
module.exports = { apps: [ { name: 'mx-kami', script: 'node .next/standalone/server.js', instances: 1, autorestart: true, watch: false, max_memory_restart: '180M', env: { PORT: 2323, NODE_ENV: 'production', ...require('dotenv').config().parsed, ...
import './checkbox.css'; export default { render(args) { const { parent, widget, value, change } = args; let realValue = value; if (widget.valueType === Number) { realValue = value === 1; } if (widget.valueType === String) { realValue = value === 'true'; } const label = do...
function groupCommunicationResultByLoop(result) { grouped = {} for (item of result) { if (!grouped[item.ciclo]) { grouped[item.ciclo] = {} } grouped[item.ciclo][item.name] = item.amount } return grouped } function groupIssuesResultOverviewByLoop(result) { grouped = {} for (item of result)...
var pinocchio = require('pinocchio'); module.exports = function (err) { if (!(err instanceof Error)) { err = pinocchio(err); } var s = err.stack + '\n'; Object.keys(err).forEach(function (k) { s += '\t* ' + k + ': ' + JSON.stringify(err[k]) + '\n'; }); return s; }
import React, { useContext, useState, useEffect } from 'react'; import PropTypes from 'prop-types'; import { Balloon } from '@alifd/next'; import { FormattedMessage, injectIntl } from 'react-intl'; import Icon from '@components/Icon'; import XtermTerminal from '@components/XtermTerminal'; import { ThemeContext } from '...
import merge from 'deepmerge'; import { createSpaConfig } from '@open-wc/building-rollup'; import copy from 'rollup-plugin-copy'; const config = []; const baseConfig = createSpaConfig({ outputDir: 'build', developmentMode: process.env.ROLLUP_WATCH === 'true', injectServiceWorker: false, html: { transform:...
import './canvasresize'; import api from './api'; import utils from './utils'; export default class upload { constructor(options) { this.ops = { type: 0, // 0:oss 1:qiniu 2:s3 3: meitu width: 800, // 压缩宽度; quality: 90, ...
(function (a) { a.fn.space3d = function (p) { var p = p || {}; var w_w = p && p.window_width ? p.window_width : "500"; var w_h = p && p.window_height ? p.window_height : "400"; var w_b = p && p.window_background ? p.window_background : "#000"; var s_c = p && p.star_count ? ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.JwtStrategy = void 0; const passport_1 = require("@nestjs/passport"); const jwks_rsa_1 = require("jwks-rsa"); const passport_jwt_1 = require("passport-jwt"); const constants_1 = require("../../../common/constants"); class JwtStrategy e...
# zodiac_name = (u'摩羯座', u'水瓶座', u'双鱼座', u'白羊座', u'金牛座', u'双子座', # u'巨蟹座', u'狮子座', u'处女座', u'天秤座', u'天蝎座', u'射手座') # zodiac_days = ((1, 20), (2, 19), (3, 21), (4, 21), (5, 21), (6, 22), # (7, 23), (8, 23), (9, 23), (10, 23), (11, 23), (12, 23)) # # # (month, day) = (2, 15) # # zodiac_day = fi...
const wrapQuotes = require('../../../handlerbars/helpers/wrap-quotes'); describe('wrap-quotes', () => { it('should wrap', () => { expect.assertions(8); expect(wrapQuotes('notSpecialName')).toBe('\'notSpecialName\''); expect(wrapQuotes('notSpecialName12')).toBe('\'notSpecialName12\''); expect(wrapQuot...
var searchData= [ ['vertex',['Vertex',['../structVertex.html',1,'Vertex'],['../structVertex.html#a2927de87e482ddebbb18abf7f811c6c3',1,'Vertex::Vertex()']]], ['vertexptrcomp',['VertexPtrComp',['../structDCEL_1_1VertexPtrComp.html',1,'DCEL']]] ];
var http = require('http'); var path = require('path'); var fs = require('fs'); function handleRequest(request, response){ function handleError() { response.statusCode = 404; response.end(); } try { var index = request.url.substr(1); } catch (_) { return handleError(); } var filePath = pa...
var async = require("async"); var moment = require("moment"); var _ = require('underscore'); var ObjectId = require('mongodb').ObjectID; var Products = function(app){ this.conf = app.conf; this.db = app.dbconn; }; module.exports = Products; Products.prototype.producttypeslist = function(req, cbk){ var self...
import ac from 'components/AsyncComponent'; export function configureRoutes(store) { return [{ path: '/', component: ac(() => import('containers/Root'), store), routes: [{ path: '/js-learning', component: ac(() => import('containers/app/JSLearning'), store), ...
var struct_m_y_b_write_cmd__t = [ [ "hdr", "struct_m_y_b_write_cmd__t.html#a7642341cdfa3b3efabd980d7675b312a", null ], [ "index", "struct_m_y_b_write_cmd__t.html#af04882d265149cc7dcb8dbab9a89a6c5", null ], [ "len", "struct_m_y_b_write_cmd__t.html#a3751f5c9d68ee0c88207df2dbac3c525", null ], [ "pData", "s...
# Generated by Django 2.1.5 on 2019-02-10 05:08 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('users', '0007_auto_20190210_0508'), ] operations = [ migrations.RemoveField( model_name='group', name='members', ), ...
//xenoSplitPos:Game_Battler----------------------------------------------------------------------------- // Game_Battler // // The superclass of Game_Actor and Game_Enemy. It contains methods for sprites // and actions. function Game_Battler() { this.initialize.apply(this, arguments); } Game_Battler.prototype = O...
/** * Config mocha */ mocha.timeout(60000); mocha.globals(['jQuery*', '__auth0jp*']); /** * Test Logout */ describe('logout', function () { it('should redirect to the logout url', function (done) { var auth0 = Auth0({ domain: 'mdocs.auth0.com', callbackURL: 'http://localhost:3000/', ...
import 'react-app-polyfill/ie11'; import 'react-app-polyfill/stable'; import 'bootstrap/dist/css/bootstrap.css'; import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import * as serviceWorker from './serviceWorker'; import { library } from '@fortawesome/fontawesome-svg-core' import {faTim...
import logging import os from galaxy.tools.cwl import tool_proxy from galaxy.tools.deps import requirements from galaxy.util.odict import odict from .error_level import StdioErrorLevel from .interface import ( PageSource, PagesSource, ToolSource, ToolStdioExitCode ) from .output_actions import ToolOutp...
import './style.css'; import enterImg from './img/enter.png'; import trashImg from './img/trash.png'; import task from './modules/taskList.mjs'; import { listen } from './modules/addtask.mjs'; import newLi from './modules/taskBuild.mjs'; import clear from './modules/clearComp.mjs'; const todoList = document.getElement...
export default function ($scope, $location, UserFactory) { $scope.isAdmin = true; $scope.posts = UserFactory.getUserPosts(); $scope.checkIsAdmin = function () { $scope.isAdmin = UserFactory.getIsAdmin(); }; $scope.register = function () { $location.path("/register"); }; $scope.create = function...
Ext.define('KitchenSink.model.tree.Task', { extend: 'Ext.data.Model', fields: [{ name: 'task', type: 'string' }, { name: 'user', type: 'string' }, { name: 'duration', type: 'float' }, { name: 'done', type: 'boolean' }] });
from ..game import Base def test_health(): base = Base() assert base.health > 0 def test_missing_health(): base = Base() assert base.missing_health == 0 base.deal_damage(1) assert base.missing_health == 1 def test_missing_heal(): base = Base() assert base.missing_health == 0 ...
'use strict'; import PCMArrayBufferWriter from './PCMArrayBufferWriter'; import PCMBufferWriter from './PCMBufferWriter'; const Buffer = global.Buffer; const PCMWriter = getPCMWriter(); const alloc = getAllocFunction(); function create(length, format) { const bitDepth = resolveBitDepth(format.bitDepth, format.floa...
import request from '../request.js' class k { constructor (npc, pod, ship) { this.npc = npc this.pod = pod this.ship = ship } } // Buffer results let buf = {} // Global promise const _r = request("universe/system_kills/") export async function load () { const r = await _r r.forEach((sys) => ...
/** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/** * Implement the Stack with a given interface via array. * * @example * const stack = new Stack(); * * stack.push(1); // adds the element to the stack * stack.peek(); // returns the peek, but doesn't delete it, returns 1 * stack.pop(); // returns the top element from stack and deletes it, returns 1 * stack....
import CatalogItem, CatalogAtticItem from toontown.toonbase import ToontownGlobals from toontown.toonbase import TTLocalizer from CatalogSurfaceColors import * STWallpaper = 0 STMoulding = 1 STFlooring = 2 STWainscoting = 3 NUM_ST_TYPES = 4 class CatalogSurfaceItem(CatalogAtticItem.CatalogAtticItem): def makeNewI...
/* * Copyright 2015 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 agr...
(window.webpackJsonp=window.webpackJsonp||[]).push([[133],{231:function(t,e){var n,o,i,r,a;(function(){var t=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));function e(e){var n=t.has(e);return e=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.tes...
$(document).ready(function(){ $("#mytable #checkall").click(function () { if ($("#mytable #checkall").is(':checked')) { $("#mytable input[type=checkbox]").each(function () { $(this).prop("checked", true); }); } else { $...
'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]; } } }...
'use babel'; import JorgeWordCount from '../lib/jorge-word-count'; // Use the command `window:run-package-specs` (cmd-alt-ctrl-p) to run specs. // // To run a specific `it` or `describe` block add an `f` to the front (e.g. `fit` // or `fdescribe`). Remove the `f` to unfocus the block. describe('JorgeWordCount', () =...
import os.path import types import sys module_name = 'module1' module_file = 'module_source.py' module_path = '.' module_rel_file_path = os.path.join(module_path, module_file) module_abs_file_path = os.path.abspath(module_rel_file_path) # read source code from file with open(module_rel_file_path, 'r') as code_file:...
# -*- coding: utf-8 -*- ''' fantastic Add-on Copyright (C) 2016 fantastic This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)...
/** * Copyright 2013 Facebook, Inc. * * 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 ...
let ps = require("prompt-sync"); let prompt = ps(); function greeting(name){ console.log(`Hello ${name}`); } function user(){ let name = prompt("Enter your name:") greeting(name); } user(); //
import logging from django.contrib import messages from django.http import HttpResponseRedirect, JsonResponse from django.shortcuts import get_object_or_404 from django.template import RequestContext from django.urls import reverse, reverse_lazy from django.utils.encoding import force_text from django.utils.translatio...
define(["require","exports","tslib","react","comments2/components/annotation_utils","comments2/components/comment/annotation_toggle","comments2/components/comment/time_coded_comment","comments2/components/comment_editor/comment_editor"],(function(t,e,n,o,i,r,m,s){"use strict";Object.defineProperty(e,"__esModule",{value...