text
stringlengths
8.5k
48.7k
/* Licensed under the Apache License, Version 2.0 (the "License") http://www.apache.org/licenses/LICENSE-2.0 */ var Settings = (function() { const key = 'openmeetings'; function _load() { let s = {}; try { s = JSON.parse(localStorage.getItem(key)) || s; } catch (e) { // no-op } return s; } function ...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); var _classCallCheck2 = _i...
/* * Copyright (c) 2012, Intel Corporation. * * This program is licensed under the terms and conditions of the * Apache License, version 2.0. The full text of the Apache License is at * http://www.apache.org/licenses/LICENSE-2.0 * */ function mString(i) { return i+""; } // TODO: // remove this temporary defin...
import React from 'react'; import { PropTypes } from 'prop-types'; import { Alert, Button, Card, Col, Form, Modal } from 'react-bootstrap'; import axios from 'axios'; import libphonenumber from 'google-libphonenumber'; import * as yup from 'yup'; import Select from 'react-select'; import InfoTooltip from '../../util/...
import version from '../../_version'; import options from './_options'; import configs from './_configs'; import translate from './translations/translate'; import * as DOM from '../../_modules/dom'; import * as i18n from '../../_modules/i18n'; import * as media from '../../_modules/matchmedia'; import { type, extend, t...
/******************************************* * MORSE CODE ANALYZER * * Original Code by JinH (https://jinh.kr) * *******************************************/ function analyze(lang, dit, dah) { var j, k, output = ''; var text = $('#input_textarea').val(); var space_char = new RegExp($('#sp...
const fs = require('fs'); const tl = require('azure-pipelines-task-lib/task'); const path = require('path'); const execSync = require('child_process').execSync; const toolLib = require('azure-pipelines-tool-lib/tool'); const credentialsHandler = require('typed-rest-client/Handlers'); const fileName = getCliExecutableN...
const Logger = require('../extensions/Logger') const { sleep,IS_NODE } = require('../Helpers') const errors = require('../errors') const MemorySession = require('../sessions/Memory') const Helpers = require('../Helpers') const { BinaryWriter } = require('../extensions') const utils = require('../Utils') const Session =...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.StartCommand = void 0; const cli_framework_1 = require("@ionic/cli-framework"); const string_1 = require("@ionic/cli-framework/utils/string"); const utils_fs_1 = require("@ionic/utils-fs"); const utils_terminal_1 = require("@ionic/util...
// Import React import classNames from 'classnames'; import React, { Component } from 'react'; import PropTypes from 'prop-types'; // Material UI includes import Avatar from '@material-ui/core/Avatar'; import Button from '@material-ui/core/Button'; import Card from '@material-ui/core/Card'; import CardActions from '@m...
// GWS Client Builder let browserSync = require('browser-sync'); let chalk = require('chalk'); let child_process = require('child_process'); let fs = require('fs'); let ini = require('ini'); let path = require('path'); let terser = require('terser'); let jadzia = require('./jadzia'); // const DOC = ` GWS Client Bu...
'use strict'; const net = require('net'); const utils = require('@iobroker/adapter-core'); const adapterName = require('./package.json').name.split('.').pop(); const dec = new (require('./js/decoder.js'))(); const enc = new (require('./js/encoder.js'))(); const datapoints = require('./j...
/* * ... */ /* * Administrative Gender (HL7 V3) * http://phinvads.cdc.gov/vads/ViewValueSet.action?id=8DE75E17-176B-DE11-9B52-0015173D1785 * OID: 2.16.840.1.113883.1.11.1 */ var GENDER_MAP = { 'F': 'female', 'M': 'male', 'UN': 'undifferentiated' }; /* * Marital Status (HL7) * http://phinvads.c...
import RouteRecognizer from 'route-recognizer'; import { Promise } from 'rsvp'; import { logAbort, Transition } from './transition'; import TransitionAbortedError from './transition-aborted-error'; import NamedTransitionIntent from './transition-intent/named-transition-intent'; import URLTransitionIntent from './transi...
//Carga de Usuarios let btnAgregar = document.getElementById('btnAgregar'), btnUpdate = document.getElementById('btnUpdate'), btnCargaTblMes = document.getElementById('btnCargaMes'), formulario = document.getElementById('formulario'), tabla = document.getElementById('tabla'), loader = document.getEl...
/** * Module dependencies. */ var Post = require('../models/post'), Comment = require('../models/comment'), fs = require('fs'), path = require('path'), util = require('util'), contentPath = path.normalize(__dirname + '/../public/articles/'), HttpError = require('../httperror'), User = require('../mode...
/********************************************************* * Enhanced Color Picker for PsycHo [http://psyc.horm.org] * By <NAME> [http://i.horm.org] * * Based on: * + 4096 Color Wheel Version 2.1 by <NAME> [http://jemimap.ficml.org/style/color/wheel.html] * + EasyRGB Conversion algorithms [http://www.easyrg...
import { config, videoQualityMap } from '../ui/config' import { Message, MessageBox } from '../ui/message' import { ajax } from './ajax' import { api } from './api' import { video } from './video' import { JSZip } from './runtime-lib' function rpc_type() { if (config.rpc_domain.match('https://') || config.rpc_doma...
// NOTE: this needs to not have any imports, as we cannot use the ES6 import syntax here export function toProperUnits(beamParameters, IP) { return { "energy": beamParameters.energy, // GeV "particle_mass": beamParameters.particle_mass, // GeV "emittance": beamParameters.emittance, // m ...
const test = require('tape') const sinon = require('sinon') const MockCrock = require('../test/MockCrock') const helpers = require('../test/helpers') const bindFunc = helpers.bindFunc const curry = require('../core/curry') const compose = curry(require('../core/compose')) const isArray = require('../core/isArray') co...
/* * ::718604! * * Copyright(C) November 20, 2014 U.S. Food and Drug Administration * Authors: Dr. <NAME> (1), Dr. <NAME> (2), et al * Affiliation: Food and Drug Administration (1), George Washington University (2) * * All rights Reserved. * * The MIT License (MIT) * * Permission is hereby granted, free...
// /** * Copyright 2017 IBM Corp. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the 'License'); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
bingo=false var polyfill=document.createElement('script'); polyfill.src="url-polyfill.min.js" document.head.appendChild(polyfill) speedReQ=[1,2,3] phaseReQ=["Paint","Bonus"] function requeue(q) { q.push(q.shift()) } function lightgrey(r,g,b) { r=parseInt(r);g=parseInt(g);b=parseInt(b); threshold=8; r...
/* eslint-disable no-console */ /* * Thai National ID Card reader in NodeJS * * Linux * apt install libpcsclite-dev libpcsclite1 pcscd build-essential * * Windows * yarn global add windows-build-tools * * All OS * yarn add --dev eslint eslint-config-standard eslint-plugin-import eslint-plugin-node eslint-plugin-promise...
//----Electron window---- /* const {app, BrowserWindow} = require('electron'); var window; app.on('ready', CreateWindow); var device; function CreateWindow() { app.commandLine.appendSwitch('ignore-gpu-blacklist'); app.on('window-all-closed', () => { if(process.platform !== "darwin"){ app.q...
function calculate() // entry function from form to determine whether money will run out or not and if not, what assets will be left after time period { var equity_percentage = parseInt(document.getElementById("equity_percentage").value); var bond_percentage = parseInt(docu...
/** * simple timezone and datetime adjustment functions * * Copyright (C) 2016-2020 <NAME> * Licensed under the Apache License, Version 2.0 * * 2016-10-11 - Started. */ 'use strict'; var child_process = require('child_process'); var phpdate = require('phpdate-js'); var qprintf = require('qprintf'); var sprintf...
'use strict'; /** * @license * Copyright SOAJS All Rights Reserved. * * Use of this source code is governed by an Apache license that can be * found in the LICENSE file at the root of this repository */ const os = require('os'); const fs = require('fs'); const coreModules = require("soajs.core.modules"); const...
//backyard 1 /*! * js for stakan * version: 1 (2013-05-03) * version: 2 (2013-05-08), apiContext, toggleStakeholderContacts() * version 3 (2013-05-26), fix proti na iPhone někdy zdvojovalo přidanou description * v.4 (2013-05-28), ajaxsave i pro select, zakomentovány console.log, aby fungovalo na Lumia 800 */ 'use...
import extend from '../../utils/extend'; import nativeMethods from '../native-methods'; import * as browserUtils from '../../utils/browser'; import * as domUtils from '../../utils/dom'; import * as eventUtils from '../../utils/event'; import { getOffsetPosition, offsetToClientCoords } from '../../utils/position'; impor...
// // BAPI_PO_GET_LIST exception: 2 struct: 0 table: 5 var: 3 // // abap 2.3.0 at: 2021-04-23 11:59:34 // // prettier-ignore const parameters = { // IMPORT PARAMETERS // ITEMS_FOR_RELEASE : 'X', // CHAR (1) Indicator: Display Purchase Orders Awaiting Release Only // REL_CODE : ...
import React, { Component } from 'react'; import Input from 'components/Input/Input'; import { Route, Switch, Link, withRouter } from 'react-router-dom'; import { withStyles } from '@material-ui/styles'; import Database from "variables/Database.js"; import { toast, ToastContainer } from 'react-toastify'; import { Edi...
/** * Get how many hack tools we have and return the value * @param {import(".").NS} ns NetScript **/ export function hackTools(ns) { var programs = ["brutessh.exe", "ftpcrack.exe", "relaysmtp.exe", "httpworm.exe", "sqlinject.exe"]; var numTools = 0; for (let prog of programs) { if (ns.fileExists(prog)) { ...
"use strict"; const {NodeVM,VMScript} = require("vm2"); const fs = require("fs"); const util = require('util'); const aws = require('aws-sdk'); // const serialize = require('serialize-javascript-w-cycles'); // const zlib = require('zlib'); // const gzip = util.promisify(zlib.gzip); const _ = require('lodash'); const ...
//常用功能 import consts from '../common/consts.js'; import storage from '../common/storage.js'; /** * @description 金额转换 * @param {Object} s * @param {Object} n */ function FormatMoney(s, n) { n = n > 0 && n <= 20 ? n : 2; s = parseFloat((s + "").replace(/[^\d\.-]/g, "")).toFixed(n) + ""; var l = s.split(".")[0].s...
"use strict"; var draw_quad_1 = require("./draw-quad"); var draw_with_blur_1 = require("./draw-with-blur"); var draw_images_aligned_1 = require("./draw-images-aligned"); var DEBUG = false; var DEBUG_MOUSE = false; var HANDLE_RADIUS = 0.1; var DEFAULT_MOVE_HANDLE_RADIUS = 0.25; var MAX_DRAG_DISTANCE_SQ = HANDLE_RADIUS *...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const lodash_1 = require("lodash"); const fsx = require("fs-extra"); const merge = require("merge2"); const path = require("path"); const os_1 = require("os"); const node_core_library_1 = require("@microsoft/node-core-library"); const ...
// Copyright 2012 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at: http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
var config = { apiKey: "<KEY>", authDomain: "mileagelogger-1755e.firebaseapp.com", databaseURL: "https://mileagelogger-1755e.firebaseio.com", projectId: "mileagelogger-1755e" //storageBucket: "bucket.appspot.com" }; firebase.initializeApp(config); // Database references var tripsRef = firebase.database().re...
// ==UserScript== // @name EH Quick Favourite // @author carry0987 // @namespace https://github.com/carry0987 // @support https://github.com/carry0987/UserJS/issues // @version 1.2.6 // @description Upgrades the gallery favourite button to allow quick favouriting of a gallery // @icon ...
"use strict"; var random_storage = []; //this.frame_rate = 1 / 25; // 1 / 5 för riktigt snabba dice function prepare_rnd(callback) { callback(); } function rnd() { return random_storage.length ? random_storage.pop() : Math.random(); } function create_shape(vertices, faces, radius) { var cv = new Array(v...
/* global translatePrompt:false */ class BaseUIClass { constructor(node = document.body) { this.node = node; this._rect = new DOMRect(); this.displayValue = "block"; } $E(s = "", context = this.node) { return context.querySelector(s); } $A(s = "", context = this.n...
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) { try { step(gene...
/* ************* Class CourseInfoExtractor *************** */ /* Two ways to run the unittests at the end: o Open file modulestoreJavaScriptUtilsTest.html in a browser and use the buttons, or o In the context of a Mongo shell: * comment both print() functions in the two unittests ...
// START OF Advanced SmartSource Data Collector TAG // Copyright (c) 1996-2007 WebTrends Inc. All rights reserved. // V8.0d // $DateTime: 2007/02/14 15:39:59 $ var gDomain="weblog.house.sina.com.cn"; // SDC Production Mode Domain var gDcsId="dcs0goach000000sdlbrd31a1_5s7f"; //domain judge,add by wumingli at 2011/11/2...
var img_path = 'https://unsplash.it/700/450?image=610';//图片暂不处理 TODO: var img_class = ['card-img-top img-fluid w-100','img-fluid w-100 mb-1','d-flex mr-3 avatar','d-flex mr-3 avatar'];//post图片 回复图片 头像 var card_class = ['card mb-3','card-body','card-title mb-1','card-text small','card-body py-2 small','card-body small...
'use strict'; var util = require('util'), path = require('path'); var osenv = require('osenv'), clone = require('clone'); var Promise = require('bluebird'), EventEmitter = require('events').EventEmitter; var // when running tests we don't use the current user's home directory home = global.testHome || osenv...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var Activity_1 = require("./Activity"); exports.Activity = Activity_1.Activity; var Airplay_1 = require("./Airplay"); exports.Airplay = Airplay_1.Airplay; var AlertCircle_1 = require("./AlertCircle"); exports.AlertCircle = AlertCircle_1.AlertC...
var game = new Phaser.Game(800,600, Phaser.AUTO, 'phaser-demo', {preload: preload, create: create, update: update, render: render}); var player; var greenEnemies; var blueEnemies; var enemyBullets; var starfield; var cursors; var bank; var shipTrail; var explosions; var playerDeath; var bullets; var fireButton; var bu...
var Main = { onLoad: function() { widgetAPI.sendReadyEvent(); /** * JavaScript code Here! */ this.init(); log('Main.onLoad'); }, reload: function(){ window.setTimeout(function () { location.reload(true); }, 500); }, ke...
"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 __decorate = (this && this.__decorate) || fu...
// implementation based on: https://observablehq.com/@d3/parallel-sets, https://bl.ocks.org/micahstubbs/3c0cb0c0de021e0d9653032784c035e9 var divSankey = d3.select("body").append("div") .attr("class", "tooltip") .style("opacity", 0); /** * creates nodes and links for the Alluvial diagram based on the in...
/* * 广州丰石科技有限公司拥有本软件版权2017并保留所有权利。 * Copyright 2017, Guangzhou Rich Stone Data Technologies Company Limited, * All rights reserved. */ $(function () { /** 初始化租户列表 */ $("#jqGrid").jqGrid({ // url: baseURL + 'tenants?userId='+localStorage.getItem("userId"), url: baseURL + 'tenants?userId=' ...
/************************************************** * * * Author : Windy_sk * * Create : 2003-05-03 * * Modified: 2004-1-9 * * Email : <EMAIL> * * HomePage: ww...
Memory = "0"; // initialise memory variable Current = "0"; // and value of Display ("current" value) Operation = 0; // Records code for eg * / etc. MAXLENGTH = 30; // maximum number of digits before decimal! globalJRA = 0; globalJDec = 0; globalUserYearRA = 0; globalUserYearDec = 0; globalUserYear...
// Created by Vitruvian /* TURN ON THE LIGHT CREATED BY: VITRUVIAN APRIL 05, 2018 */ var playing = true; var levels = [ ["122_0","242_90","242_0","242_-90","141_0"], ["122_180","343_0","","232_0","141_90","","122_90","242_-90","141_-90"], ["x","343_90","232_-90","244_180","131_90","122_-90","24...
var name = ""; var room = null; var players = null; var isLeader = false; var id = null; var secret = null; var our_index = 0; var DisconnectedPrevState = null; var map = [...Array(3)].map(x => [...Array(3)].map(x => [...Array(3)].map(x => -1))); var cubes = [...Array(3)].map(x => [...Array(3)].map(x => [...Array(3)].m...
var pitch = null, volume = null, scrn_disp, source_value = -1, track_last_time = 0, pitch_value = 1e4, volume_value = 1e4, pitch_last_value = -1e4, volume_last_value = -1e4, pitch_set_last_value = -1e4, volume_set_last_value = -1e4, timer_counter = 0, pitch_delay_counter = 0,...
const selectElement = (element) => document.querySelector(element); const selectVariableCSS = (element) => getComputedStyle(document.body).getPropertyValue(element); const url_post_array_community = 'assets/php/create_array_community_points.php'; /** * wait time in millisecond * @type {Number} * @constant */ con...
"function" != typeof Object.create && (Object.create = function (e) { function t() { } return t.prototype = e, new t }); var ua = { toString: function () { return navigator.userAgent }, test: function (e) { return this.toString().toLowerCase().indexOf(e.toLowerCase()) > -1 } };...
function Utils(){ this.channelNamesOverlay = new ChannelNamesOverlayUtils(); }; Utils.prototype.queryForRetina = function(canvas) { // query for various pixel ratios var ctxt = canvas.getContext("2d"); var devicePixelRatio = window.devicePixelRatio || 1; var backingStoreRatio = ctxt.webkitBackingStorePi...
if (!Detector.webgl) Detector.addGetWebGLMessage(); let input = document.getElementById("fileInput"); let renderer = undefined; let camera = undefined; let controls = undefined; let shiftClick = false; let scene = undefined; let threeMesh = undefined; let threeGeometry = undefined; let wireframe = undefined; let pickR...
const { MessageAttachment } = require('discord.js'); const fs = require('fs'); var csv = require('jquery-csv'); const Canvas = require('canvas'); function GetAnswer() { var j = Math.floor(Math.random() * answers.length); return answers[j].toUpperCase(); } const ValidGuess = (guess) => { if (guess === unde...
// Copyright (C) 2021 The Android Open Source Project // // 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 applic...
#!/usr/bin/env node /* 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 Lice...
const webgl_replace = { ACTIVE_ATTRIBUTES: 35721, ACTIVE_ATTRIBUTE_MAX_LENGTH: 35722, ACTIVE_TEXTURE: 34016, ACTIVE_UNIFORMS: 35718, ACTIVE_UNIFORM_MAX_LENGTH: 35719, ALIASED_LINE_WIDTH_RANGE: 33902, ALIASED_POINT_SIZE_RANGE: 33901, ALPHA: 6406, ALPHA_BITS: 3413, ALWAYS: 519, ARRAY_BUFFER: 34962, ARRAY_BUFF...
document.getElementById('close').onmousedown = function(e) { e.preventDefault(); document.getElementById('info').style.display = 'none'; return false; }; var planet, canvas, ctx, water = [], trees = [], clouds = []; var settings = { atmosphere_height: 70, atmosphere_growth: 0.0002, atmosp...
// MARK: - This is internal tool, we are free to use the latest javascript, thus no need to do jshint, which is for legacy frontend stuff /* jshint ignore:start */ // MARK: - This has to pass through the gulp testing, so no var or for of loops, or any other modern features. var splitter = '-|-'; var startTime = new Da...
/* Copyright (c) 2017, Nordic Semiconductor ASA All 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, this list of conditions and ...
var ResourceEN = { longitude: 'Longitude (degrees)', latitude: 'Latitude (degrees)', altitude: 'Altitude (m)', login: 'Log in', logout: 'Log out', account: 'My account :', save: 'Save', exit: 'Exit', myMsg: 'My message :', uploadData: '...
/* * Copyright 2011 <NAME> http://azprogrammer.com */ dojo.require('mwe.box2d.Box'); dojo.require('mwe.box2d.CircleEntity'); dojo.require('mwe.box2d.RectangleEntity'); dojo.require('mwe.box2d.PolygonEntity'); dojo.require('mwe.GameCore'); dojo.require('mwe.ResourceManager')...
import React from "react"; import { Form, Icon as LegacyIcon } from '@ant-design/compatible'; import '@ant-design/compatible/assets/index.css'; import { CheckCircleFilled } from '@ant-design/icons'; import { Table, Steps, Input, Checkbox, Row, Col, Collapse, Button, message, Select, Spin, } from "...
// constants --------------------------------------------- // game state constants const cGameStopped = 0; const cGameStarted = 1; const cGamePaused = 2; const cMaxGameSpeed = 5; //points const T = "TopCenter"; const B = "BottomCenter"; const L = "LeftMiddle"; const R = "RightMiddle"; // globals ------------------...
import * as d3 from 'd3'; import dc from 'dc'; import crossfilter from 'crossfilter2'; import restructureJson from './restructureJson'; import getScreenBBox from './getScreenBBox'; dc.config.defaultColors(d3.schemePaired); // Object for holding methods to hold and manage the d3 code const CrossFilterController = { ...
/** * Copyright 2016 IBM Corp. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
export const getResistance = async imports => { const { require: { queueEvent, createTimer, isFirefox, isChrome, getBraveMode, braveBrowser, prototypeLies, hashMini, captureError, logTestResult } } = imports try { const timer = createTimer() await queueEvent(timer) const dat...
import React, { Component, Suspense } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { createSelector } from 'reselect'; import Loadable from '@loadable/component'; import { canFocusEditorSelector, consoleOutputSelector, executeChallenge, inAccessibilityModeSele...
const P = p => new Promise(p) const SECOND = 1000 const MINUTE = 60 * SECOND const HOUR = 60 * MINUTE const DAY = 24 * HOUR const WEEK = 7 * DAY const MONTH = 31 * DAY const YEAR = 366 * DAY const RP = value => P(resolve => { resolve(value) }) function UID(){ return "uid_" + Math.random().toString(36).substr...
var scene; var camera; var renderer; var stats; var geometry; var material; var line; var ambientLight; var loader; var cow; var cowMixer; var walkCow; var walkCowMixer; var cowStatus = "walkings"; // none standing walking cowCur = "walking"; // standing var milk; var loopAnim; var loopFallMilk; // 循环滴落奶 var grass; v...
/* eslint-env node, es6 */ /* eslint no-console:0, valid-jsdoc:0 */ /* eslint-disable func-style */ 'use strict'; const colors = require('colors'); const gulp = require('gulp'); const argv = require('yargs').argv; /** * Get the product version from build.properties. * The product version is used in license headers ...
"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]; ...
// lightbox_plus.js // == written by <NAME> <<EMAIL>> === // == Copyright (C) 2006 SimpleBoxes/SerendipityNZ Ltd. == /* Copyright (C) 2006 <NAME>/SimpleBoxes - http://serennz.cool.ne.jp/sb/ Copyright (C) 2006 SerendipityNZ - http://serennz.cool.ne.jp/snz/ This script is licensed under the Creative Commons Attribut...
/* -*- indent-tabs-mode: nil; js-indent-level: 4; js-indent-level: 4 -*- */ /* Copyright 2015-2017 <NAME>. Released under the MIT license. */ "use strict"; // Routines related to rendering tile images. var feetPerMeter = 3.28084; // Pixel height of tile images. var renderedTileHeight = 1000; // Variables for contr...
// Copyright (C) 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
import _get from "lodash/get"; import _has from "lodash/has"; import _isEqual from "lodash/isEqual"; var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && o...
/* Copyright (c) 2021 Red Hat, Inc. */ /* Copyright Contributors to the Open Cluster Management project */ 'use strict' import React from 'react' import { connect } from 'react-redux' import PropTypes from 'prop-types' import { AcmModal, AcmButton, AcmExpandableCard, } from '@open-cluster-management/ui-components' ...
// |jit-test| slow; // // Ray tracer. Traces a scene and optionally generates ppm output. // // The language is idiomatic JavaScript+PJS for the SpiderMonkey shell. // // You can run this as a benchmark or to generate output, which you // can compare against ray-expected.ppm. Control this with the // "benchmark" swit...
"use strict"; /** * Set up database. */ const logger = require("./logger"); const callEach = (arg, ...fns) => fns.forEach(fn => fn(arg)); // Create schema const createSchema = db => { db.prepare( ` CREATE TABLE IF NOT EXISTS "tbl_email" ( "email_id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT UNIQUE, "sent...
import { types, excludedKinds, detachedOwnerRefsAnnotation } from '../actions/resources' import { types as session } from '../actions/session' import yaml from 'js-yaml' import queryString from 'query-string' import { LOCATION_CHANGE } from 'react-router-redux' import { arraysEqual } from '../../comparators' import { k...
/* 作者:D.Young 主页:https://yyv.me/ github:https://github.com/5iux/sou 日期:2019-07-26 版权所有,请勿删除 ❶❷❸❹❺❻❼❽❾❿ 由 yeetime 修改 github:https://github.com/yeetime/sou2 日期:2019-12-13 */ // 搜索引擎列表【预设】 var se_list_preinstall = { '1': { id: 1, title: "百度", url: "https://www.baidu.com/s", name: "wd",...
import { registerBidder } from '../src/adapters/bidderFactory.js'; import { BANNER, VIDEO } from '../src/mediaTypes.js'; import { deepAccess, isFn, isStr, isNumber, isArray, isEmpty, isPlainObject, generateUUID, logInfo, logWarn } from '../src/utils.js'; import { config } from '../src/config.js'; import { Renderer } fr...
'use strict'; const fs = require('fs'); const util = require('util'); const path = require('path'); const axios = require("axios"); const colors = require("colors"); const crypto = require('crypto'); const hashmap = require('hashmap'); const cheerio = require("cheerio"); const execcmd = require('child_process').execFi...
// Copyright 2016 <NAME>. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the 'License'); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable la...
var renderer = { renderRoom: function (oLayerDraw, fLayerDraw, transparentLayerDraw, roomData) { for (var x = 0; x < GAME_WIDTH; x++) { for (var y = 0; y < GAME_HEIGHT; y++) { var tile = roomData.tiles[x][y]; if (tile == 0) { oLayerDraw(x, y, x % 2, (y % 2) + 3); } else if (tile == 1) { oLa...
// // Created by <NAME> on 18/6/21. // illuspas[a]gmail.com // Copyright (c) 2018 Nodemedia. All rights reserved. // const EventEmitter = require('events'); const Logger = require('./node_core_logger'); const Crypto = require('crypto'); const Url = require('url'); const Net = require('net'); const AMF = require('./...
/** * Copyright (c) 2018 <NAME> (Totally Information) * * 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...
/** * View Manage Scripting. */ // Set to Folio node ID when opening the edit panel. var fid = '', previewFileName = '', amazonDimensions = '', androidDimensions = '', appleDimensions = '', offsetIndex = 0, baseURL = "", pathToDir = ""; /** * Pull the account type from the Fol...
/* BSD 2-Clause License Copyright (c) 2021, <NAME> All 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, this list of co...
import { call, put, select, all, takeEvery } from 'redux-saga/effects'; import { fromJS, Set, Map } from 'immutable'; import tt from 'counterpart'; import getSlug from 'speakingurl'; import base58 from 'bs58'; import secureRandom from 'secure-random'; import { PrivateKey, PublicKey } from '@steemit/steem-js/lib/auth/ec...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * @module node-opcua-client-private */ // tslint:disable:unified-signatures const async = require("async"); const chalk_1 = require("chalk"); const events_1 = require("events"); const _ = require("underscore"); const node_opcua...