text
stringlengths
3
1.05M
import { errorSerializer, pickService } from './helpers' import { create as createIntent } from './' const intentClass = 'coz-intent' function hideIntentIframe(iframe) { iframe.style.display = 'none' } function showIntentFrame(iframe) { iframe.style.display = 'block' } function buildIntentIframe(intent, element...
# THIS FILE WAS AUTOMATICALLY GENERATED BY deprecated_modules.py import sys # mypy error: Module X has no attribute y (typically for C extensions) from . import _sparse_pca # type: ignore from ..externals._pep562 import Pep562 from ..utils.deprecation import _raise_dep_warning_if_not_pytest deprecated_path = 'sklear...
(function () { let $ = window.Bliss let Mavo = window.Mavo Mavo.Backend.register($.Class({ extends: Mavo.Backend, id: 'Offline', constructor: function (url, o) { let backendUrl = url.split('offline?')[1] let Backend = Mavo.Backend.types.filter(Backend => Backend.test(backendUrl))[0] || Ma...
const bcrypt = require('bcrypt'); const moment = require('moment'); const JWT = require('jsonwebtoken'); const Route = require('../../structures/Route'); class loginPOST extends Route { constructor() { super('/auth/login', 'post', { bypassAuth: true }); } async run(req, res, db) { if (!req.body) return res.sta...
import * as swcHelpers from "@swc/helpers"; var _iterator = Symbol.iterator, SymbolIterator = function() { "use strict"; function SymbolIterator() { swcHelpers.classCallCheck(this, SymbolIterator); } return swcHelpers.createClass(SymbolIterator, [ { key: "next", v...
const commander = require('commander') const packageJSON = require('../package') commander .version(packageJSON.version) .parse(process.argv)
var baz;
/* -*- mode: java -*- */ var cvs = "$Id: locationObjectTest.js 4838 2006-01-18 05:59:01Z hallvord $"; testmodule( "JS location object test", cvs ); testcase( "properties exist" ); var l = document.location; try { testProperty( "hash", l.hash ); testProperty( "host", l.host ); testProperty( "hostname", l....
// Copyright (c) 2017, Matt Godbolt & Rubén Rincón // 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 source code must retain the above copyright notice, // t...
import uuid from fastapi import Depends, Request, APIRouter from typing import Optional from fastapi_users import BaseUserManager, FastAPIUsers, UUIDIDMixin from fastapi_users.authentication.strategy.db import AccessTokenDatabase, DatabaseStrategy from fastapi_users.authentication import AuthenticationBackend, BearerTr...
import React from 'react'; import PropTypes from 'prop-types'; import Item from './Item'; import Wrapper from './Wrapper'; import LoadingIndicator from 'components/LoadingIndicator'; import { Link } from 'react-router-dom'; import { Parser } from 'html-to-react'; import ellipsize from 'ellipsize'; function PageItemCa...
//>>built define( "dojo/cldr/nls/en/islamic", //begin v1.x content { "dateFormatItem-yM": "M/y", "dateFormatItem-yyyyMMMEd": "EEE, MMM d, y G", "dateFormatItem-yQ": "Q y", "eraNames": [ "AH" ], "dateFormatItem-MMMEd": "E, MMM d", "dateFormatItem-hms": "h:mm:ss a", "dateFormatItem-yQQQ": "QQQ y", "dateFormatI...
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isMoment=n()}(this,(function(){"use strict";return function(e,n,t){t.isMoment=function(e){return t.isDayjs(e)}}}));
# coding: utf-8 # # Copyright 2019 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "lice...
define(['angular', 'require'], function (angular, require) { 'use strict'; siteDetailsController.$inject = ['$scope','maDataPointTags','maPoint','$state','$stateParams','maUiDateBar']; function siteDetailsController($scope,maDataPointTags,maPoint,$state,$stateParams,maUiDateBar) { this.$onInit =...
/* * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). * This devtool is neither made for production nor for readable output files. * It uses "eval()" calls to create a separate source file in the browser devtools. * If you are trying to read the output file, select a different ...
import types from './types'; const updateUtilities = utilities => ({ type: types.UPDATE_UTILITIES, utilities }); const updateTitleGame = (newTitle, newGame) => ({ type: types.UPDATE_TITLEGAME, newTitle, newGame }); const updateDisabled = isDisabled => ({ type: types.UPDATE_DISABLED, isDisabled }); exp...
/*********************************************************** * File Name : Lecture_RPG.js * Author : Rojiku * Description : * RPG 개발 강좌에 사용될 RPG 챗봇 소스코드. ***********************************************************/ /** * 매개변수를 기준으로 앞에서부터 두 원소로 쪼갠 결과값을 내보내는 함수 * @param chr 구분할 문자열 */ String.prototy...
import React from 'react' import { Switch, Route } from 'react-router-dom' import { injectGlobal, ThemeProvider } from 'styled-components' import { HomePage, SamplePage, NotFoundPage, LoginPage } from 'components' // https://github.com/diegohaz/arc/wiki/Styling import theme from './themes/default' injectGlobal` bo...
// This file was generated by purescript-docs-search window.DocsSearchTypeIndex["87504137"] = [{"values":[{"sourceSpan":{"start":[61,1],"name":".spago/prelude/v4.1.1/src/Data/Function.purs","end":[61,47]},"score":84,"packageInfo":{"values":["prelude"],"tag":"Package"},"name":"applyFlipped","moduleName":"Data.Function",...
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
ace.define("ace/mode/liquid",["require","exports","module","ace/lib/oop","ace/mode/text","ace/tokenizer","ace/mode/liquid_highlight_rules","ace/mode/matching_brace_outdent","ace/range"],function(e,t,n){var r=e("../lib/oop"),i=e("./text").Mode,s=e("../tokenizer").Tokenizer,o=e("./liquid_highlight_rules").LiquidHighlight...
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
var app = require('express')(), wizard = require('hmpo-form-wizard'), steps = require('./steps'), fields = require('./fields'); app.use(require('hmpo-template-mixins')(fields, { sharedTranslationKey: 'prototype' })); app.use(wizard(steps, fields, { templatePath: 'priority_service_170330/photoguide-myself'...
!function(t){"object"==typeof module&&module.exports?module.exports=t():window.intlTelInput=t()}(function(t){"use strict";return function(){for(var e=[["Afghanistan (‫افغانستان‬‎)","af","93"],["Albania (Shqipëri)","al","355"],["Algeria (‫الجزائر‬‎)","dz","213"],["American Samoa","as","1",5,["684"]],["Andorra","ad","376...
import fs from 'fs'; import zlib from 'zlib'; class lab03 { syncFileRead(filename) { let fileContents = fs.readFileSync(filename, { encoding: 'utf-8'}); return fileContents; } asyncFileRead(filename, callback) { fs.readFile(filename, function(err, data ){ if (err){ return co...
const ERC20Mintable = artifacts.require('ERC20Mintable') const JuriStakingPool = artifacts.require('JuriStakingPool') const BN = require('bn.js') const toEther = number => number.pow(new BN(18)) module.exports = deployer => { deployer.then(async () => { const token = await deployer.deploy(ERC20Mintable) aw...
const webpack = require('webpack'); const writeFilePlugin = require('write-file-webpack-plugin'); const webpackMerge = require('webpack-merge'); const BrowserSyncPlugin = require('browser-sync-webpack-plugin'); const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin'); const FriendlyErrorsWebpackPlug...
import numpy as np import cv2 import imageio imageio.plugins.ffmpeg.download() import imutils import matplotlib.image as mpimg from imutils.object_detection import non_max_suppression from moviepy.editor import * def pedestrian_detection_image(image): hog = cv2.HOGDescriptor() hog.setSVMDetector(cv2.HOGDescr...
const announce = []; export default announce;
# -*- coding: utf-8 -*- from utilities.basher import BashCommands from utilities.basher import file_os_owner_raw from utilities.basher import file_os_owner from utilities.basher import path_is_readable from utilities.basher import path_is_writable from utilities.basher import current_os_uid from utilities.basher impor...
import { h } from 'fritz'; import htm from 'htm'; export default htm.bind(h);
const BANGLE_CODE = ` Bangle.setCompassPower(1); Bangle.on('accel', function (a) { const d = [ "A", Math.round(a.x * 100), Math.round(a.y * 100), Math.round(a.z * 100), Math.round(a.diff * 100), Math.round(a.mag * 100) ]; Bluetooth.println(d.join(",")); }) Bangle...
var os = require('os'); var path = require('path'); var url = require('url'); var btcUri = process.env.BTCEXP_BITCOIND_URI ? url.parse(process.env.BTCEXP_BITCOIND_URI, true) : { query: { } }; var btcAuth = btcUri.auth ? btcUri.auth.split(':') : []; module.exports = { rpc: { host: btcUri.hostname || process.env.BTC...
// //function to generate html function generateTeam(team) { //funciton that generates Manager function generateManager(manager) { return ` <div class="card text-white bg-dark mb-3" style="max-width: 18rem;"> <div class="card-header">${manager.getName()}</div> <div class="card-body"> ...
var extent=new max.Extent({xmin:8338988.713709, ymin:-6557548.55548714, xmax:14209352.486010524, ymax:-1665578.7452358697}), map=new max.Map("canvas",extent); var layer=new max.Layer.AMapLayer("http://webrd01.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=8"); map.addLayer(layer)...
import json from typing import Dict, List, Optional, Union from urllib.parse import urlparse from urllib.request import urlopen from arche.tools import s3 from arche.tools.schema import EXTENDED_KEYWORDS import perfect_jsonschema SchemaObject = Dict[str, Union[str, bool, int, float, None, List]] Schema = Dict[str, Sc...
from __future__ import absolute_import, unicode_literals from .celery import app as celery_app __all__ = ['celery_app']
import React, { Component } from 'react'; import { Modal } from 'semantic-ui-react'; import styled from 'styled-components'; import PropTypes from 'prop-types'; import { Button } from '../../StyleComponent'; import { ListDetail } from '../ExtendClaim/styled'; import { companyClaim } from '../../../api/profile-company';...
/*! * Generated using the Bootstrap Customizer (https://getbootstrap.com/docs/3.4/customize/) */ /*! * Bootstrap v3.4.1 (https://getbootstrap.com/) * Copyright 2011-2020 Twitter, Inc. * Licensed under the MIT license */ if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+fun...
initSidebarItems({"enum":[["DispatchClass","A generalized group of dispatch types."],["Pays","Explicit enum to denote if a transaction pays fee or not."]],"fn":[["extract_actual_weight","Extract the actual weight from a dispatch result if any or fall back to the default weight."]],"mod":[["constants","These constants a...
# coding: utf-8 """ InsightVM API # Overview This guide documents the InsightVM Application Programming Interface (API) Version 3. This API supports the Representation State Transfer (REST) design pattern. Unless noted otherwise this API accepts and produces the `application/json` media type. This API uses ...
const Engine = Matter.Engine; const World = Matter.World; const Bodies = Matter.Bodies; const Constraint = Matter.Constraint; var engine, world; var canvas; var palyer, playerBase, playerArcher; var baseimage; function preload() { backgroundImg = loadImage("background.png"); baseimage = loadImage("base.png"); p...
#!/usr/bin/env python3 import os from cereal import car, log from common.numpy_fast import clip from common.realtime import sec_since_boot, config_realtime_process, Priority, Ratekeeper, DT_CTRL from common.profiler import Profiler from common.params import Params, put_nonblocking import cereal.messaging as messaging f...
import { observer } from "mobx-react-lite"; import { useCallback, useEffect, useRef, useState } from "react"; import { IconPlusCircle, LsSparks } from "../../assets/icons"; import { Space } from "../../common/Space/Space"; import { Userpic } from "../../common/Userpic/Userpic"; import { Block, Elem } from "../../utils/...
const Monsters = artifacts.require("./Monsters.sol"); contract("Monsters", (accounts) => { let contract; before(async() => { contract = await Monsters.deployed() }) describe('Monsters Contract', async () => { it("deploys contract", async () => { let address = contract.addr...
import t from "@firebase/app"; import { Logger as e, LogLevel as s } from "@firebase/logger"; import { getUA as i, isMobileCordova as n, isReactNative as r, isElectron as h, isIE as o, isUWP as a, isBrowserExtension as u } from "@firebase/util"; import { Component as c } from "@firebase/component"; import { XhrIo a...
import sectionColours from "./colours/section"; import functionalColours from "./colours/functional"; import FadeIn from "./animations"; import timesLineHeightsFactory from "./line-heights"; import timesFonts from "./fonts/fonts"; import timesFontSizes from "./fonts/font-sizes"; import timesFontFactory from "./fonts/...
import ConfigProvider from './ConfigProvider' import Context from './Context' import MathJaxNode from './MathJaxNode' import Provider from './Provider' import useMathJax from './useMathJax' export default { ConfigProvider, Context, MathJaxNode, Provider, useMathJax, }
import { loadOptions as loadOptionsOrig } from "../lib"; import path from "path"; function loadOptions(opts) { return loadOptionsOrig({ cwd: __dirname, ...opts, }); } describe("option-manager", () => { it("throws for babel 5 plugin", () => { return expect(() => { loadOptions({ plugins:...
var loadApiCnt = 0; var runningScriptName = ""; var isDebug = false; var skillUsedInLoop = undefined; var lastTimeUseItem = -1; function startScript(loopTime, script, scriptName) { console.log("開始執行指令,版本" + version); if (isDebug) { console.log(script); } initScreenSize(); isScriptRunning = true; run...
// import React, { Component } from 'React' // import Talk from 'talkjs' // class InboxApp extends React.Component { // constructor(props) { // super(props) // this.talkjsContainer = React.createRef(); // } // componentDidMount() { // Talk.ready.then(() => { // var me = new Talk.User({ // ...
/* @flow */ import _ from 'lodash/fp'; import { GET_SUPPORT_GROUPS_INVALID, GET_SUPPORT_GROUPS_REQUESTING, GET_SUPPORT_GROUPS_SUCCESS, GET_SUPPORT_GROUPS_FAILURE } from '../../constants/supportConstants/getSupportGroupsConstants'; import type { Action } from '../../types'; const initialState = { readyStatu...
# Copyright 2016 Aylien, 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 law or...
import {spec} from '../../../modules/rhythmoneBidAdapter.js'; import * as utils from '../../../src/utils.js'; import * as sinon from 'sinon'; var r1adapter = spec; describe('rhythmone adapter tests', function () { beforeEach(function() { this.defaultBidderRequest = { 'refererInfo': { 'referer': 'R...
// Copyright 2014 The Oppia 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...
'use strict'; module.exports = ({ cmd, stdout, stderr }) => { return `\`\`\` $ ${cmd} ${stdout || stderr} \`\`\``; };
/* Test adapted from Alex Vincent's XHR2 timeout tests, written for Mozilla. https://hg.mozilla.org/mozilla-central/file/tip/content/base/test/ Released into the public domain or under BSD, according to https://bugzilla.mozilla.org/show_bug.cgi?id=525816#c86 */ /* Notes: - All times are expressed in millis...
import React from "react"; import { Container, Row, Col } from "react-bootstrap"; import AutomatedEmailing from "../../../assets/AutomatedEmailing.svg"; import TaskWorkflow from "../../../assets/TaskWorkflow.svg"; import StatusDashboard from "../../../assets/StatusDashboard.svg"; import "./Showcase.scss"; const Showc...
parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot...
/** * dojox - A version of dojox.js framework that ported to running on skylarkjs. * @author Hudaokeji, Inc. * @version v0.9.0 * @link https://github.com/skylark-integration/dojox/ * @license MIT */ define(["dojo/_base/kernel","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","./AreaManager"],function(e,...
# -*- coding: utf-8 -*- #/* # * Copyright (c) 2022 Renwei # * # * This is a free software; you can redistribute it and/or modify # * it under the terms of the MIT license. See LICENSE for details. # */ import re import os import traceback from autocode_cfg import * def _is_disable_file_or_dir(file_or_dir): for di...
// set up var // first click Generate btn, then prompt series of questions: // first question: how many char 8><128 // next question: do u want lowercase // next ?: do u want uppercase: // nxt ?: numeric // nxt ?: special char var charlengthR; // here is where the selected length will go var charlength; // Here is ...
const assert = require('assert') /** * The cache filename has several significant parse which are referred * to during cache load, prior to scraping. */ function parse (filename) { const re = /^(\d{4}-\d{2}-\d{2}t\d{2}_\d{2}_\d{2}\.\d{3}z)-([a-z]+)(-\d+)?-([a-h0-9]{5})\.([a-z]+)(\..*)?$/ if (!re.test(filename)...
'use strict'; const config = require('../config'); const wait = ms => new Promise(r => setTimeout(r, ms)); function retry(operation, time = config.getTestTimeout() / 2, until = Date.now() + time) { return new Promise((resolve, reject) => operation() .then(resolve) .catch(reason => { if (Dat...
import React, { useEffect, useState } from "react"; import axios from "axios"; import Loader from "react-loader-spinner"; const Candidate = ({ id }) => { const [candidate, setCandidate] = useState(); const [isLoading, setIsLoading] = useState(false) useEffect(() => { const fetchData = async () => { ...
// @flow import React, { PureComponent } from 'react'; import SingleLineTextInput from '@atlaskit/input'; import InlineEdit from '../src'; type State = { onEventResult: string, editValue: string | number, }; export default class BasicExample extends PureComponent<void, State> { state = { editValue: '', ...
""" WSGI config for praxis project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.9/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTIN...
exports.up = async (knex) => { await knex.raw(/*sql*/ ` drop view article_activity_view cascade; create view article_activity_view as select *, base_score+boost_score_1+boost_score_2 as score from (select article.id, article.title,article.created_at, least((0.5*coalesce(comment_12_hrs, 0)+2*...
'use strict'; var _ = require('lodash'); /* * Autocomplete service extends Ace's completion mechanism to provide more * relevant completion candidates based on Swagger document. */ SwaggerEditor.service('Autocomplete', function($rootScope, snippets, KeywordMap, Preferences, ASTManager, YAML) { // Ace KeywordCom...
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /** * @fileoverview * 'settings-camera' is the Polymer control used to take a picture from the * user webcam to use as a ChromeOS profile picture. */ ...
# File: mfeepo_consts.py # # Copyright (c) 2016-2022 Splunk 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 appl...
import React, {Component} from 'react'; class Graph extends Component{ constructor(props){ super(props) } render() { return( <div className='main' style={{height: 185}}> <h2 style={{color: 'white', textAlign:'center'}}> Graph</h2> </div> ...
# 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 use ...
#!/usr/bin/env python ############################################################################### # Git-based CTF ############################################################################### # # Author: SeongIl Wi <seongil.wi@kaist.ac.kr> # Jaeseung Choi <jschoi17@kaist.ac.kr> # Sang Kil Cha <san...
import { InteractionManager } from 'react-native'; import semver from 'semver'; import reduxStore from '../createStore'; import database from '../realm'; import log from '../../utils/log'; const getUpdatedSince = () => { const emoji = database.objects('customEmojis').sorted('_updatedAt', true)[0]; return emoji && e...
import { Frame } from "../../layout/Frame"; import { Panel } from "../../layout/Panel"; const window = window || global || {}; window.dotNetifyElements = { ...window.dotNetifyElements, Frame, Panel }; export default Panel; export { Frame, Panel };
""" Ideally I am used to create different test files (at least one for each model or view), but as my intention here is to be practical and direct, I am doing just a few tests in the same file. """ import datetime from django.test import TestCase, Client from django.urls import reverse from .models import Project from...
/** * Created with JetBrains PhpStorm. * User: xuheng * Date: 12-8-8 * Time: 下午2:09 * To change this template use File | Settings | File Templates. */ (function () { var me = editor, preview = $G('preview'), preitem = $G('preitem'), tmps = templates, currentTmp var initPre = function () { ...
import React from 'react'; import classnames from 'classnames'; import styles from './styles.scss'; import Multiply from './Multiply'; import Round from './Round'; import Annotate from './Annotate'; class Transform extends React.Component { updateTransform = (updates) => { const { columnKey, transform, updateTr...
$(function(){ $('body').on('tap','a',function(){ location.href = $(this).attr('href'); }); })
import React from 'react'; import { Form, Field } from '@8base/forms'; import { Dialog, Grid, Button, InputField, ModalContext } from '@8base/boost'; import { DateTime } from 'luxon'; import { Query, graphql } from 'react-apollo'; import * as sharedGraphQL from 'shared/graphql'; import { FileInputField } from 'shared/...
import { desiredPropMap } from './design-properties' export const getStyle = (el, name) => { if (document.defaultView && document.defaultView.getComputedStyle) { name = name.replace(/([A-Z])/g, '-$1') name = name.toLowerCase() let s = document.defaultView.getComputedStyle(el, '') return s && s.getPro...
/* * @Author: Philipp * @Date: 2016-10-05 16:35:36 * @Last Modified by: Philipp * @Last Modified time: 2016-10-06 12:39:36 */ import {FlowRouter} from 'meteor/kadira:flow-router'; import {BlazeLayout} from 'meteor/kadira:blaze-layout'; import '/imports/ui/pages/main/main.js'; import '/imports/ui/layouts/basic/bas...
/** * 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. */ import React from 'react'; import DebugLayout from '../DebugLayout'; import DebugJsonView from '../DebugJsonView'; const PluginI...
const actions = require("fs") .readFileSync(require("path").join(__dirname, "input.txt"), "utf8") .split("\r\n") .map(line => { return { action: line[0], value: Number(line.slice(1, line.length)) };}); function getNewPosition(direction, waypointPosition, value) { switc...
'use strict'; const path = require('path'); const fs = require('fs'); const url = require('url'); // Make sure any symlinks in the project folder are resolved: // https://github.com/facebookincubator/create-react-app/issues/637 const appDirectory = fs.realpathSync(process.cwd()); const resolveApp = relativePath => pa...
var NAVTREEINDEX8 = { "class_wdf_inductor.html#a4fa1597ec29347486c86e0bc6b5b783a":[1,12,2,18], "class_wdf_inductor.html#a62fd3865748b5bc3d3a327f9f18b1121":[1,12,2,0], "class_wdf_inductor.html#a6a028a13c793f2dfdec9e578eb03c234":[1,12,2,5], "class_wdf_inductor.html#a8cdc956d6f77f44692108250a9385671":[1,12,2,2], "class_wd...
'use strict'; import { inputs, handleUpdate } from '../handlers/handleUpdate.js'; inputs.forEach(input => input.addEventListener('mousemove', handleUpdate));
/* This file is part of Ext JS 4.2 Copyright (c) 2011-2013 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 th...
/* * see https://medium.com/webpack/predictable-long-term-caching-with-webpack-d3eee1d3fa31 */ "use strict"; class IdentifierNormalModulesPlugin { apply(compiler) { compiler.plugin("compilation", (compilation) => { compilation.plugin("before-module-ids", (modules) => { modules.forEac...
import React from 'react'; import CreateSvgIcon from '../CreateSvgIcon' export default CreateSvgIcon({ path: <React.Fragment><path d="M0 0h24v24H0z" fill="none"/><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM4 12c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L5.69 16.9C4.63 15.55 4 13.85 4...
/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */ (function(r,G,f,v){var J=f("html"),n=f(r),p=f(G),b=f.fancybox=function(){b.open.apply(this,arguments)},I=navigator.userAgent.match(/msie/i),B=null,s=G.createTouch!==v,t=function(a){return a&&a.hasOwnProperty&&a instanceof f},q=function(a){return a&&...
import React, {createContext}from 'react' import initialMovies from '../Components/consts/initialMovies'; const MoviesContext = createContext (); const MoviesProvider = ({ children }) => { const data = { movies: initialMovies } return ( <MoviesContext.Provider value={data}> {children} </MoviesContext.Provider> ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = require("@angular/core"); var router_1 = require("@angular/router"); var http_1 =require("@angular/http"); var resource_service_1 = require("./resource.service"); var resource_config_1 = require("./resource.config"); var serviceDa...
const app = WebServer.app; app.get('/User/Home.html', (req, res) => { if (managers.AuthCheck(req) === true) { Sender.Advanced(req,res,'User/Home.html', { 'adminPage': config.UsersData.Users[req.session.user].AccessType === 'admin' ? '<main class="el"><a href="/admin.html">Админ панель</a></m...
/* eslint-env jest */ const db = require('../../test/database'); const UserModel = require('./user.model'); beforeAll(async () => db.connect()); afterEach(async () => db.clearDatabase()); afterAll(async () => db.closeDatabase()); const userData = { lastname: 'Ikounga', firstname: 'Marvell', phone: '+24206...
#!/usr/bin/env python3 """Module setup utils""" from setuptools import setup, find_packages from __version__ import __version__ as verstr setup( name="pythonlua", version=verstr, url="https://github.com/Blimba/PyWC3", author="Bart Limburg", author_email="bartlimburg@gmail.com", licence="Apache",...
//#import util.js // For rawjstrace function in Flash. window.jstrace = function(){ var arr = toArray(arguments); log.debug.apply(log, arr); }; /** * JS Bridge class that connect FL Bridge class so they both can * exchange data by invocation of functions. * * This class is a foundation of many Flash interpolate...
import React, { Component } from 'react'; import { Link } from 'react-router-dom'; import { connect } from 'react-redux'; import { IconButton } from '@material-ui/core'; import HighlightOffIcon from '@material-ui/icons/HighlightOff'; import Moment from 'react-moment'; import styles from './Notification.module.css'; im...