text
stringlengths
5.97k
41.2k
// Variables del modulo var filGRUPinObjv = {}; /* { id_grupo: "", nombre: "", usuarios_del_grupo: [{id_usuario: "", etiqueta_usuario: ""}, ... ] } */ var objGRUPinEdit = {}; /* Formato de la data JSON: { id_grupo: "", nombre: "", usuarios: [{id_usuario: ""}, ... ] } */ // Función que abre un modulo para: Ver, Editar ...
"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...
'use strict'; function setupContentsGateway(gatewaytab, gatewayInfo, data) { noraapi.addEventHandler( "update_status_" + gatewayInfo.webSocketRoomId, (data) => { updateContentsGateway(gatewaytab, data); } ); noraapi.addEventHandler( "notify_updateheard_" + data....
import React, { Component } from 'react'; import Frame from 'react-frame-component'; import SyntaxHighlighter from 'react-syntax-highlighter'; import { vs2015, docco } from 'react-syntax-highlighter/dist/esm/styles/hljs'; import cn from 'classnames'; import { beautifyHTML } from './utils'; import getBlock from './comp...
import drawBar from './render-bar' const format = d3.format(",.1f"); const specials = ['World', 'High Income Countries', 'Middle Income Countries', 'Low Income Countries']; const ageGroups = ['0-4', '5-9', '10-14', '15-19', '20-24', '25-29', '30-34', '35-39', '40-44', '45-49', '50-54', '55-59', '60-64', '65-69', '...
// FL-12-Nov-2012 Created // FL-13-Dec-2013 Changed /* function storeQueryID( query_id ) function retrieveQueryID() function storeQueryTitle( query_title ) function retrieveQueryTitle() function storeQueryQuery( query_query ) function retrieveQueryQuery() function createQueryDlg() function okDownload( query_title ) */...
const Crypto = require("crypto") const Mqtt = require("mqtt") const Net = require("net") const now = () => +new Date() /* Reverse engineered by kueblc */ /* eslint-disable array-element-newline */ const CRC32TABLE = [ 0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA, 0x076DC419, 0x706AF48F, 0xE963A535, 0x9E6495A3,...
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2"; import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; import _extends from "@babel/runtime/helpers/esm/extends"; import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray"; import _typeof from "@babel/runtime/helpers/esm...
/** * Created by fanzhang on 6/10/15. */ function addTextField(e) { //this is ver 1: // var tempET = new ETextObject(++lastId); // etArray.push(tempET); // $(".op-slideContainer").append(tempET.domE); // applyDraggable($('#et' + tempET.id)); // // if (e) { // $('#et' + tempET.id).css({ // ...
/* Author: <NAME> (<EMAIL>) Date: Sept 26, 2019 [last modified] Purpose: Defines bgb_woodyReichMokany() function and it's dependencies which map woody BGB from AGB using the multiple regression model of Reich et al. (2014) or, when the Reich model was deemed unfit, root-to- shoot ratios fro...
//---------------------------------------------------------------------------------------------------------------------- // DEFINITION: Constants //---------------------------------------------------------------------------------------------------------------------- var THEME_COLORS = { DEFAULT: '#a8bdcf', PRI...
#!/usr/bin/env node // include packages var fs = require('fs'); var path = require('path'); var mkdirp = require('mkdirp'); var minimist = require('minimist'); var moment = require('moment'); require('moment-duration-format'); var sqlite = require('sqlite3'); var os = require('os'); var tmpdir = (os.tmpdir || os.tmpD...
/** * Created by jeanliu on 4/14/17. */ import React, { Component } from 'react'; import './CarDetail2.css'; var Row = require('react-bootstrap/lib/Row'); var Col = require('react-bootstrap/lib/Col'); var Button = require('react-bootstrap/lib/Button'); // const PHOTOS = [ // {id: 0, imgpath: './static/bundles...
import React, { Component } from 'react'; import {connect} from 'dva'; import {routerRedux} from 'dva/router'; import {Tabs,Button, Row, Col, Input, Select, Checkbox, DatePicker, message } from 'antd'; import PageHeaderLayout from '../../layouts/PageHeaderLayout'; import styles from './index.less'; import SearchPanel f...
const Promise = require('bluebird'); const crypto = require('crypto'); const cst = require('./cassandra.js'); const exec = require('child_process').exec; const fs = require('fs'); const defaultContactSoa = process.env.SOA_CONTACT || 'root.example.com'; const listRecordsFrom = 'SELECT * FROM records WHERE origin = ?';...
import React, { Component, PropTypes } from 'react'; import { connect } from 'react-redux'; import { createStructuredSelector } from 'reselect'; import { Field, reduxForm, change, reset, FieldArray } from 'redux-form'; import { Modal } from 'react-bootstrap'; import { Calendar } from 'react-date-range'; import 'react-d...
/** * @Author: qinbb * @DateTime: 2018-01-31 17:47:46 * @Description: 公共方法工具类 */ import config from '../../config'; import axios from 'axios'; import instance from 'src/global/http'; //定义一些常量 var x_PI = 3.14159265358979324 * 3000.0 / 180.0; var PI = 3.1415926535897932384626; var a = 6378245.0; var ee = ...
/* * FLAC.js - Free Lossless Audio Codec decoder in JavaScript * Original C version from FFmpeg (c) 2003 <NAME> * JavaScript port by <NAME> and <NAME> of Official.fm Labs * * Licensed under the same terms as the original. The original * license follows. * * FLAC.js is free software; you can redistribute it an...
/* JM from <NAME> Victoria Road: Kerning City (103000000) Refining NPC: * Gloves * Glove Upgrade * Claw * Claw Upgrade * Processed Wood/Screws */ var status = 0; var selectedType = -1; var selectedItem = -1; var item; var mats; var matQty; var cost; var qty; var equip; function start() { status = -1; ...
"use strict"; 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]; } }); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })...
'use strict'; const { ArrayPrototypeJoin, ArrayPrototypePop, Error, ErrorCaptureStackTrace, MathMax, ObjectCreate, ObjectDefineProperty, ObjectGetPrototypeOf, ObjectKeys, String, StringPrototypeEndsWith, StringPrototypeRepeat, StringPrototypeSlice, StringPrototypeSplit, } = primordials; co...
var BaseElement = require("../BaseElement"); var CenteringTextElement = require("../../util/CenteringTextElement"); var drawTools = require("../drawTools")(); var forceLayoutNodeFunctions = require("../forceLayoutNodeFunctions")(); var rectangularElementTools = require("../rectangularElementTools")(); var math= require...
/** * 测试XSS * * @author 老雷<<EMAIL>> */ var assert = require('assert'); var _xss = require('../'); var debug = require('debug')('xss:test'); function xss (html, options) { debug(JSON.stringify(html)); var ret = _xss(html, options); debug('\t' + JSON.stringify(ret)); return ret; } describe('test XSS', fu...
/** * @version 0.9 */ import Database from '@app/appstores/DataSource/Database'; import Log from '../../../services/Log/Log' import accountDS from '../Account/Account' import accountHdDS from '../Account/AccountHd' import walletDS from './Wallet' import BlocksoftKeysStorage from '../../../../crypto/actions/Blocksof...
/* Copyright 2015, 2016 OpenMarket Ltd Copyright 2019 <NAME> <<EMAIL>> Copyright 2019 The Matrix.org Foundation C.I.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/lice...
'use strict' Object.defineProperty(exports, '__esModule', { value: true, }) exports.default = void 0 var _propTypes = _interopRequireDefault(require('prop-types')) var _react = _interopRequireDefault(require('react')) var _reactDom = require('react-dom') var _classnames = _interopRequireDefault(require('classnam...
// solitaire game // read line stuff (this is nodejs but is all that needs changing if converting to other javascript stuff var readlineSync = require('readline-sync'); function readline(str) { return readlineSync.question(str); } // set up game and functions // array of all ranks var ranks = [ "A", "2", "3"...
const AmbassadorDatas = [ { link: "https://research.adobe.com/adobe-india-women-in-technology-scholarship/", head: "Adobe India Women-in-Technology Scholarship", image: "../assets/ambassador-img/Adobe.png", about: "They strive towards creating gender equality by encouraging women.", ...
// jscs:disable import Ember from 'ember'; // http://stackoverflow.com/a/12646864 function shuffleArray(array) { for (var i = array.length - 1; i > 0; i--) { var j = Math.floor(Math.random() * (i + 1)); var temp = array[i]; array[i] = array[j]; array[j] = temp; } return arra...
import { Style } from './Style.js'; import { getStrokes } from './characters.js'; // Create style dictionary and add default style let styleDictionary = new Map(); styleDictionary.set('chicken-scratch',new Style('chicken-scratch',{})) // A map containing all elements with a chicken-scratch class let managedElements ...
const DrawCard = require('./drawcard.js'); const TradingPrompt = require('./gamesteps/highnoon/tradingprompt.js'); const GameActions = require('./GameActions'); const {ShootoutStatuses, Tokens} = require('./Constants'); const NullEvent = require('./NullEvent.js'); const SpellCard = require('./spellcard.js'); const Acti...
import durcanova from '../images/people/durcanova.jpg' import frodlova from '../images/people/frodlova.jpg' import lizonova from '../images/people/lizonova.jpg' import simova from '../images/people/simova.jpg' import prochazkova from '../images/people/prochazkova.jpg' import lorencova from '../images/people/lorencova....
/*H-ui.js v1.5.2 date:9:53 2014-12-30 by:guojunhui*/ if (navigator.userAgent.match(/IEMobile\/10\.0/)) { var msViewportStyle = document.createElement("style") msViewportStyle.appendChild( document.createTextNode( "@-ms-viewport{width:auto!important}" ) ) document.getElementsByTagName("head")[0].ap...
import Utilities from '../lib/Utilities.js'; import Decoder from '../lib/Decoder.js'; import {MediaSourceUtil, MediaSourceConstants} from '../lib/MediaSourceUtil.js'; import Zlib from 'zlibjs'; import LZ4 from 'lz4'; // TODO: Separate into VideoDecoder class const DEFAULT_BOX_COLORS = { 'png': 'yellow', 'h264': '...
// Import utils import * as _ from './utils/utils'; import {parseToHSVA} from './utils/color'; // Import classes import {HSVaColor} from './utils/hsvacolor'; import Moveable from './libs/moveable'; import Selectable from './libs/selectable'; import Nanopop from './libs/nanopop'; import buildPickr from ...
"use strict"; exports.__esModule = true; exports.default = void 0; var _dom = _interopRequireDefault(require("../../shared/dom7")); var _utils = require("../../shared/utils"); var _class = _interopRequireDefault(require("../../shared/class")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? o...
openSet = []; closeSet = []; isFinished = false; maxHs = 0; maxWs = 0; goal = undefined; _40_deg = 0.698132; path = []; var vehicle; function setup() { vehicle = new Vehicle(200, 0, 0); frameRate(1005); cellSize = 30; scaleSize = 30; createCanvas(cellSize * scaleSize, cellSize * scaleSize); ce...
/* eslint-disable no-unused-expressions, max-len */ const { Then, Given, } = require('cucumber'); const BN = require('bn.js'); const { expect } = require('chai'); const fs = require('fs'); const httpApiHelper = require('./lib/http-api-helper'); Given(/^DC imports "([^"]*)" as ([GS1\-EPCIS|GRAPH|OT\-JSON|WOT]+)$/...
// functions to support the side scrolling fund tables // redefine first 5 in page's js file if needed function fundCheckboxClick(chartName, cbName) { // console.log('fundCheckboxClick', chartName, cbName); fundCheckboxClickAction(chartName, cbName); return false; } function fundHighchartClick(chartName, idx, n...
'use strict'; 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]; } }); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })...
/** * The MIT License (MIT) * * <NAME> 2016-2021 - https://www.igorski.nl * * 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...
/** * Copyright 2017 The AMP HTML 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 require...
/* Marslander Marslander is based on the original Marslander that came on the introductory cassette – yes, cassette – of software for the Acorn Electron. https://www.everygamegoing.com/landingMachineType/index/machine_folder/electron/thing_type/games/ */ import { get, overload, deep, noop, toCartesian, toPolar } fro...
'use strict'; const Generator = require('yeoman-generator'); const chalk = require('chalk'); const yosay = require('yosay'); const GruntfileEditor = require('gruntfile-editor'); const path = require('path'); const os = require('os'); const SchemaObject = require('schema-object'); const stringifyObject = require('string...
var defaultMappingsEditor = ace.edit("defaultMappings"); defaultMappingsEditor.setTheme("ace/theme/chrome"); defaultMappingsEditor.setKeyboardHandler('ace/keyboard/vim'); defaultMappingsEditor.getSession().setMode("ace/mode/javascript"); defaultMappingsEditor.container.hide(); defaultMappingsEditor.setReadOnly(true); d...
const width = d3.select("#chart-container").node().getBoundingClientRect().width; const margin = { top: 70, left: 150, right: 10, bottom: 50 }; const svg = d3.select("#chart-container").append("svg"); const groot = svg.append("g"); const g = groot.append("g"); const gbars = g.append("g"); const gText = g.append("g"); c...
var _a; import { Annotation, AnnotationView } from "./annotation"; import { Title } from "./title"; import { CartesianFrame } from "../canvas/cartesian_frame"; import { LinearAxis, LogAxis, CategoricalAxis } from "../axes"; import { Ticker } from "../tickers/ticker"; import { BasicTicker, LogTicker, BinnedTicker, Categ...
// ======================================================================= Namespace var koji = koji || {}, $ = jQuery; // ======================================================================= Helper Functions /* OUTPUT AJAX ERRORS */ function kojiAjaxErrors( jqXHR, exception ) { if ( jqXHR.status === 0 ) { a...
// 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. /** * Namespace for utility functions. */ const filelist = {}; /** * File table list. */ class FileTableList extends cr.ui.table.TableList { constr...
'use strict'; const {CompositeDisposable, Disposable} = require('atom'); // Lazy-loaded modules let checklist; let editorconfig; let fixFile; let generateConfig; let showState; let statusTile; let wrapGuideInterceptor; let lint; lint = require('./lib/lint.js'); function provideLinter() { // eslint-disable-line no-un...
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl...
function about(){ var author = ""; var special_thanks = ""; var source = ""; // For easily verifying currently cached version var version = "improve-estimate-rank"; } function toggle_settings_box(){ var collapsed = window._settings_box_collapsed; var left = -190; var transform = "rotate(0deg)"; if...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototy...
import {flatten, chunk, trimStart} from 'lodash-es'; import {parseWorld} from 'bitsy-parser'; import {prepareWorldInformation, prepareForCaseInsensitive} from './world'; import {toDefineDeclaration, toDefinesDeclaration, toInitializedDeclaration, toInitializedArrayDeclaration, toStringLiteral} from './c-genera...
import React, { useState, useEffect } from 'react'; import { useTranslation } from 'react-i18next'; import BigNumber from 'bignumber.js'; import { byDecimals, calculateReallyNum, format } from 'features/helpers/bignumber'; import { makeStyles } from '@material-ui/core/styles'; import Accordion from '@material-ui/core/A...
inicializarVirtualSpace(); function inicializarVirtualSpace(){ window.ns_alternativas = { numero: 0, funcionSimple(){} } window.ns_alternativa = { id_alternativa: 0 } window.ns_pregunta = { id_pregunta: 0 } window.ns_menu_opcion = { is_activado: 0, ...
/* Copyright© 2000 - 2020 SuperMap Software Co.Ltd. All rights reserved. * This program are made available under the terms of the Apache License, Version 2.0 * which accompanies this distribution and is available at http://www.apache.org/licenses/LICENSE-2.0.html.*/ import L, { Util, Layer, ImageOverlay } from 'le...
//----------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License file under the project root for license information. //-------------------------------------------------------------------------...
/** * @license * * Copyright IBM Corp. 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. */ import debounce from 'lodash-es/debounce'; import { repeat } from 'lit-html/directives/repeat'; import { html, property, customEleme...
export const abbreviationsMap = new Map(getAbbreviations()); export const abbreviationsRevMap = new Map(getAbbreviations().map(abbr => abbr.reverse())); function getAbbreviations() { const a = getRawAbbreviations() .split(/(?:\r|\n)+/) .map(line => line.trim()) .filter(line => line != '' && !line.starts...
//a set of helper functions, some that we've written, others that we've borrowed MG.convert = {}; MG.convert.date = function(data, accessor, time_format) { time_format = (typeof time_format === "undefined") ? '%Y-%m-%d' : time_format; var parse_time = d3.timeParse(time_format); data = data.map(function(d) { ...
var textAlpha = 0; var textAlphaSpeed = 0.01; var stars = []; var enemies = []; var backgroundStars = []; var centreX, centreY; var score = 0, lives = 5, gameOver = false, score = 0, enemiesKilled = 0, memoryLevel = 100; var trackOne = 0, trackTwo = 0, trackThree = 0, trackFour = 0, trackFive = 0; var closingBlinds = 0...
function onFormSubmit(e) { var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("numeric"); try { var rng = e.range; var ss = SpreadsheetApp.getActiveSpreadsheet(); var fUrl = ss.getFormUrl(); var f = FormApp.openByUrl(fUrl); var rs = f.getResponses(); ...
// Github: https://github.com/shdwjk/Roll20API/blob/master/TokenNameNumber/TokenNameNumber.js // By: <NAME>, <NAME> // Contact: https://app.roll20.net/users/104025/the-aaron var globalconfig = globalconfig || undefined; var TokenNameNumber = TokenNameNumber || (function() { 'use strict'; var version ...
"use strict"; // Node.js projekt zippelő // Készítette <NAME> const glob = require("glob"); const inquirer = require("inquirer"); const fs = require("fs").promises; const { promisify } = require("util"); const chalk = require("chalk"); const date = require("date-and-time"); const Zip = require("adm-zip"); const path ...
const immutable = require('immutable') const tsCodegen = require('./typescript') const typesCodegen = require('./types') const util = require('./util') const ABI = require('../abi') module.exports = class AbiCodeGenerator { constructor(abi) { this.abi = abi } generateModuleImports() { return [ ts...
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejected(value) { try { step(generator["throw"]...
const per = { p1:"Qual o single de maior sucesso da banda?", p2: "Qual era o nome inicial da banda?", p3: "Por que a banda decidiu mudar completamente o seu som?", p4: "Qual o nome dos dois integrantes da banda?", p5: "Qual de seus álbuns é aclamado pela crítica e fãs?" } function clica(qua...
/** * This program reads metadata from the DBP server, and generates * .json files that can be uploaded to S3. * 1. Manually lookup the DBP language code for each sil language that I have in Versions.db * 2. The DBP_lang_code should be added to Versions.db Languages table * 3. Perform a volume list query for each Langu...
// window.onload = function () { // history.replaceState("", "", "/"); // }//para não registrar um novo fornecedor -cópia do anterior - a cada vez que a página for atualizada // let providersList = []; // array que recebe a lista de fornecedores - todo novo fornecedor é adicionado a lista //document.getElementByI...
"use strict"; /*This class is supposed to turn a series of dir.delay() dir.transitionTo(...) dir.delay() dir.nextSlide(); into a sequence that only advances when the right arrow is pressed. Any divs with the exp-slide class will also be shown and hidden one by one. Also, */ import {Animation, Easing} from './Anim...
import { Meteor } from 'meteor/meteor' import moment from 'moment' import XLSX from 'xlsx' import Members, { Dupes, RawDupes } from '/imports/api/members/schema' import Sessions from '/imports/api/sessions/schema' import Purchases from '/imports/api/purchases/schema' import { Carts } from '/imports/api/products/schema'...
/* eslint-env browser */ import {getJSON} from 'simple-get-json'; import {IMF} from 'imf'; import loadStylesheets from 'load-stylesheets'; import {serialize as formSerialize} from 'form-serialization'; import getIMFFallbackResults from './utils/getIMFFallbackResults.js'; import {dialogs} from './utils/dialogs.js'; imp...
// ======================================================================== // gulpfile.js // ======================================================================== /** * Gulp is a tool that helps automate our workflow by performing different * tasks such as: compiling (and prefixing) Sass and minifying images. ...
module.exports = { $name: require('./package.json').name, cliCommands: getCliCommands(), }; function getCliCommands() { const optLog = { name: "-l, --log", description: "Print build and page information.", }; return [ { name: 'dev', description: 'Bui...
import React, { Fragment } from "react"; import { Link } from "react-router-dom"; import { computed, observable, action, makeObservable } from "mobx"; import { computedFn } from "mobx-utils"; import config from "./config"; // import CONSTS from "./consts"; import Api from "mdpapi"; import shortid from "shortid"; impo...
function htmlescape(str) { return str.replace(/[&<>"'`=\/]/g, s => ({'&': '&amp;','<': '&lt;','>': '&gt;','"': '&quot;',"'": '&#39;','/': '&#x2F;','`': '&#x60;','=': '&#x3D;'})[s]); } class Viewer { constructor() { this.selected = null; this.textColor = "rgb(75,75,75)"; this.backgroundColor = ...
import { removeUnusedBoxes } from './interactive-boxes.js'; const socket = io(); let countdowns = {}; let batch_sizes = {}; function flashBtn(btn, id, fade=true) { btn.classList.add('flash'); setTimeout(() => { btn.classList.remove('flash'); }, 1000); if (fade) { setTimeout(() => { $(`#${id} .b...
'use strict'; var debug = require('debug')('ZNPClient'); var Dissolve = require('dissolve'); var Concentrate = require('concentrate'); var when = require('when'); var when_sequence = require('when/sequence'); var EventEmitter = require('events').EventEmitter; var util = require('util'); var Device = require('../profi...
import * as Gbi from "../../../../../include/gbi" import { spooky_09000000, spooky_09000800, spooky_09001800, spooky_09002800, spooky_09003800, spooky_09004800, spooky_09005000, spooky_09006000, spooky_09006800, spooky_09007000, spooky_09008000, spooky_09008800, spook...
/** * module for exploring directories * @see {@link https://nspragg.github.io/filehound/} */ import FileHound from 'filehound'; /** * Access method from module fs (node) with constants * @see {@link https://nodejs.org/api/fs.html#fs_fs_access_path_mode_callback} * @see {@link https://nodejs.org/api/fs.html#fs_f...
'use strict' const SOURCE_DEFAULT = require('./types/type').SOURCE_DEFAULT class Api { static get DEFAULT_COMMAND_INDICATOR () { return '*' } static get (opts) { return new Api(opts) } constructor (opts) { opts = opts || {} this.types = [] this._helpOpts = opts.helpOpts || {} this....
/* * CPv1 * Handlers Form Unlimint v1 */ const ELLIPSIS = '...'; const DATA_CHECKOUT_SELECTOR = '[data-checkout]'; (function () { var CPv1 = { debug: false, gateway_mode: false, add_truncated_card: true, site_id: '', terminal_code: '', coupon_of_discounts: { ...
const API_URL = "https://word-bord-api.herokuapp.com/api/v1"; const days2022 = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; const TOTAL_MOVES = 20; let boardSize = 4; let firstLoad = true; let tileSize; let board = []; let buttons = []; let rot = 0; //how much we'veg rotated a rot or col let dict; let wordsFound ...
import Vue from 'vue' import Router from 'vue-router' // in development-env not use lazy-loading, because lazy-loading too many pages will cause webpack hot update too slow. so only in production use lazy-loading; // detail: https://panjiachen.github.io/vue-element-admin-site/#/lazy-loading Vue.use(Router) /* Layout...
'use strict'; const Axios = require('axios'); const Stream = require('stream'); const OAuth = require('./OAuth'); const Utils = require('./Utils'); const Player = require('./Player'); const NToken = require('./NToken'); const Actions = require('./Actions'); const Livechat = require('./Livechat'); const Constants = req...
"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...
/* * @author <NAME> */ 'use strict'; const { default: fetch } = require('node-fetch'); const assert = require('assert'); const path = require('path'); const Router = require('./Router'); const Plugins = require('./Plugins'); const Ai = require('./Ai'); const expected = require('./resolvers/expected'); const bounce =...
exports.reply = function (r) { if (this.bot == null) { this.bot = new ElizaBot(false); } return this.bot.transform(r); } exports.start = function () { if (this.bot == null) { this.bot = new ElizaBot(false); } return this.bot.getInitial(); } exports.bye = function () { if (this.bot == null) { this.bot = ...
// TODO: Change how left/right arrows interact with autocomplete. // TODO: Stupid scrollbars... // TODO: Change input to text field for longer expression support? // TODO: Arrow keys in Edge? // TODO: clear() function to delete old log items? URL = '/'; WaitIcon = '/wait.webp'; // 'https://i.gifer...
import * as Gbi from "../../../../../include/gbi" import { inside_09008800, } from "../../../../../textures/inside" const inside_castle_seg7_vertex_07029078 = [ { pos: [ -13, 614, -1037 ], flag: 0, tc: [ 0, 990 ], color: [ 255, 255, 255, 255 ] }, { pos: [ 0, 717, -1043 ], flag: 0, tc: [ 114, 0 ], color: [ 255, 255, ...
function writeData(stt, ele) { var temp = '<tr class="elementDocument">'; temp += ('<td class="center">' + stt + '</td>'); temp += ('<td class="center"> <a href = "' + ele['link_download'] + '" title="Nhấn để tải tài liệu" class="linkNormal" target="_blank"> <img class="type_file_image" src="' + ele['type_...
// Copyright 2009 280 North, Inc. (<EMAIL>) // Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 by <NAME> (<EMAIL>) // // 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 restrictio...
require("js/custom/home/amount-to-words.js"); require("js/custom/video/webcam.min.js"); require("js/custom/video/capture.js"); class Search{ searchStudent(ssi_id){ // console.log("got in searchStudent",ssi_id,stud_year,stud_semester,stud_term); $.ajax({ type:"GET", url:"search/student", dataType:'json', ...
/* * CAMXES.JS POSTPROCESSOR * * Entry point: camxes_postprocessing(input, mode) * * Arguments: * • input: [array] Camxes' parse tree output. * OR [string] JSON stringified parse tree. * • mode: [string] Parse tree processing option list (each option is * symbolized by a...
//==================================================================================================================== //===================================== FUNCTIONS FOR THE FLEETS DEPLOYMENT ========================================== //==========================================================================...
import {AppOptions, AppOption} from './options.js' const { FormControlLabel, Card, CardContent, Tooltip, FormGroup, Switch, AppBar, Container, Toolbar, Typography, Button, ThemeProvider } = MaterialUI const {Alert} = MaterialUILab; const {createTheme, colors, withStyles} = MaterialUI; const s...
'use strict'; const fs = require('fs'); const os = require('os'); const ini = require('ini'); const yaml = require('yaml'); const admZip = require('adm-zip'); const xmlParser = require('fast-xml-parser'); const logger = require('log4js').getLogger(); const xmlParseOption = require('../core/config/xml-parse.config'); co...
/*=======================PublishCatelog2.js===========================*/ j$(function () { j$(".pojcheck").each(function () { if (j$(this).attr("checked")) { j$(this).button({ icons: { secondary: 'ui-icon-check'} }); } else { j$(this).button({ icons: { secondary: 'ui-icon-can...
const co = require('co'); const dotenv = require('dotenv').load(); // 送 Request 用 ( 也要安裝 request package ) const request = require('request-promise'); // 載入 crypto ,等下要加密 // const crypto = require('crypto'); const Linebot = require('./../lib/linebot.js'); const mongoLab = require('./../lib/mongoLab.js'); const linebotU...