text
stringlengths
3.22k
29.5k
require('shelljs/make'); var fs = require('fs'); var path = require('path'); var tl = require('azure-pipelines-task-lib/task'); var os = require('os'); var xml2js = require('xml2js'); // util functions var util = require('./make-util'); var cd = util.cd; var cp = util.cp; var mkdir = util.mkdir; var rm = util.rm; var ...
import Blockly from 'blockly'; import Phaser from 'phaser'; import BlocklyRunner from '../Blockly/BlocklyRunner.js'; import SimpleButton from '../Objects/Objects.js'; const enumExecModePre = 1; const enumExecModeRun = 2; const enumExecModePause = 3; const enumExecModeDone = 4; const enumExecModeClear = 5; class Sc...
"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { t...
/* 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) any later version. This program is distributed in the hope that it will be useful, ...
import React from 'react' import { Link } from 'react-router-dom' import styled from '@emotion/styled/macro' import { motion } from 'framer-motion' import { useTranslation } from 'react-i18next' import warning from '../assets/whiteWarning.svg' import mq from 'mediaQuery' import SearchDefault from '../components/Searc...
import Base from '../base' import tpl from './index.html' import style from './index.less' const template = document.createElement('template') template.innerHTML = `<style>${style}</style>${tpl}` const MODE_LIST = ['scaleToFill', 'aspectFit', 'aspectFill', 'top', 'bottom', 'center', 'left', 'right', 'top left', 'top ...
// Функция ymaps.ready() будет вызвана, когда // загрузятся все компоненты API, а также когда будет готово DOM-дерево. let myMap; ymaps.ready(init); function init(){ // Создание карты. myMap = new ymaps.Map("map", { // Координаты центра карты. // Порядок по умолчанию: «широта, долгота». ...
/** * +/- function to native math sign */ function signPoly(value) { if (value < 0) return -1 return value > 0 ? 1 : 0 } export const sign = Math.sign || signPoly /** * Checks if the flag is set * @param val * @param flag * @returns {boolean} */ function hasFlag(val, flag) { return (val & flag) === ...
/** * @module ngeo.misc.swipe */ /** * @type {!angular.Module} */ const exports = angular.module('ngeoMiscSwipe', []); /** * =========================================== * NOTE: It is an inversed copy of ngSwipe. * Angular ngSwipe assumes that vertical * swipe is a scroll. * For more details: * https://docs....
function initBleveTypeMappingController($scope, typeMappingIn, options) { options = options || {}; var defaultFieldType = options["defaultFieldType"] || "text"; var defaultFieldAnalyzer = options["defaultFieldAnalyzer"] || ""; var defaultFieldStore = true; if (options["defaultFieldStore"] != undefi...
// Copyright (c) Microsoft. All rights reserved. import React from "react"; import { Link } from "react-router-dom"; import { from } from "rxjs"; import { IoTHubManagerService } from "services"; import { toSubmitMethodJobRequestModel, toDiagnosticsModel, } from "services/models"; import { LinkedComponent } fr...
// Copyright (c) 2015 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _classnames = _interopRequireDefault(require("classnames")); var _preactCompat = require("preact-compat"); var _utils = require("../../lib/utils"); var _suit = require("../../lib/suit"); var _connectGeoSea...
// Copyright (c) Microsoft. All rights reserved. import React from "react"; import { Trans } from "react-i18next"; import { Link } from "react-router-dom"; import { Balloon, BalloonPosition, BalloonAlignment, } from "@microsoft/azure-iot-ux-fluent-controls/lib/components/Balloon/Balloon"; import Config fr...
import { each, deepMix, mix, directionEnabled, isArray, createEvent, isObject } from '../util/common'; import Global from '../global'; import Tooltip from '../component/tooltip'; import { isPointInPlot } from '../util/helper'; // Register the default configuration for Tooltip Global.tooltip = deepMix({ triggerOn: '...
var SSR_NODE = 1; var TEXT_NODE = 3; var EMPTY_OBJ = {}; var EMPTY_ARR = []; var SVG_NS = "http://www.w3.org/2000/svg"; var id = (a) => a; var map = EMPTY_ARR.map; var isArray = Array.isArray; var enqueue = typeof requestAnimationFrame !== "undefined" ? requestAnimationFrame : setTimeout; var crea...
var dgram = require('dgram'); var Buffer = require('buffer').Buffer; var nodeConsole = console; var DefaultHostname = require("os").hostname(); var DefaultAddress = "127.0.0.1"; var SingletonInstance = null; var socket var socketUsers = 0 var releaseTimeout // HACK: On Node v0.11.x and v0.12.x bind the socket to ensu...
/* eslint-disable no-param-reassign, no-continue */ const path = require('path'); const _ = require('lodash'); const set = require('lodash/fp/set'); // Creates the file object to add to the file list using the page and layout function createFileObj(page, layout) { // Exclude some types from sitemap. const privateT...
/*- * ‌ * Hedera Mirror Node * ​ * Copyright (C) 2019 - 2020 Hedera Hashgraph, 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-...
/**----------------------------------------------------------------------------------------- * Copyright © 2020 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *--------------------------------------------------------------...
// var config = require('../moon.json'); // begin AltSheets changes /////////////////////////////// // TODO: Put go into a config.js // But how to include a file from local? // put your IP address! var GETH_HOSTNAME = "localhost"; var APP_HOSTNAME = "See package.json --> scripts --> start: Change 'localhost'!!!"; va...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var ecma402_abstract_1 = require("@formatjs/ecma402-abstract"); function validateInstance(instance, method) { if (!(instance instanceof ListFormat)) { throw new TypeError("Method Intl.ListFormat.prot...
import { Component, createContext, createElement } from 'react'; import firebase from 'firebase/app'; import 'firebase/database'; let fb = firebase; let log = _ => {}; const { Provider, Consumer } = createContext(); const isTemplate = path => typeof path === 'string' && path.indexOf('$') !== -1; export default ...
autowatch = 1; include('m4x.mouseinfo'); var { m4x } = require('m4x'); var mg; var m4; var outputmatrix; var width; var height; var datapath; var centrex; var centrey; var offsetx; var offsety; var zoom; var on_click_x = 0; var on_click_y = 0; // used to make cursor blink var framecount = 0; var font; var text; ...
/*-------------------------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information. *------------------------------...
/** * Created by <NAME> on 3.7.2015. */ var DEFAULT_ADDRESS = "http://qa.ailao.eu:4568/"; //default address of endpoint var CONNECTION_ADDRESS; //address of endpoint var DIRECTLY_SHOWED_QUESTIONS = 3; // Number of questions above drop down menu var showFeedbackDefault = true; var qidQueue = []; // queue of posed ...
import React, { useState, useEffect, useRef } from "react"; import "./Participant.css"; import Box from "@mui/material/Box"; import { FaceMesh } from "@mediapipe/face_mesh"; import { ReactP5Wrapper } from "react-p5-wrapper"; // import Grid from "@mui/material/Grid"; // import { useAppContext } from "../../context/appCo...
'use strict'; const { Client } = require('pg'); const { isFirstUpper, toLowerCamel, toUpperCamel } = require('metautil'); const { Schema } = require('metaschema'); const { dbms } = require('./dbms.js'); const DB_RELATION = 1; const DB_FIELD = 2; const PG_TYPES = { string: 'varchar', number: 'integer', boolea...
var __spreadArrays = (this && this.__spreadArrays) || function () { for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; for (var r = Array(s), k = 0, i = 0; i < il; i++) for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) r[k] = a[j]; retur...
function rotator(packet) { return { i: 0, arr: packet, get(index) { return packet[index]; }, set(index, value) { return (packet[index] = value); }, nex() { if (this.i === this.arr.length) { console.error(new Error('End reached'), this.arr) return -1; ...
import AbstractController from "/src/abstractController"; import consts from "/src/consts"; /* don't need this ugly stuff anymore since we have listAttackable[].gpsFrom now // remember to check 1~maxGrid when using this stuff let dAtk = []; dAtk[0] = []; dAtk[1] = [{x:0, y:+1}, {x:-1, y:0}, {x:+1, y:0}, {x:0, y:-1} ];...
"use strict"; 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 ...
$.ajaxSetup({ headers: { // 默认添加请求头 "X-Frappe-CSRF-Token": auth_token } }); var gate_sn = getParam('sn'); var device_sn = getParam('vsn'); var tag_name = getParam('tag_name'); var tag_type = getParam('vt'); if(tag_type==null){ tag_type = "float" } var pagename = "Gates_devices_hisdata"; var ...
'use strict'; const chalk = require('chalk'); const cliCursor = require('cli-cursor'); const cliSpinners = require('cli-spinners'); const logSymbols = require('log-symbols'); const stripAnsi = require('strip-ansi'); const wcwidth = require('wcwidth'); const isInteractive = require('is-interactive'); const TEXT = Symbo...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck'); var _classCallCheck3 = _interopRequireDefault(_classCallCheck2); var _createClass2 = require('babel-runtime/helpers/createClass'); var _createClass3 = _interopReq...
import { dirname, extname, normalize, resolve, sep } from 'path'; import builtins from 'builtin-modules'; import resolveId from 'resolve'; import isModule from 'is-module'; import fs from 'fs'; var ES6_BROWSER_EMPTY = resolve( __dirname, '../src/empty.js' ); // It is important that .mjs occur before .js so that Rollup...
/* # MDMagick * url: https://github.com/fguillen/MDMagick * author: http://fernandoguillen.info * demo page: http://fguillen.github.com/MDMagick/ ## Version v0.0.3 ## Documentation * README: https://github.com/fguillen/MDMagick/blob/master/README.md */ var MDM_VERSION = "0.0.3"; function MDM(...
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { updateProject, setDescription } from '../../actions/projectActions'; import axios from 'axios'; import { withRouter } from 'react-router-dom'; import Snackbar from '../Snackbar'; import Dialog...
"use strict"; function main() { // Get A WebGL context /** @type {HTMLCanvasElement} */ var canvas = document.getElementById("canvas"); var gl = canvas.getContext("webgl"); if (!gl) { return; } // setup GLSL program var program = webglUtils.createProgramFromScripts(gl, ["2d-ve...
function nextPage() { movePageRelative(1); calcPage(); } function prevPage() { movePageRelative(-1); calcPage(); } function firstPage() { movePageAbsolute(0); calcPage(); } function lastPage() { movePageAbsolute(-1); calcPage(); } function movePage(page) { movePageAbsolute(page); calcPage(); } function movePageRela...
// @ts-check import { assert, details as X } from '@agoric/assert'; import { insistKernelType, parseKernelSlot } from './parseKernelSlots.js'; import { insistMessage } from '../message.js'; import { insistCapData } from '../capdata.js'; import { insistDeviceID, insistVatID } from './id.js'; /** @type { KernelSyscallR...
/* * * Copyright (c) 2019-present for NEM * * 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 o...
import Particulars from '@/common/Report/Particulars'; import PageHeaderWrapper from '@/components/PageHeaderWrapper'; import { approveResult } from '@/services/valverserver'; import { BackTop, Button, Card, Input, message, Popover, Radio, Steps, Modal } from 'antd'; import { connect } from 'dva'; import { routerRedux ...
var table = [ 'H','Hydrogen','1.00794',1,1, 'He','Helium','4.002602',18,1, 'Li','Lithium','#6.941',1,2, 'Be','Beryllium','9.012182',2,2, 'B','Boron','#10.811',13,2, 'C','Carbon','#12.0107',14,2, 'N','Nitrogen','#14.0067',15,2, 'O','Oxygen','#15.9994',16,2, 'F','Fluorine','18.9984032',17,2, 'Ne','Neo...
import React, { useState, useEffect, useCallback } from 'react'; import styled from 'styled-components'; import { Link } from 'react-router-dom'; // import { ReCaptcha, loadReCaptcha } from 'react-recaptcha-v3'; import PlacesAutocomplete from '../PlacesAutocomplete'; import { useForm } from 'react-hook-form'; import { ...
// params // - avg items to make of each type const random = require('random'); const fs = require('fs-extra'); const merge = require('deepmerge'); const slugify = require('slugify'); const getItems = require('./getItems'); const path = require('path'); const RARITIES = ['Common', 'Uncommon', 'Rare', 'Very Rare', 'Leg...
import { registerBidder } from '../src/adapters/bidderFactory.js'; import { config } from '../src/config.js'; import * as utils from '../src/utils.js'; const BIDDER_CODE = 'sublime'; const BIDDER_GVLID = 114; const DEFAULT_BID_HOST = 'pbjs.sskzlabs.com'; const DEFAULT_CURRENCY = 'EUR'; const DEFAULT_PROTOCOL = 'https'...
import { __assign } from "tslib"; import { Plugin, PluginKey, TextSelection, } from 'prosemirror-state'; import { isMarkTypeAllowedInCurrentSelection } from '../../../utils'; import { dismissCommand } from '../commands/dismiss'; import { insertTypeAheadQuery } from '../commands/insert-query'; import { itemsListUpdated ...
"use strict"; var _get = function get(object, property, receiver) { var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { return get(parent, property, receiver);...
/* Copyright (c) 2013 Intel Corporation. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of works must retain the original copyright notice, this list of conditions and the following disclaimer.sandbox *...
"use strict"; //--------------------------------------------------------------- // simpleSheetsAPI class // - use web apps interface to read/write Google Sheet documents //--------------------------------------------------------------- /** * class to manipulate the web apps interface for * reading and writing ...
/** * A simple REDIS based key-value store used as the codebase. This can be made * to support larger-than-memory data using ARDB or SSDB, but am not expecting * that for source code. */ async function bootEndPoint(name, resid, query, headers, body) { return await boot(body); } I.boot = bootEndPoint; functio...
var mmccstyle = { content: "align-items: center, display: flex, flex-direction: column, flex-wrap: wrap; justify-content: space-between;", item: "align-items: center; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-between; margin: 5px 0px;", child: "display: flex; flex-shrink:...
/*jshint esversion:6*/ const moderation = `_ _ -===**__Moderation__**===- • **(prefix)ban** {mention: who to ban} -> Bans someone, deleting their last messages in 24h. \\↪ Permissions required: \\↪ Bot: _Ban Members_ \\↪ User: _Ban Members_\n ...
import webpack from 'webpack'; import packageJson from './package.json' import ExtractTextPlugin from 'extract-text-webpack-plugin'; import HtmlWebpackPlugin from 'html-webpack-plugin'; import UglifyJSPlugin from 'uglifyjs-webpack-plugin'; import autoprefixer from 'autoprefixer'; import customMedia from 'postcss-custom...
import React, { useState } from "react"; import "../css/style.css"; import Layout from "../components/layout"; import SEO from "../components/seo"; import Title from "../elements/Heading"; // Images import RoomView from "../images/exp/room.jpg"; import RoomOne from "../images/exp/room_2.jpg"; import RoomTwo from "../i...
var args = $.args; $.textfield.applyProperties( _.omit(args, "__parentSymbol", "__itemTemplate", "$model", "top") ); $.textfield.fireEvent( "reload", _.omit(args, "__parentSymbol", "__itemTemplate", "$model", "top") ); var picker = null; var currentChoice = null; if (args.textfield) { $.textfield.applyProperti...
import React, { useState, useEffect } from "react"; import { DatePicker } from "@material-ui/pickers"; import { useUtils } from "@material-ui/pickers"; import { fade } from "@material-ui/core/styles"; import withStyles from "@material-ui/core/styles/withStyles"; import clsx from "clsx"; function DateRangePicker({ cl...
/** * Copyright 2016 IBM Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
'use strict'; // Use path and TTY for type information only. We lazily pull them in // to avoid circular dependencies :( // (path depends on process for cwd(), TTY depends on streams which depends // on process.nextTick/process.stdout/stderr/stdin). var path_1 = require('./path'); var tty_1 = require('./tty'); var eve...
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. import React, {PureComponent} from 'react'; import PropTypes from 'prop-types'; import {injectIntl, intlShape} from 'react-intl'; import { InteractionManager, Platform, View, } from 'react-native...
// fetch-yahoo.js /* * Copyright (c) 2016-2018 <NAME>, Some Rights Reserved * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * thi...
/* TODO - Edit frequency/other text in spreadsheet */ // Global vars var pymChild = null; var isMobile = false; var stateSelector = null; var stateInfo = null; var stateValues = []; stateValues['age'] = []; stateValues['race'] = []; var TITLE = []; TITLE['age'] = 'By age group'; TITLE['race'] = 'By race and ethnici...
const Logger = require("./Logger.js")(); const IFC = require("./InspectorFrontController.js"); const fs = require("fs"); const Path = require("path"); const InMemoryDb = require("./InMemoryDb.js").InMemoryDb; //const UT = require("./Utils.js"); const TASK_CODE = { NO_RESULT: 0, SUCCESS: 1, DATA_UPDATE: 2 }...
// create redux reducers const reducers = (function createReducers(redux, keplerGl) { // mount keplergl reducer return redux.combineReducers({ keplerGl: keplerGl.keplerGlReducer.initialState({ uiState: { readOnly: false, currentModal: null } }) }); })(Redux, KeplerGl); // crea...
// Functions to interact with API function search(id, level) { return fetch(`https://bcbi.brown.edu/phylozoom-api/?id=${id}&level=${level}`, { accept: 'html/text', }).then(checkStatus) .then(parseText); } function checkStatus(response) { if (response.status >= 200 && response.status < 300) { return respo...
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.deriveSecret = exports.verify = exports.sign = exports.g...
import './Tool.js'; import Container from './Container.js'; import ObjectHelper from '../helper/ObjectHelper.js'; import EventHelper from '../helper/EventHelper.js'; import DomHelper from '../helper/DomHelper.js'; import Toolbar from './Toolbar.js'; /** * @module Core/widget/Panel */ const acceptNode = e => !e....
function Survey(name, deed, goodness, altruisms, acts, gifts, times) { this.userName = name; this.descript = deed; this.goodness = goodness; this.altruisms = altruisms; this.acts = acts; this.gifts = gifts; this.times = times; this.score; this.total; this.choices = []; } Survey.prototype.calc = fun...
var __extends = this.__extends || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } __.prototype = b.prototype; d.prototype = new __(); }; var BABYLON; (function (BABYLON) { var FreeCamera = (function (_super) { __exten...
var Q = require('q'); var Feature = require('../../feature').Feature; var CONFIG = require('../../config').CONFIG; var path = require('path'); var fs = require('fs'); var paths = require('../../routePaths'); var Remarkable = require('remarkable'); var hljs = require('highlight.js') var basePath = unDos(CONFIG.b...
// define requestAnimationFrame function const rAF = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame || function (callback) { window.setTimeout(callback, 1000 / 60); }; // define cancelAni...
import React, {Component} from 'react'; import PropTypes from 'prop-types'; import { Box, Button, Container, Divider, FormControl, FormGroup, FormHelperText, Input, InputLabel, MenuItem, Select, Table, TextField } from '@material-ui/core'; import SectionTitle from '.....
// TODO: don't serve this script from codecombat.com; serve it from a harmless extra domain we don't have yet. var lastSource = null; var lastOrigin = null; window.onerror = function(message, url, line, column, error){ console.log("User script error on line " + line + ", column " + column + ": ", error); if (lastS...
/* ----- ---- --- -- - * Copyright 2020 The Axiom Foundation. All Rights Reserved. * * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.apache.org/l...
/* * Linear-time suffix array implementation using the DC3/skew (Difference Cover * modulo 3) algorithm. * * For more information about DC3, see the following resources: * http://algo2.iti.kit.edu/documents/jacm05-revised.pdf * http://web.stanford.edu/class/archive/cs/cs166/cs166.1146/lectures/11/Small11.pdf * ...
var isMac = navigator.platform.toUpperCase().indexOf('MAC')>=0; var game = new Phaser.Game(800 , 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update }); var cardArray = [{term:"Stigmatization",definition:"Refers to the manner in which individuals or groups who do not conform (do not play by so...
var scrollbarWidth = getScrollbarWidth(); var svg; var parent; var grandparent; var $container; var items; var gridSizer; var gutterSizer; var gridPanel; var masonryBig = 5; var sortOn; var pollList = []; var pollIndex = 1; var maggio = new visualizeOpinerPoll(); function redrawAll() { parent.height(grandparent.heigh...
"use strict"; /* * Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: MIT-0 * * Permission is hereby granted, free of charge, to any person obtaining a copy of this * software and associated documentation files (the "Software"), to deal in the Software * without res...
const str_params = new URLSearchParams(window.location.search); // Получаем параметры url строки const newsId = str_params.get('newsId') render_comments(newsId); let estimate = document.getElementById('estimate'); //let GeneralNewsId = document.querySelector('.fullNewsIdForComments').textContent; //render_news(Gene...
'use strict'; var Widget = require( '../../js/Widget' ); var $ = require( 'jquery' ); var pluginName = 'analogscalepicker'; var support = require( '../../js/support' ); require( 'bootstrap-slider-basic' ); /** * Creates an analog scale picker * * @constructor * @param {Element} element Element to apply widget to....
require('ansicolor').nice; const {Command} = require('commander') const ccxt = require('ccxt') const asTable = require('as-table') const log = require('ololog').configure({ locate: false, time:{yes:true, format:'utc'} }) const program = new Command(); var symbol_excluded = require('./config/symbol_excluded'); console.l...
function submitEvento(){ var programas = $('#table_program_data').val(); var items = $('#table_items_data').val(); var invitados = $('#table_invitados_data').val(); var count_invitados = $('#count_invitados').val(); $('#btn_guardar').val(1); toastr.options = { "closeButton": false, "debug": false, ...
#!/usr/bin/env node var AdmZip = require('./scriptdependant/adm-zip'); var program = require('./scriptdependant/commander'); var fs = require('fs'); var path = require('path'); var child_process = require('child_process'); ADMIN_DEFAULT_CFG = { "debug": false, "admin": { "port": "8083", ...
import { Component } from 'react'; import PropTypes from 'prop-types'; import ReactRouterPropTypes from 'react-router-prop-types'; import { connect } from 'react-redux'; import queryString from 'qs'; import isEqual from 'lodash/isEqual'; import reduce from 'lodash/reduce'; import { TitleManager } from '@folio/stripes/...
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, des...
var pym = require("./lib/pym"); var ANALYTICS = require("./lib/analytics"); require("./lib/webfonts"); var { isMobile } = require("./lib/breakpoints"); var ALLSTATES = require("./states.js"); // Global vars var pymChild = null; var skipLabels = ["label", "values", "sum"]; var d3 = { ...require("d3-axis/dist/d3-axis...
import angular from 'angular'; import moment from 'moment'; // lodash imports import find from 'lodash/find'; import get from 'lodash/get'; import groupBy from 'lodash/groupBy'; import has from 'lodash/has'; import indexOf from 'lodash/indexOf'; import isEqual from 'lodash/isEqual'; import keyBy from 'lodash/keyBy'; i...
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnPrope...
var str1 = "Entidade"; var str2 = "Entidade"; var str3 = "a"; // Preenche os campos com os valores da entidade que está sendo editada function loadInputs(data) { var entity = JSON.parse(data.jsonList); $('#CId').val(entity.entityId); $('#CName').val(entity.name); $('#CEnabled').val(entity.enabled === 'ENABLED' ? 0...
/* 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 th...
import React, { Component } from 'react' import { Form, Select, Input, InputNumber, Switch, Radio, Slider, Button, Upload, Tooltip, Icon, Collapse, Layout, Row, Col, DatePicker } from 'antd'; const Panel = Collapse.Panel; import './orderform.css' import MyUpload from '../../components/upload/upload' import DataTa...
import React, { Component, PropTypes } from 'react'; import classnames from 'classnames'; import _ from 'lodash'; import api from '../../utils/api-interface'; import { lowerHourLimit, hourHeight, times, days, daysOrder, } from './constants'; import { convertTimeToMin } from '../../utils/convertTime'; import Cal...
const nunjucks = require('nunjucks'); const sift = require('sift').default; /** * @function deletePropertyPath * @description delete value from object with deep support * @param {object} obj * @param {string} path * @example * deletePropertyPath({user: {name: 'Dan', age: 33}}, 'user.age') */ const de...
"use strict"; /** * Types extracted from https://discord.com/developers/docs/topics/gateway */ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; }...
const plugin_version = '2019-1220-1800' const plugin_name = 'iast' const plugin_desc = 'IAST Fuzz plugin' /* * Copyright 2017-2019 Baidu 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 ...
import Excel from "exceljs" import knex from "../../knex/knex" import { ISO_DATE, now } from "../../utils/date" import { buildScope } from "../../utils/scope" import { findList as findListHospitals } from "../hospitals" import { addCellTitle, intervalDays, normalizeInputs } from "./common" const makeWhereClause = ({ ...
goog.module('os.ui.state.menu'); goog.module.declareLegacyNamespace(); const {removeAllIf} = goog.require('goog.array'); const Throttle = goog.require('goog.async.Throttle'); const googDispose = goog.require('goog.dispose'); const dispatcher = goog.require('os.Dispatcher'); const CommandProcessor = goog.require('os.co...
const Moment = require('moment-timezone'); const cheerio = require('cheerio'); const Park = require('../park'); const sApiBase = Symbol('Liseberg API Base URL'); const sExpressPassOverviewPage = Symbol('Liseberg Expresspass Overview Url'); const sExpressPassIds = Symbol('Liseberg Expresspass Ride Ids'); const...
// src: https://github.com/tjfontaine/node-buffercursor // but with the goal of being much lighter weight. class BufferCursor { constructor(buffer) { this.buffer = buffer this._start = 0 } eof() { return this._start >= this.buffer.length } tell() { return this._start ...