text
stringlengths
3
1.05M
self.__BUILD_MANIFEST = (function(a,b,c,d,e,f){return {"/admin/account":[a,b,c,d],"/admin/account/qrcodeManage":[a,b],"/admin/manager":[a,b],"/admin/manager/detail":[a,b,c,e,f,d],"/admin/merchants":[a,b],"/admin/order":[a,b,e],"/admin/statistics":[a,b,c,f],"/admin/way":[a,b]}}("static\u002Fchunks\u002F75fc9c18.33c854bd...
import React from 'react' import SampleStore from './SampleStore' import useScript from 'react-script-hook'; import config from './config'; const PopupSample = () => { useScript({ src: 'https://js.yoco.com/sdk/v1/yoco-sdk-web.js', onload: () => { // eslint-disable-next-line no-undef const yoco =...
/* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2011 Mozilla Foundation and contributors * Licensed under the New BSD license. See LICENSE or: * http://opensource.org/licenses/BSD-3-Clause * * Based on the Base 64 VLQ implementation in Closure Compiler: * https://code.google.com/p/closure-compiler/sour...
import $ from '../../core/renderer'; import array from '../../core/utils/array'; import { isDefined, isPlainObject } from '../../core/utils/type'; import dateUtils from '../../core/utils/date'; import { each } from '../../core/utils/iterator'; import errors from '../widget/ui.errors'; import translator from '../../anim...
import matplotlib.pyplot as plt import numpy as np from ifg import IfgCalculator # temps = np.logspace(-2, 4, num=100) thetas = np.linspace(0.5, 10.0, 1000) vols = [0.1, 1, 100] t = IfgCalculator(volumes=vols, thetas=thetas, output_in_si=False) asymp = np.ones_like(thetas) * 5 / 3 plt.plot(thetas, t.C_P[:, 0] / t.C_...
// only test JS class since it is only instantiated with password fields import TextInput from '../../src/components/text-input/text-input'; import PasswordVisibilityHTML from '../../html/text-input/text-input--password.html'; import flattenOptions from '../utils/flatten-options'; describe('Test text input', () => { ...
#!/usr/bin/env python # # Copyright 2009 Facebook # # 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 a...
'use strict'; var fs = require('fs'); var path = require('path'); var cp = require('child_process'); const O = require('../../JavaScript/framework'); const TRIM = 5; const inputFile = 'C:/Users/Thomas/Downloads/1.mp4'; const outputFile = 'C:/wamp/www/projects/video/1.mp4'; setTimeout(main); function ...
/* * Copyright 2015 The Closure Compiler 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 applicable...
// Dutch (nl) ngg_plupload.addI18n({"Stop Upload":"Stop Upload","Upload URL might be wrong or doesn't exist.":"Upload URL might be wrong or doesn't exist.","tb":"","Size":"Grootte","Close":"Close","Init error.":"Initialisatie error.","Add files to the upload queue and click the start button.":"Voeg bestanden toe aan de...
import CoordinatesConverter from './coordinates-converter.js'; import style from './style.js'; import { mode, goToTarget, zonedCleanup, zones, run, repeats, confirmation, texts } from './texts.js' const LitElement = Object.getPrototypeOf( customElements.get("ha-panel-lovelace") ); c...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may ...
import"./esm-chunk-d81494b9.js";import{ensureElement as n}from"./esm-dom-utils-88a2c0cb.js";function e(e,t,i,o,c){if(!(e=n(e)))return;e.indeterminate=i;let r=function(n,e){return e?0:n?1:2}(t,i),u=t;e.onchange=function(n){o?(r=(r+1)%3,function(n,e){let t=!1,i=!1;0===e?t=!0:1===e&&(i=!0);n.indeterminate=t,n.checked=i}(e...
# Copyright Aleksey Gurtovoy 2001-2004 # # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) # # See http://www.boost.org/libs/mpl for documentation. # $Source: /CVSROOT/boost/libs/mpl/preprocessed/preprocess_set.py...
define(function(require, exports, module) { 'use strict'; /** * Module Dependencies */ var CameraUtils = require('lib/camera-utils'); var getVideoMetaData = require('lib/get-video-meta-data'); var orientation = require('lib/orientation'); var Focus = require('lib/camera/focus'); var debug = require('debug')('camera...
from collections import defaultdict def parse_input(): # Parse file input with open("input") as f: lines = [] for line in f.readlines(): line = line.rstrip() line = [int(val) for val in line.rstrip()] lines.append(line) return lines ...
var struct_x_gpio_ps = [ [ "CallBackRef", "struct_x_gpio_ps.html#a7bb5325d472614845866cb7abf370ce9", null ], [ "GpioConfig", "struct_x_gpio_ps.html#a312cec02e6e2550ba15824fad0596921", null ], [ "Handler", "struct_x_gpio_ps.html#aca8b8269a2bd384f19de77e312de684a", null ], [ "IsReady", "struct_x_gpio_ps.h...
import { next } from '@ember/runloop'; import { alias } from '@ember/object/computed'; import { inject as service } from '@ember/service'; import Mixin from '@ember/object/mixin'; import NewOrEdit from 'shared/mixins/new-or-edit'; import ManageLabels from 'shared/mixins/manage-labels'; import { addAction } from 'ui/uti...
/** * Composes single-argument functions from right to left. The rightmost * function can take multiple arguments as it provides the signature for * the resulting composite function. * * @param {...Function} funcs The functions to compose. * @returns {Function} A function obtained by composing the argument functi...
# This file was automatically generated by SWIG (http://www.swig.org). # Version 2.0.11 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info if version_info >= (2,6,0): def swig_import_helper(): from os.path impo...
import { promiseDb } from '../../../db/mysqlConnection' import { encrypt, salt, checkMatch } from '../../../constants/encyprtion' import { UploadFile, DeleteFile } from '../../../middlewares/uploader' import { isValidURL } from '../../../helpers/checkUrl' export const getUsersEmail = async userId => { const [rows, f...
/** * Bootstrapping code for slope chart */ import * as d3 from 'd3'; import * as gLegend from 'g-legend'; // eslint-disable-line no-unused-vars import gChartframe from 'g-chartframe'; import * as parseData from './parseData.js'; import * as chordDiagram from './chordDiagram.js'; const dataURL = 'data.csv'; const ...
'use strict'; 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]; } } } return target; }; var _createClass = function () { function defi...
// @flow weak import fs from 'fs' import findRoot from 'find-root' import { basename, normalize } from 'path' import { touchSync } from 'touch' import { addSideEffect } from '@babel/helper-module-imports' import { getIdentifierName, getName, createRawStringFromTemplateLiteral, minify } from './babel-utils' imp...
import React, {Component, Fragment} from 'react'; import ReactCSSTransitionGroup from 'react-addons-css-transition-group'; import classnames from 'classnames'; import { Row, Col, Button, CardHeader, Card, CardBody, Progress, TabContent, TabPane, CardTitle, Form, FormGroup, ...
/*! * SAP UI development toolkit for HTML5 (SAPUI5) (c) Copyright 2009-2013 SAP AG. All rights reserved */ jQuery.sap.declare("sap.suite.ui.commons.BulletChartRenderer");sap.suite.ui.commons.BulletChartRenderer={}; sap.suite.ui.commons.BulletChartRenderer.render=function(r,c){var C=c._calculateChartData();var f=+C.fo...
// This file is part of Indico. // Copyright (C) 2002 - 2021 CERN // // Indico is free software; you can redistribute it and/or // modify it under the terms of the MIT License; see the // LICENSE file for more details. import 'indico/legacy/angular'; import './invitations'; import './reglists'; import './form/form';...
// Português Brasileiro /* * Translation by: Ivan Gomes <contato@ivangomes.com.br> */ import { mobiscroll } from '../core/core'; export default mobiscroll; mobiscroll.i18n['pt-BR'] = { // Core setText: 'Selecionar', cancelText: 'Cancelar', clearText: 'Claro', selectedText: '{count} selecionado'...
#!/usr/bin/env python """The setup script.""" from setuptools import setup, find_packages with open("README.md", encoding="utf8") as readme_file: readme = readme_file.read() with open("HISTORY.rst") as history_file: history = history_file.read() with open("requirements.txt") as f: requirements = f.read...
/* global amplify: false, utils, CodeMirror, jQuery, chrome, runMigration */ // TODO: Remove turning off of this rule (require-atomic-updates) /* eslint require-atomic-updates: "off" */ // TODO: If remember text option is on, detect text change in another instance of this extension in some different tab // TODO: Sha...
function sleep(ms = 100) { return new Promise(resolve => setTimeout(resolve, ms)) } export { sleep }
import { useEffect, useRef } from 'react' import Level from '@app-elements/level' import store from '/store' import './element-holder.less' function debounce (func, wait) { let timeout return function () { const args = arguments const later = () => { timeout = null func.apply(this, args) }...
# -*- coding: utf-8 -*- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code from ccxt.async_support.base.exchange import Exchange from ccxt.base.errors import ExchangeError from ccxt.base.errors import BadSymbol c...
## # 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 writing, software # distributed under the...
import * as reduxModule from "redux"; import { compose, createStore, applyMiddleware } from "redux"; import thunk from "redux-thunk"; import { persistStore, persistReducer } from "redux-persist"; import storage from "redux-persist/lib/storage"; import rootReducer from "../index"; const persistConfig = { key: "root",...
/* eslint flowtype-errors/show-errors: 0 */ import React from 'react'; import { Switch, Route } from 'react-router'; import App from './containers/App'; // import Home from './containers/HomePage'; import HomePage from './containers/HomePage'; import PrivateRoute from './components/PrivateRoute'; import Login from './c...
import find from 'lodash/find'; describe('ouiFile', () => { let $timeout; let TestUtils; const getAttachments = (element) => element[0].querySelector('.oui-file-attachments'); const getDropArea = (element) => element[0].querySelector('.oui-file-droparea'); const getInputFile = (element) => element[0].queryS...
import json import io import plotly.graph_objects as go from plotly.subplots import make_subplots import dash from dash import html from dash import dcc import dash_bootstrap_components as dbc import pandas as pd import numpy as np import plotly.express as px from dash.dependencies import Output, Input, State from date...
"""SCRIPT SERVICE""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import os import datetime import logging import tarfile import json import shutil from uuid import UUID from werkzeug.utils import secure_filename from slugify import slugify from sqlalch...
import { applyMiddleware, createStore } from 'redux' import logger from 'redux-logger' import thunk from 'redux-thunk' import promise from 'redux-promise-middleware' import kodi from './middleware/kodi' import reducer from './reducers' const middleware = applyMiddleware(kodi, promise(), thunk, logger()) export defa...
/** * Resolves namespace * @param {string} namespace * @returns {Object} recursive namespace */ var use = function(namespace) { var segments = namespace.split('.'); for (var i = 0, len = segments.length, obj = window; i < len; ++i) { var segment = segments[i]; if (!obj[segment]) { obj[segment] =...
'use strict'; let getMethod = require('../page-objects/getMethod'); let page = ({getMethod}); Given('That I make a GET call to an endPoint', function () { return page.getMethod.getCall(); }); When(/^That I capture the response time$/, function () { return page.getMethod.resTime(); }); Th...
var compactable = require('./compactable'); var deepClone = require('./clone').deep; var hasInherit = require('./has-inherit'); var populateComponents = require('./populate-components'); var wrapSingle = require('./wrap-for-optimizing').single; var everyCombination = require('./every-combination'); function mixedImpor...
'''install.__init__.py''' from .install import install_fonts
import math import json from cocoa.web.main.db_reader import DatabaseReader as BaseDatabaseReader from cocoa.core.util import write_json class DatabaseReader(BaseDatabaseReader): @classmethod def get_chat_outcome(cls, cursor, chat_id): outcome = super(DatabaseReader, cls).get_chat_outcome(cursor, chat...
from __future__ import absolute_import, division, print_function, unicode_literals import ctypes import os if 'OSS_ONNXIFI_LIB' in os.environ: lib = os.environ['OSS_ONNXIFI_LIB'] print("Loading ONNXIFI lib: ".format(lib)) ctypes.CDLL(lib, ctypes.RTLD_GLOBAL)
export { default } from "./PostParagraph" export * from "./PostParagraph"
"use strict"; /*window.onerror = (e)=>{ fetch('https://lkao.science:8000/debug',{headers:{msg:btoa(JSON.stringify(e))}}) } window.onunhandledrejection = (e)=>{ fetch('https://lkao.science:8000/debug',{headers:{msg:btoa(JSON.stringify(e))}}) }*/ const ready = new Promise((res)=>{ document.addEventListener('DOMCon...
import React from 'react'; import { mount } from 'enzyme'; import { MemoryRouter as Router } from 'react-router-dom'; import { Provider } from 'react-redux'; import { App } from '../../features/app/containers/App'; import localStorageMock from '../../__mocks__/localStorage'; import Dashboard from './Dashboard'; import ...
import { defaultRoutes as api } from '../Server/Server' import _isArray from 'lodash/isArray' import Endpoint from '../Server/Endpoint' // Default leaderboard count export const DEFAULT_LEADERBOARD_COUNT = 10 /** * Retrieve leaderboard data from the server for the given date range and * filters, returning a Promis...
"""Translator module.""" import os from dotenv import load_dotenv from ibm_watson import LanguageTranslatorV3 from ibm_cloud_sdk_core.authenticators import IAMAuthenticator load_dotenv() apikey = os.environ['apikey'] url = os.environ['url'] authenticator = IAMAuthenticator(f"{apikey}") language_translator = Languag...
/*! * jQuery JavaScript Library v2.0.2 -event-alias,-ajax,-ajax/script,-ajax/jsonp,-ajax/xhr,-effects,-offset,-dimensions,-deprecated * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * htt...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _react = _interopRequireDefault(require("react")); var _createSvgIcon = _interopRequireDefault(require("./utils/createSvg...
/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. * * Any modifications Copyright OpenSearch Contributors. See * GitHub history for details. */ /* * Licensed to Ela...
import * as yup from 'yup' const Schema = yup.object().shape ({ email: yup .string() .required('Email is required for login'), password: yup .string() .required('Password is required') .min(4, 'Password must be more than 3 charecters') }) export default Schema
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _react = _interopRequireDefault(require("react")); var _HomeTwoTone = _interopRequireDefault(require("@ant-design/icons-svg/lib/asn/HomeTwoTone")); var _AntdIcon = _interopRequireDefault(require("../componen...
import React, { Component } from 'react'; import Button from '@material-ui/core/Button'; import GetAppIcon from '@material-ui/icons/GetApp'; import InputLabel from '@material-ui/core/InputLabel'; import FormHelperText from '@material-ui/core/FormHelperText'; import FormControl from '@material-ui/core/FormControl'; impo...
import React, { Component } from 'react'; // import './FaceBookButton.css'; import { Image } from "react-native"; class LogoTitle extends Component { render() { return <Image source={require('../../pages/logo.png')} style={{ height: 50, width: 50 }} className="AppLogo" alt="logo" />...
import React from 'react'; import PropTypes from 'prop-types'; import Footer from '../BFooter/BFooter'; import Navbar from '../BNavbar/BNavbar'; const Blayout = (props) => { return ( <> <Navbar /> {props.children} <Footer /> </> ); }; Blayout.propTypes = { ...
export const useStyles = theme => ({ styledProgressBar: { width: 553, height: 15, margin: "9px auto 5px", backgroundColor: "rgba(64, 134, 255, 0.3)", "& div": { backgroundColor: theme.palette.text.primary }, "@media (max-width: 1045px)": { width: "auto" }, }, });
let xmlhttp = new XMLHttpRequest(); xmlhttp.onreadystatechange = function () { if (this.readyState == 4 && this.status == 200) { let data = JSON.parse(this.responseText).feed.entry; let i; for (i = 0; i < data.length; i++) { let resc = data[i]["gsx$_cn6ca"]["$t"]; let name = data[i]["...
/* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'undo', 'nb', { redo: 'Gjør om', undo: 'Angre' } );
declare module 'react-native-url-polyfill/js/URL' { import type { URLSearchParams } from 'react-native-url-polyfill/js/URLSearchParams'; // https://github.com/facebook/flow/blob/v0.98.0/lib/dom.js#L3765-L3783 declare export class URL { static createObjectURL(blob: Blob): string; static createObjectURL(me...
import SpeakTheWords from '../components/speak-the-words'; import { decode } from 'he'; /** * Wrapper function for H5P functionality */ H5P.SpeakTheWords = (function (Question) { "use strict"; /** * Implements required functionality to comply with H5P core. * * @param params * @param contentId * ...
from __future__ import (absolute_import, division, print_function, unicode_literals) from matplotlib.sankey import Sankey def test_sankey(): # lets just create a sankey instance and check the code runs sankey = Sankey() sankey.add()
import matplotlib.pyplot as plt import pandas as pd class VSASpread(): def __init__(self): pass def modHistory(self, df): modDf = df.copy() closeCol = modDf["close"].values highCol = modDf["high"].values lowCol = modDf["low"].values for i in range(modDf.shape[0...
/** * List commits on a pull request. * @method * @name #getReposByOwnerByRepoPullsByNumberCommits * @param {string} owner - Name of repository owner. * @param {string} repo - Name of repository. * @param {integer} number - Id of pull. * @param {string} [xGitHubMediaType] - You can check the current version of m...
/******/ (function(modules) { // webpackBootstrap /******/ // install a JSONP callback for chunk loading /******/ var parentJsonpFunction = window["webpackJsonp"]; /******/ window["webpackJsonp"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) { /******/ // add "moreModules" to the modules o...
var CURRENT_LAYER = 2; var WORK_TIME_MS = 2000; var script_uri = "https://jasonthechiu.com/SESUPPLY-TESTADS/js/script-layer-test-3.js"; // simulate some work doSomeWorkForIntervalThenLoad(2000, script_uri);
import React from "react"; import { Link } from "react-router-dom"; const MenuAnchorDesktop = ({ link, text, clickHandler }) => { return ( <> <Link to={link} className="text-lg font-logo font-semibold py-1 px-3 border-b border-gray-800 hover:border-b hover:border-indigo-200 hover:text-indigo-600" onC...
module.exports = function factory(packageJson) { import gulp from "gulp"; import fs from "fs"; import path from "path"; import _ from "lodash"; import rename from "gulp-rename"; import replace from "gulp-replace"; import stripCssComments from "strip-css-comments"; import decomment from "decomment"; //...
/** * Copyright (c) 2015-present, Facebook, Inc. All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @emails onca...
const config = { apiKey: "AIzaSyC6hqAEvbEB_CaPTXlFNjmNngM0z5VW8PQ", authDomain: "capacity-tracker-80518.firebaseapp.com", databaseURL: "https://capacity-tracker-80518-default-rtdb.firebaseio.com", projectId: "capacity-tracker-80518", storageBucket: "capacity-tracker-80518.appspot.com", messagingSenderId: "...
module.exports = Other; function Other() { this.id = 'OTHER'; } Other.$inject = []; Other.prototype.get = function () { return this.id; };
"use strict"; /** * @name TKEventEmitter * @license MIT * @description * custom events emitter inspired by Events module of Nodejs * @author TanKingKhun */ class TKEventEmitter { constructor() { this.listenersCache = new Map(); this.oncedFnMap = new Map(); } get eventNames() { ...
var React = require('react'); var ENTER_KEY = 13; var FlickrControl = React.createClass({ hover: function(event) { this.refs.inputItem.getDOMNode().focus(); }, hoverOut: function(event) { this.refs.inputItem.getDOMNode().blur(); }, keyPress: function(event) { if (event.wh...
function renderMain() { const renderInput = () => ( <div> <input type="text" id="testInput"/> </div> ); return <div id="app"> {renderInput()} </div>; } const renderInput = () => ( <div> <input type="text" id="testInput"/> </div> ); function renderMain2() { return <div id="app"> {...
const path = require('path'); const include = path.resolve(__dirname, './src/scripts'); const exclude = /node_modules/; /** * @type {import('webpack').Configuration} */ module.exports = { entry: ['./src/scripts/choices'], module: { rules: [ { enforce: 'pre', loader: 'eslint-loader', ...
MathJax.Hub.Config({ tex2jax: { inlineMath: [['$','$'], ['\\(','\\)']], displayMath: [['$$','$$'], ["\\[","\\]"]] } });
import React from 'react' import { storiesOf } from '@storybook/react' import { CreatorAccount } from '../../components/creator/CreatorAccount' storiesOf('CreatorAccount') .add('With no key purchased', () => { const account = { address: '0x3ca206264762caf81a8f0a843bbb850987b41e16', } const network ...
//#include include/takeable.js var label = "Fake Nose Made of Plaster"; var version = "1354935762"; var name_single = "Fake Nose Made of Plaster"; var name_plural = "Fake Noses Made of Plaster"; var article = "a"; var description = "<i>This is a lost artifact, known only through ancient stories of long-deceased ancest...
export const monochromaticColors = ['#E8F2FF', '#D1EBFE', '#A4D3FE', '#76B7FC', '#549DF9', '#1D74F5', '#10529E']; export const polychromaticColors = ['#FFD031', '#2DE0A5', '#1D74F5'];
/** * Dex * Pokemon Showdown - http://pokemonshowdown.com/ * * Handles getting data about pokemon, items, etc. * * This file is used by basically every PS process. Sim processes use it * to get game data for simulation, team validators use it to get data * for validation, dexsearch uses it for dex data, and the...
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var prefix = 'fab'; var iconName = 'teamspeak'; var width = 512; var height = 512; var ligatures = []; var unicode = 'f4f9'; var svgPathData = 'M244.2 346.79c2.4-12.3-12-30-32.4-48.7-20.9-19.2-48.2-39.1-63.4-46.6-21.7-12-41.7-1.8-46.3 ...
'''9) write a function that returns a range of values between a and b''' def range_of_value(a,b): for value in range(a, b): print(value) x = range_of_value(2,20) print(x)
import styled from "styled-components"; import gitHubImg from "../../images/GitHub-logoW.png"; export const Home = () => { return ( <Content> <Sentence>Are you in GitHub? Yes, then show me your work!</Sentence> <GitHubImg src={gitHubImg} alt='GitHub Logo' /> </Content> )...
const winston = require("winston"); const config = require("../config"); const level2severity = { emerg: "EMERGENCY", alert: "ALERT", crit: "CRITICAL", error: "ERROR", warning: "WARNING", notice: "NOTICE", info: "INFO", debug: "DEBUG" }; const severity = winston.format(info => { return { ...info, se...
import React, { Component } from 'react'; import HeaderLabel from './HeaderLabel'; class Dropdown extends Component { render() { const { label, required, options } = this.props.item; return ( <div className="form-group"> <HeaderLabel label={label} required={required} /> <select className="form-con...
// This file was automatically generated. Do not modify. 'use strict'; Blockly.Msg["ADD_COMMENT"] = "نٱزٱرتو ناْ اْزاف بٱکؽت"; Blockly.Msg["CANNOT_DELETE_VARIABLE_PROCEDURE"] = "Can't delete the variable '%1' because it's part of the definition of the function '%2'"; // untranslated Blockly.Msg["CHANGE_VALUE_TITLE"...
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from totomodul import ustawienia, losujliczby, pobierztypy def main(args): # ustawienia gry ileliczb, maksliczba, ilerazy = ustawienia() # losujemy liczby liczby = losujliczby(ileliczb, maksliczba) # pobieramy typy użytkownika i sprawdzamy, ile lic...
/** * jscolor - JavaScript Color Picker * * @link http://jscolor.com * @license For open source use: GPLv3 * For commercial use: JSColor Commercial License * @author Jan Odvarko * @version 2.0.5 * * See usage examples at http://jscolor.com/examples/ */ "use strict"; if (!windo...
import ActionTypes from '../constants/ActionTypes'; import { processResponse, credentials, jsonHeaders } from '../core/ApiClient'; export function invalidateDecisions() { return { type: ActionTypes.INVALIDATE_DECISIONS }; } export function requestDecisions() { return { type: ActionTypes.REQUEST_DECISIONS };...
/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * @fileoverview Javascript functions used in server replication page * @name Server Replication * * @requires jQuery * @requires jQueryUI * @requires js/functions.js */ var randomServerId = Math.floor(Math.random() * 10000000); var confPrefix ...
/** * 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...
var tierssclicked = false; var tiersclicked = false; var tieraclicked = false; var tierbclicked = false; var tiercclicked = false; var tierdclicked = false; var skillboardclearclicked = false; var skillsizeupclicked = false; var skillpuctypechangeclicked = false; var skilluniqueclicked = false; var characterhitagicli...
#!/usr/bin/env python """A module with definition of factory.""" from __future__ import absolute_import from __future__ import division from __future__ import unicode_literals from future.utils import iterkeys from typing import Callable from typing import Generic from typing import Iterator from typing import Text f...
class ItemGroup { constructor(components, id = null) { this.results = []; this.components = []; [this.options] = components; [this.items, this.count] = this.options.reduce( ([pItems, pCount], [item, count]) => [[...pItems, item], [...pCount, count]], [[], []], ); this.id = id || `_compon...
import React, {Component} from 'react' import {Popover, Position, Menu, MenuItem, Intent} from '@blueprintjs/core' import {whoami, deleteRocks} from './actions' class MoreRock extends Component { constructor(props) { super(props) this.state = { me: [], } whoami() .then(json => this.setState...
oS.Init({PName:[oPeashooter,oSunFlower,oCherryBomb,oWallNut,oPotatoMine,oSnowPea,oChomper,oRepeater,oPuffShroom,oSunShroom,oFumeShroom,oGraveBuster,oHypnoShroom],ZName:[oZombie,oZombie2,oZombie3,oConeheadZombie,oFootballZombie],PicArr:function(){var a=oScaredyShroom.prototype,b=a.PicArr;return["images/interface/backgro...