text
stringlengths
3.22k
29.5k
/* Build a chatbot using Alexa-style skills and intents. Copyright (c) 2017 <NAME> http://primaryobjects.com/kory-becker License MIT */ var alexa = require('alexa-app'); function ReqResHelper(namespace, sessionId) { this.namespace = namespace; this.sessionId = sessionId || 1; this.sessions...
"use strict"; var plugin = {}, azure = require("azure-storage"), mime = require("mime"), uniqid = require("uniqid"), fs = require("fs"), request = require("request"), path = require("path"), im = require('imagemagick-stream'), async = require.main.require('async'), winston = module.parent.require("winston"), ...
const BASE_ROOM_PATH = `https://chat.google.com/room` const quoteSvgIcon = ` <svg viewBox="0 0 24 24" width="24px" height="24px" xmlns="http://www.w3.org/2000/svg" style="margin-top: 4px"> <path d="M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 ...
// const notBubbleUp = require("extra").notBubbleUp; // console.log('1'); // function addQuestion(){ // var input = document.createElement("INPUT"); // input.setAttribute('class','popupquestion'); // input.setAttribute("placeholder", "Ex: What skills can you bring to this project?"); // document.querySelector(...
// Copyright (c) 2018 ml5 // // This software is released under the MIT License. // https://opensource.org/licenses/MIT /* A class that extract features from Mobilenet */ import * as tf from '@tensorflow/tfjs'; import Video from './../utils/Video'; import { IMAGENET_CLASSES } from './../utils/IMAGENET_CLASSES'; impor...
var pivot_dataset = [ { Amount: 100, Country: "Canada", Date: "FY 2005", Product: "Bike", Quantity: 2, State: "Alberta" }, { Amount: 200, Country: "Canada", Date: "FY 2006", Product: "Van", Quantity: 3, State: "British Columbia" }, { Amount: 300, Country: "Canada", Date: "FY 2007", Product: ...
'use strict'; const WebSocket = require('ws'); const { createSocket } = require('dgram'); const { Gateway, Voice } = require('../constants'); const { Writable } = require('./writable'); const { Readable } = require('./readable'); const SILENCE_FRAME = Buffer.from([0xF8, 0xFF, 0xFE]); const UDP_KEEP_ALIVE_INTERVAL = 5...
let body = document.querySelector("body"); let logoBox = document.querySelector(".largeAndAbove"); let innerLogo = document.querySelector(".inner-logo-lk"); let logoLink = document.querySelector(".logo-tik"); let w; let outerInput = document.querySelector(".outer-search"); let searchInput = document.querySelector(".tex...
"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...
import css from 'styled-jsx/css' export const FONT_FAMILY_SANS = '-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif' export const FONT_FAMILY_MONO = 'Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bit...
/** * Created by zhaolong on 2016/7/13. * File description:其他活动详细页 */ 'use strict' import React,{Component,PropTypes} from 'react' import Helmet from 'react-helmet'; import {Header,Login_Box,Float_Bottom,Payment_Box,FreeSignup_Box,Share,CourseOverview,Warning,PlayVideo} from 'components'; import {connect} from 'rea...
module.exports = applyServer; var fileHandler = require('fs'); var getFormsData = require("./sampleData/getForms.json"); var allForms = require("./sampleData/getForm.json"); var theme = require("./sampleData/getTheme.json"); var config = require("./sampleData/getConfig.json"); var submissionFile = require("./sampleDat...
var searchButton = $('.searchButton'); var searchInput = $('.searchInput'); var localStorageDiv = $('.localStorageDiv'); var savedCities = []; var weatherIcon; var iconCode; var iconArray = []; var weatherCodeArray = []; var weatherIconArray = []; var temp; var wind; var humidity; var UV; var city; localStorageDiv.on(...
class Vector { constructor(x=0, y=0, z=0) { this.x = x; this.y = y; this.z = z; } clone() { return new Vector(this.x, this.y, this.z); } equals(b) { return (this.x == b.x && this.y == b.y && this.z == b.z); } _set(b) { this.x = b.x; th...
import Head from 'next/head' import { useRouter } from 'next/router' import { useState, useEffect } from 'react' import { toast, ToastContainer } from 'react-toastify' import { Icon } from '@supabase/ui' import { fetchAndWait } from 'lib/fetchWrapper' import CountUp from 'components/CountUp' import Header from 'compon...
Evaluate = function (limit = 0, limits = []) { var _this = this; _this.listCount = 0; _this.page = 1; _this.limit = !limit ? 10 : limit; _this.limits = limits; }; // var n = 1; Evaluate.prototype.getList = function (d) { var _this = d._this, page = _this.page, limit = _this.limi...
// @copyright 2017-2018 <EMAIL> import '../../styles/iron-flex-layout.js'; import '../../styles/paper-material-styles.js'; import { AttributeManager } from './attribute-manager.js'; import { BusManager } from './bus-manager.js'; import { executeTaskQueue } from '../util/misc.js'; import { EventManager } from './event...
var Promise = require("bluebird"); var pkg = require("./package.json"); // fix this issue: // https://github.com/ethereum/web3.js/issues/337 // XXX this should really be Pudding.toUTF8 Pudding.toAscii = function(hex) { var str = '', i = 0, l = hex.length; if (hex.substring(0, 2) === '0x') { ...
import React from 'react'; import _object from 'lodash/object'; import PropTypes from 'prop-types'; import * as Utils from './TableUtils'; import { uuid } from '../../../utils/uuid'; import * as Com from '../../../components'; import { Button } from 'antd'; import TableDataCode from './TableDataCode'; import TableInde...
/** * Test case for Mongoose-Redis Cache * * Testing methodology: * * Mock data: * We generate a set number of mock data in the DB. Defaults to 30000 items. * Each item contains a random person's name, some arbitary number as data, a date, and * an array for the person's friend. We index the name field to optim...
/** * https://raw.githubusercontent.com/studierendenwerk-ulm/payload-decoder-zenner-easy-protect-radio-lora/master/decoder.js */ /** * Main decoder function * @param bytes * @param port * @constructor */ function Decoder(bytes, port) { if(bytes === null || bytes === 0){ //obj.port = port; ob...
function AppPreferencesW8() { } // http://blogs.msdn.com/b/going_metro/archive/2012/04/22/integrating-with-windows-8-settings-charm.aspx // http://msdn.microsoft.com/en-us/library/windows/apps/hh770544.aspx // http://www.silverlightshow.net/items/Windows-8-Metro-Add-settings-to-your-application.aspx // http://blogs.m...
const jsx = require('@babel/plugin-syntax-jsx'); const { addNamed } = require('@babel/helper-module-imports'); module.exports = function ({ types: t, template }, options) { // istanbul ignore next const { templateBlocks = true, json = true, minimalJson = false, taggedTemplate = true, prettyJson...
import fp from 'lodash/fp'; import * as constants from './constants'; export function avgRowHeight(config) { const { contentHeight, rows: { length } } = config; return fp.assign(config, { avgRowHeight: length && fp.ceil(contentHeight / length) }); } /** * Initializes the reduce call to reduceRow...
//NERDY MY OWN CODE STARTS HERE, don't mess with it unless you know what you're doing const readline = require('readline'); var keyPressed = null var lastLinePrinted = null var fs = require('fs') //change this to true if you want to save var saveNeeded = false var savenum var userFlags readline.emitKeypressEvents(...
const models = require('../../models/models.js'); const array_contains_array = require('../../lib/object_functions.js') .array_contains_array; const Sequelize = require('sequelize'); const Op = Sequelize.Op; const debug = require('debug')('idm:web-authorize_user_org_controller'); // GET /idm/applications/:applicati...
const sectionExpr = /^\[(.*)\]/, commentExpr = /[;#](?: )?(.+)/, lineExpr = /(^\s*[;#])|(^\[[^\]]*\])|(^.+$)/, quotedExpr = /^(\s*['"]).+$/, lineTypes = { blank: 0, comment: 1, header: 2, pair: 3 }, reservedWords = { "true": true, "false": false, ...
/* * (C) Copyright 2014-2015 Kurento (http://kurento.org/) * * 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 app...
import React from "react"; import components from "./components"; import { findNodeById, findSiblingsById, findParentById, propsToString, getIndentSpace, INDENT_SPACE, } from "@/pages/drag-page/utils"; import {cloneDeep} from 'lodash'; /** * 是否可编辑,如果可编辑,返回当前节点编辑配置信息。 * @param pageConfig * @...
var userAccount = null; var contract = null; var company = null; var software = null; var duration = null; var price = null; var ownedLicenses = []; var licenseCmps = []; var licenseEdts = []; var licenseTkid = []; async function init() { console.log("Using web3 version: " + Web3.version); if (typeof web3 == 'unde...
import React, { Component } from 'react'; var bitcoin = require('bitcoinjs-lib'); var testnet = bitcoin.networks.testnet class SendForm extends Component { constructor(props) { super(props); this.state = { sendAddress: '', amount: 0, fee: 1000, maxSpe...
// routes/router.js const express = require("express"); const router = express.Router(); const multer = require('multer') const uuid = require("uuid"); const bcrypt = require("bcryptjs"); const jwt = require("jsonwebtoken"); const db = require("../lib/db.js"); const userMiddleware = require("../middleware/users.js"); ...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); exports.__esModule = true; exports.fnCreateSparkData = exports.fnCreateStackedConfig = exports.fnCalcTotal = void 0; var _big = _interopRequireDefault(require("big.js")); var _AdapterFn = _interopRequireDefault(requi...
'use strict'; const assert = require('assert'); const https = require('https'); const util = require('util'); const pow = require('proof-of-work'); const debug = require('debug')('hc:server'); const Buffer = require('buffer').Buffer; const WBuf = require('wbuf'); const OBuf = require('obuf'); const hackchain = requir...
//----------------------------------------------------------------------------- // Galv's Character Frames Step SE //----------------------------------------------------------------------------- // For: RPGMAKER MV // GALV_CFStepSe.js //----------------------------------------------------------------------------- //...
import React, { useEffect, useState } from "react"; // @material-ui/core components import { makeStyles, withStyles } from "@material-ui/core/styles"; import InputLabel from "@material-ui/core/InputLabel"; import { TextField, Grid, Switch, FormControlLabel, FormControl, Select, Input, Chip, MenuItem, Box, } f...
var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; /** * Transition grouping to faciliate fluent api * @class T...
chrome.runtime.onMessage.addListener(function (request, sender, sendResponse) { if (request.kb_blob) { handleKbLoginData(request.kb_blob); sendResponse({ack: true}); } else if (request.user) { var user_name = request.user.full_name || request.user.kb_username; renderStatus(0, "Lo...
// ==UserScript== // @name Yahoo Pick'em Drag n' Drop // @namespace http://tampermonkey.net/ // @version 1.3 // @description No more awful confidence points UI! // @author ajhodges // @match https://football.fantasysports.yahoo.com/* // @grant none // @require https://code.jquery.co...
/** * M.Feature is a extension of L.Path that understands mapml feature markup * It converts the markup to the following structure (abstract enough to encompass all feature types) for example: * this._outlinePath = HTMLElement; * this._parts = [ * { * path: HTMLElement, * rings:[ * {points...
const mainPanelId = "panel"; const DEVELOPER = { name: '<NAME>', github: 'https://github.com/leandrotacioli' }; function loadJavaScript() { document.getElementById(mainPanelId).style["background-color"] = "#a5a5a5"; document.getElementById(mainPanelId).innerHTML = "<h1>Hello World!!!</h1>"; loadHTMLElements();...
// Arguments passed into this controller can be accessed via the `$.args` object directly or: var args = $.args; var animation = require('alloy/animation'); var videos = [ { thumb: "images/v5.png", type: "Medicine Ball", duration:24, title: "Squat Clean With Press Alternating", id: "v1", video: "videos/CF-App-Me...
require('log-timestamp'); const express = require('express'); const process = require('process'); const puppeteer = require('puppeteer'); const minimist = require('minimist'); const controller = require('./controller'); const secureLinkMiddleware = require('./secure-link'); const {SecureLink, Md5Hasher, Sha1Hasher} = r...
// eslint-disable-next-line no-unused-vars /* global artifacts:false, it:false, contract:false, assert:false */ const TestToken = artifacts.require('TestToken') const WyvernExchange = artifacts.require('WyvernExchange') const WyvernProxyRegistry = artifacts.require('WyvernProxyRegistry') const WyvernTokenTransferProxy...
"use strict"; /** * Copyright 2017-present Ampersand Technologies, Inc. */ Object.defineProperty(exports, "__esModule", { value: true }); var EventUtils = require("./EventUtils"); var MathUtils = require("amper-utils/dist2017/mathUtils"); var SCROLL_DIST_SQR = 25; //const HIGHLIGHT_TOUCH_DELAY = 350; var DOUBLE_TAP_WAI...
import { useEffect, useRef, useState } from "react"; import { useOutletContext, useNavigate } from "react-router-dom"; import Swal from 'sweetalert2'; import useChengeDocumentTitle from "../../hooks/useChengeDocumentTitle"; const EditDelBookType=()=>{ useChengeDocumentTitle('edit or delete book type spell translat...
import React, { Component } from "react" import ReactNative from "react-native" import { connect } from "react-redux"; import { bindActionCreators } from "redux" import { ActionCreators } from "../redux/actions" import Loading from "../components/loading"; import Color from '../utils/colors'; import Input from "../comp...
import Ember from 'ember'; import ApplicationRouteMixin from 'ember-simple-auth/mixins/application-route-mixin'; import LoadingSliderMixin from '../mixins/loading-slider'; import FbMixin from '../mixins/fb'; import RouteHistoryMixin from 'ember-cli-history-mixin/mixins/route-history'; import config from '../config/envi...
function updateTemp() { updateEnergyTemp(); updateSuperTemp(); updateTempAuto(); updateMegaTemp(); updateSkillsTemp(); updateHyperTemp(); updateFortuneTemp(); updateConstellationsTemp(); updateUltraTemp(); } function updateEnergyTemp() { if (!tmp.en) tmp.en = {} tmp.en.gain = new Decimal(1); tmp.en.exp = g...
import $ from "jquery"; /* disable mousewheel on number input fields when in focus (to prevent Cromium browsers change the value when scrolling) */ export const disableScrollOnNumInput = () => { $("form").on("focus", "input[type=number]", (e) => { $(e.currentTarget).on("wheel.disableScroll", (e) => { ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var core_1 = require("@angular/core"); var router_1 = require("@angular/router"); var rxjs_1 = require("rxjs"); var animations_1 = require("@angular/animations"); var operators_1 = require("rxjs/operators"); var...
/* Copyright 2018-2020 <NAME> 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, publish, distribute, subli...
import React, { Component, Fragment } from 'react'; import { userService } from '../../infrastructure'; import { toast } from 'react-toastify'; import { ToastComponent } from '../common'; import TextareaAutosize from 'react-autosize-textarea'; import FriendChatBox from './FriendChatBox'; import FriendMessage from './Fr...
import React, { useState, useEffect } from 'react'; import { Switch, Text, TextInput, View, KeyboardAvoidingView, ScrollView, Alert, TouchableHighlight } from 'react-native'; import * as SecureStore from 'expo-secure-store'; import CountryPicker from 'react-native-country-picker-modal'; import styles f...
const { Command } = require("discord.js-commando"); const { Util } = require("discord.js"); const YouTube = require("simple-youtube-api"); const ytdl = require("ytdl-core"); const { RichEmbed } = require("discord.js"); const Utils = require("../../util/musicBackend.js"); module.exports = class PlaySongCommand extends ...
import React from "react"; import { Card, CardHeader, CardFooter, Pagination, PaginationItem, PaginationLink, Container, Row, Button, Col, CardBody, CardTitle } from "reactstrap"; import Dropdown from "react-bootstrap/Dropdown"; import Header from "components/Headers/Header_RPA.js"; ...
/** * Handle charging profile composition in smart charging */ const _ = require('lodash'); const MAX_AMP = 30; /** * Add a new profile from server's `SetChargingProfile` request * @param {object} param0 */ function addProfile({ newProfile, getChargingProfiles, setChargingProfiles }) { const { ...
var SPFabian = SPFabian || {}; SPFabian.KeyConf = SPFabian.KeyConf || {}; let keyboardKeys= []; let typeKb = 0; //Input.keyMapper = keyboardKeys; /* Create keyboard Conf file */ /* Window Options */ //SPFabian.KeyConf.addOption = Window_Options.prototyp...
#!/usr/bin/env node /* * Copyright 2014 <NAME> * * 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...
/** * FCViz * Payload script for summary page */ // Repayment Graph Rendering ----------------------------------------------- window.repayByDate = { dates: [] }; df = d3.time.format("%Y-%m-%d"); window.initialFunds = +$(".header__user-funds").text().split("£")[1]; principal = ['principal',0], interest = ['inte...
// Use the url from a Twitter widget instead of their iFrame // Sample url looksl like this: // 'https://syndication.twitter.com/widgets/timelines/731936434932862976?dnt=true&domain=localhost%3A4000&lang=en' var tweetLimit = 20; var script = null; var inProgress = false; var targetTimelineEle = 'js-twitter-timeline'; v...
const statUtils = require('./../lib/statUtils.js'); // Dimensioning parameters. let image_w = 865; let image_h = 215; let title_h = 20; // Get body position and size. let div_dist = 5; let pallete = {}; pallete.paneBg = '#64B6D2'; pallete.paneMg = '#2F3A3D'; pallete.paneFg = '#3C6496'; pallete.paneTx...
/** * @name : healthCheckService.js * @description :: Responsible for check content service health * @author :: <NAME> */ var async = require('async') var request = require('request') var uuidv1 = require('uuid/v1') var envHelper = require('./environmentVariablesHelper.js') var cassandra = require('cassandra-...
import { Button, Modal, Form, Input, Select, Table, Popconfirm, Upload, message, Icon } from 'antd'; const FormItem = Form.Item; const Option = Select.Option; import { connect } from 'dva'; import './Document.less'; @connect(({ publish, loading }) => ({ publish, submitting: loading.effects['publish/getAppId'], }))...
import fs from 'fs'; import glob from 'glob'; import log4js from 'log4js'; import uuidv4 from 'uuid/v4'; import readline from 'readline'; import request from 'superagent'; import { Articulo } from '../collections/models/articulo'; import { AutorLibro } from '../collections/models/autor.libro'; import { AutorTesis } fro...
"use strict"; class ColorWheel { /** * Constructs the HSV colorwheel * @param {string} id - The id that will be given to the div holding all the elements * @param {Number} size - The diameter of the colorwheel */ constructor(id, size, onColorChange) { this.radius = size / 2; ...
import { remote } from 'electron' import { Finance } from 'financejs' import { stockSet, bondSet } from '../constants/symbols' const finance = new Finance() export const SymbolIdx = 0 export const QuantityIdx = 1 export const PriceIdx = 2 export const ActionIdx = 3 export const DescriptionIdx = 4 export const TradeDa...
import React, { useState, useEffect } from "react"; import { ProgressBar, BackButton } from "./styles"; import * as Yup from "yup"; import { Formik, Form } from "formik"; import Step1 from "./steps/step1"; import Step2 from "./steps/step2"; import Step3 from "./steps/step3"; import Step4 from "./steps/step4"; import St...
'use strict'; const { errnoException, codes: { ERR_ASSERTION, ERR_CPU_USAGE, ERR_INVALID_ARG_TYPE, ERR_INVALID_ARRAY_LENGTH, ERR_INVALID_OPT_VALUE, ERR_UNCAUGHT_EXCEPTION_CAPTURE_ALREADY_SET, ERR_UNKNOWN_SIGNAL } } = require('internal/errors'); const util = require('util'); const cons...
require('dotenv').load() var express = require('express'); var http = require('http'); var logger = require('morgan'); var bcrypt = require('bcrypt'); var TweetStream = require('./models/tweet'); var User = require('./models/user'); var usersController = require('./controller/usersC...
'use strict'; const os = require("os"); const fs = require('fs'); const uuidv4 = require('uuid/v4'); const auth = require("@azure/ms-rest-js"); const ContentModerator = require("@azure/cognitiveservices-contentmoderator") /** * Content Moderator quickstart * * This quickstart contains these examples: * - Image...
var wwd; var layers; define(['./DataLoader', './GlobeHelper', './csvToGrid/Converter', './LayerGroup' ] , function (DataLoader, GlobeHelper, Converter, LayerGroup) { var AppConstructor = function () { this.helper = GlobeHelper; }; AppConstructor.pr...
/**************************************** * Is balanced ***************************************/ let exps = ['<>>>', '<>>>>', '<<<', '<<<>>>', '>>>1234<<<']; // >><< let maxR = [2, 2, 1, 1, 6]; function BalancedOrNot(expressions, maxReplacements) { let results = []; let charMap = {'<' : 0, '>' : 1}; //0 is op...
var net = require('net'), cluster = require('cluster'), crypto = require('crypto'); module.exports = sticky; function hash(ip, seed) { var hash = ip.reduce(function(r, num) { r += parseInt(num, 10); r %= 2147483648; r += (r << 10); r %= 2147483648; r ^= r >> 6; return r; }, seed); ...
/*function Timer(settings) { this.settings = settings; this.timer = null; this.fps = settings.fps || 30; this.interval = Math.floor(1000 / 30); this.timeInit = null; return this; } Timer.prototype = { run: function() { var $this = this; this.settings.run(); this.t...
/** * Created by fletna on 16/09/16. */ var eventDecoOrder = []; var eventDecoLabels = {}; var dataset; function saveJSON(url) { var eventList = {}; d3.select('tbody').selectAll("tr").each(function(tr,j){ //var eventsNum = $("tr[session-id='" + d3.select(this).attr("session-id") + "']").length; ...
var util = require('util'), fs = require('fs'); var FileIndex = exports.FileIndex = function(repo_path, callback) { var _repo_path = repo_path; var _index_file = repo_path + "/file-index"; var self = this; // Set up internal index info var _sha_count = 0, _commit_index = {}, _commit_order = {}, _all_file...
import { BoxBufferGeometry, CanvasTexture, Color, DirectionalLight, Mesh, MeshBasicMaterial, MeshStandardMaterial, WebGLRenderer, WebGLRenderTarget, PerspectiveCamera, PlaneBufferGeometry, Raycaster, Scene, SphereBufferGeometry, Vector2, Vector3 } from 'three'; import { TransformControls...
import json5 from 'json5' import moment from 'moment' const BASE_ADDRESS = 'https://start.schulportal.hessen.de/' const LOGIN_ADDRESS = 'https://login.schulportal.hessen.de/' export default { urls: { BASE_ADDRESS: BASE_ADDRESS, LOGIN_ADDRESS: LOGIN_ADDRESS }, apps: { hidden: ['logout'], supporte...
'use strict'; const BufferModel = require('./bufferModel.js'); const KeyListener = require('./keyListener.js'); const {numDigitsIn} = require('./utils.js'); const Editor = require('./editor.js'); const TabBar = require('./tabBar.js'); const defaults = { keyMaps: {}, height: 0, width: 0, topOffset: 0, ...
/** * @file widget-designer.js * @description Widget designer window * @author hifmac(E328456 of the Frea server) * @copyright (c) 2021 hifmac * @license MIT-License */ 'use strict'; import { Filesystem, last, makeError, onLoad } from './blanc/lisette.js'; import * as Nina from './valmir/nina.js'; import Adelite...
/* * ================================================================= * * 25.01.18 <-- Date of Last Modification. * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * ----------------------------------------------------------------- * * **** Module : js-server/server.configuration.js * ~~~~~~~~...
// シフトカレンダーを作成 function createShiftCalendar(baseurl, datemax, ymd, reserveid) { if(typeof(reserveid) === 'undefined') reserveid = 0; deleteShiftCalendar(); var dockind = document.getElementById('basic-doctype').value; if (dockind === undefined || dockind == 0) dockind = "1"; var place = document.getElement...
// 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...
var eventList; var nbeText1 = ""; var nbeText2 = ""; var groupList = []; function sizeBySeverity() { NV.treemap.set('sizeOption', 'cvss'); } function sizeByCriticality() { NV.treemap.set('sizeOption', 'criticality'); } function sizeByCount() { NV.treemap.set('sizeOption', 'value'); } function colorBySev...
'use strict'; const normalizeQueryParams = require('./normalize-query-params'); const extend = require('util-extend'); const qs = require('query-string'); const h = require('h'); const css = require('insert-css'); const fs = require('fs'); const control = require('control-panel'); const throttle = require('throttle-de...
"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; ...
#!/usr/bin/env node const assert = require('assert'); const fs = require('fs'); const url = require('url'); const util = require('util'); const request = require('request-promise-native'); const yargs = require('yargs'); const {createBrowser} = require('./lib/browser'); const currentElectionYear = Math.ceil(new Date()...
/***********************************************/ // [热爱奇旅] // 任务一 8s浏览任务 // 任务二 浏览加购任务 // 任务三 普通点击任务 // 任务四 入会 // [注意事项] // - 请打开任务界面 /***********************************************/ // [可配置变量] //页面切换时间间隙默认为2396毫秒,可以根据网络情况修改 let timeGap = 2396; //8s浏览任务时间默认为13396毫秒,可以根据网络情况修改 let viewTime = 13396; //是否暂停浏览入会界面 //...
import React from 'react'; import { StyleSheet, View, Text, Animated, Image, TouchableOpacity } from 'react-native'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import SlidingUpPanel from 'rn-sliding-up-panel' import { calculatePortraitDimension } from '../../../helpers'; i...
/* =============================================================================================================================================== measurePathItems Description This script measures the distance of an anchor point between two points of an object. Usage Select the path object, run this sc...
import React from 'react'; import { ScrollView, View, Text, TouchableOpacity } from 'react-native'; import Timer from 'react-native-timer'; import styles from './functions/styles'; import Cabecalho from './functions/Cabecalho'; import MensagemResultado from './resultado/MensagemResultado'; import GraficoPizza from './...
import React, { PureComponent, Component, div, Fragment } from 'react'; import { Icon, Tabs, Table, Button, Modal, Breadcrumb, Form, Row, Col, Input, InputNumber, Radio, Card, Upload, message, } from 'antd'; import E from 'wangeditor'; import styles from '...
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; import _createClass from "@babel/runtime/helpers/esm/createClass"; import _possibleConstructorReturn from "@babel/runtime/helpers/esm/possibleConstructorReturn"; import _getP...
var _ = require('lodash'); var http = require('https'); var url = 'https://proxy.destinytrialsreport.com/Platform/Destiny/1/Account/4611686018429564083/Character/2305843009214947218/Inventory/?definitions=true'; // var url = 'https://proxy.destinytrialsreport.com/Platform/Destiny/2/Account/4611686018428398835/Character...
"use strict"; var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; var electron = require("electron"); var React = ...
import AbstractPlatform from '../AbstractPlatform'; import $ from "jquery"; import {CURRENT_VERSION, TOOL_QR_URL} from "../../Constants"; import QRCode from "qrcode"; import html2canvas from "html2canvas"; const IGNORE_MESSAGE_ERROR_1 = 'Could not establish connection. Receiving end does not exist.'; const IGNO...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); 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 ("va...
'use strict'; const form = document.querySelector('.form'); const containerWorkouts = document.querySelector('.workouts'); const inputType = document.querySelector('.form__input--type'); const inputDistance = document.querySelector('.form__input--distance'); const inputDuration = document.querySelector('.form__input--...
const logger = require('../Logger')() const checks = require('../tools/checks') const {getIndent, getDialog, getNonDialog, countChar, countExpression, isTriggerConditions} = require('./tools') // const {booleanOperands} = require('./advanceChecks') const handleError = require('../handleError') const { INVALID...